aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/quad-ls.adoc
blob: d855534c907e4fca6bfdea1afefd9b9a8e65d058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//## 14.1 Quad-Precision Load and Store Instructions

[wavedrom, ,svg]
....
{reg: [
  {bits: 7,  name: 'opcode',    attr: ['7','LOAD-FP']},
  {bits: 5,  name: 'rd',        attr: ['5','dest']},
  {bits: 3,  name: 'width',     attr: ['3','Q']},
  {bits: 5,  name: 'rs1',       attr: ['5','base']},
  {bits: 12, name: 'imm[11:0]', attr: ['12','offset[11:0]']},
]}
....

[wavedrom, ,svg]
....
{reg: [
  {bits: 7,  name: 'opcode',    attr: ['7','STORE-FP']},
  {bits: 5,  name: 'imm[4:0]',  attr: ['5','offset[4:0]']},
  {bits: 3,  name: 'width',     attr: ['3','Q']},
  {bits: 5,  name: 'rs1',       attr: ['5','base']},
  {bits: 5,  name: 'rs2',       attr: ['5','src']},
  {bits: 7, name: 'imm[11:5]', attr: ['7','offset[11:5]']},
]}
....