aboutsummaryrefslogtreecommitdiff
path: root/opcodes-rv64zfh
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2020-03-25 12:28:23 -0700
committerAndrew Waterman <andrew@sifive.com>2020-03-25 12:28:35 -0700
commitaf61a81535e6ee3fa486057f0d2dbca04a8bd5b7 (patch)
tree228ebedbe40fd98e58d430cfa87323d37b36160c /opcodes-rv64zfh
parent0ce3ec1f7d82d5449ba5d00302270076f6cc34f6 (diff)
downloadriscv-opcodes-zfh.zip
riscv-opcodes-zfh.tar.gz
riscv-opcodes-zfh.tar.bz2
Add tentative RV32Zfh encodingzfh
This is just a placeholder; it may well change before standardization.
Diffstat (limited to 'opcodes-rv64zfh')
-rw-r--r--opcodes-rv64zfh7
1 files changed, 7 insertions, 0 deletions
diff --git a/opcodes-rv64zfh b/opcodes-rv64zfh
new file mode 100644
index 0000000..5cc9f25
--- /dev/null
+++ b/opcodes-rv64zfh
@@ -0,0 +1,7 @@
+# RV64Zfh additions to RV32Zfh
+
+fcvt.l.h rd rs1 24..20=2 31..27=0x18 rm 26..25=2 6..2=0x14 1..0=3
+fcvt.lu.h rd rs1 24..20=3 31..27=0x18 rm 26..25=2 6..2=0x14 1..0=3
+
+fcvt.h.l rd rs1 24..20=2 31..27=0x1A rm 26..25=2 6..2=0x14 1..0=3
+fcvt.h.lu rd rs1 24..20=3 31..27=0x1A rm 26..25=2 6..2=0x14 1..0=3