aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/double-ls.adoc
blob: 0c6f4ddf21a4ee5f80881ac98181a5fc44a866af (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
27
28
//# "D" Standard Extension for Double-Precision Floating-Point, Version 2.2
//## 13.3 Double-Precision Load and Store Instructions

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

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