diff options
author | Bill Traynor <wmat@riscv.org> | 2022-10-27 16:41:15 -0400 |
---|---|---|
committer | Bill Traynor <wmat@riscv.org> | 2022-10-27 16:41:15 -0400 |
commit | 104c3f573cad6e822512b31a519d915e7ec863ef (patch) | |
tree | 0f8ca9473917498fe11b2189fa2781a66d09ab7e /src | |
parent | e8e7b9da5d022056bded3c46057b9d87253708a9 (diff) | |
download | riscv-isa-manual-104c3f573cad6e822512b31a519d915e7ec863ef.zip riscv-isa-manual-104c3f573cad6e822512b31a519d915e7ec863ef.tar.gz riscv-isa-manual-104c3f573cad6e822512b31a519d915e7ec863ef.tar.bz2 |
Added new float to int move wavedrom.
Added floating point to integer move instructions wavedrom.
Diffstat (limited to 'src')
-rw-r--r-- | src/images/wavedrom/flt-pt-to-int-move.adoc | 14 | ||||
-rw-r--r-- | src/zfh.adoc | 8 |
2 files changed, 16 insertions, 6 deletions
diff --git a/src/images/wavedrom/flt-pt-to-int-move.adoc b/src/images/wavedrom/flt-pt-to-int-move.adoc new file mode 100644 index 0000000..fdaae9d --- /dev/null +++ b/src/images/wavedrom/flt-pt-to-int-move.adoc @@ -0,0 +1,14 @@ +// 16.3 Instructions for moving bit patterns between floating-point and integer registers. + +[wavedrom, ,] +.... +{reg: [ + {bits: 7, name: 'opcode', attr: ['OP-FP','OP-FP'], type: 8}, + {bits: 5, name: 'rd', attr: ['dest','dest'], type: 2}, + {bits: 3, name: 'rm', attr: ['000','000'], type: 8}, + {bits: 5, name: 'rs1', attr: ['src','src'], type: 4}, + {bits: 5, name: 'rs2', attr: ['0','0'], type: 4}, + {bits: 2, name: 'fmt', attr: ['H','H'], type: 8}, + {bits: 5, name: 'funct5', attr: ['FMV.X.H','FMV.H.X'], type: 8}, +]} +....
\ No newline at end of file diff --git a/src/zfh.adoc b/src/zfh.adoc index dfbe089..e91f773 100644 --- a/src/zfh.adoc +++ b/src/zfh.adoc @@ -110,12 +110,8 @@ floating-point register _rd_, NaN-boxing the result. FMV.X.H and FMV.H.X do not modify the bits being transferred; in particular, the payloads of non-canonical NaNs are preserved. -R@F@R@R@F@R@O + -& & & & & & + -& & & & & & + -& 2 & 5 & 5 & 3 & 5 & 7 + -FMV.X.H & H & 0 & src & 000 & dest & OP-FP + -FMV.H.X & H & 0 & src & 000 & dest & OP-FP + +include::images/wavedrom/flt-pt-to-int-move.adoc[] +[[flt-pt-to-int-move]] === Half-Precision Floating-Point Compare Instructions |