aboutsummaryrefslogtreecommitdiff
path: root/src/images/wavedrom/spfloat.adoc
blob: 9384544a5a67e9b3a84f9bee02927dddf16ad239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//## 12.6 Single-Precision Floating-Point Computational Instructions

[wavedrom, ,svg]
....
{reg: [
  {bits: 7, name: 'opcode', attr: ['7','OP-FP','OP-FP','OP-FP','OP-FP'],    type: 8},
  {bits: 5, name: 'rd',     attr: ['5','dest','dest','dest','dest'],     type: 2},
  {bits: 3, name: 'rm',  attr: ['3','RM', 'RM', 'RM','MIN/MAX'],       type: 8},
  {bits: 5, name: 'rs1',    attr: ['5','src1', 'src1', 'src', 'src1'],     type: 4},
  {bits: 5, name: 'rs2',    attr: ['5','src2', 'src2', '0', 'src2'],     type: 4},
  {bits: 2, name: 'fmt',    attr: ['2','S', 'S', 'S', 'S'],        type: 8},
  {bits: 5, name: 'funct5', attr: ['5', 'FADD/FSUB', 'FMUL/FDIV', 'FSQRT','FMIN-MAX'], type: 8},
]}
....