aboutsummaryrefslogtreecommitdiff
path: root/rv64_zfh
diff options
context:
space:
mode:
Diffstat (limited to 'rv64_zfh')
-rw-r--r--rv64_zfh7
1 files changed, 7 insertions, 0 deletions
diff --git a/rv64_zfh b/rv64_zfh
new file mode 100644
index 0000000..5cc9f25
--- /dev/null
+++ b/rv64_zfh
@@ -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