aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Schmidt <colins@eecs.berkeley.edu>2018-10-29 19:21:12 -0700
committerColin Schmidt <colins@eecs.berkeley.edu>2018-10-29 19:21:12 -0700
commitf4d33eb18c572893ab0519999365ac4b196b2c27 (patch)
tree59b2df30ccbec8d0487fc0183e71b51859f5c49e
parentc948773153456578e216a1218d6d1a88571769e8 (diff)
downloadriscv-opcodes-f4d33eb18c572893ab0519999365ac4b196b2c27.zip
riscv-opcodes-f4d33eb18c572893ab0519999365ac4b196b2c27.tar.gz
riscv-opcodes-f4d33eb18c572893ab0519999365ac4b196b2c27.tar.bz2
Remove fp bitmoves
The bits can be reinterpreted as ints with the normal integer ops
-rw-r--r--opcodes-v8
-rwxr-xr-xparse-opcodes16
2 files changed, 8 insertions, 16 deletions
diff --git a/opcodes-v b/opcodes-v
index 6a55ae6..3006b7b 100644
--- a/opcodes-v
+++ b/opcodes-v
@@ -209,12 +209,10 @@ vfcvt.s.w m vd vs1 24..20=0 31..27=0x0E 26..25=0 14=0 6..0=0x57
vfcvt.s.wu m vd vs1 24..20=1 31..27=0x0E 26..25=0 14=0 6..0=0x57
vfcvt.s.l m vd vs1 24..20=2 31..27=0x0E 26..25=0 14=0 6..0=0x57
vfcvt.s.lu m vd vs1 24..20=3 31..27=0x0E 26..25=0 14=0 6..0=0x57
-vfmv.w.x m vd vs1 24..20=4 31..27=0x0E 26..25=0 14=0 6..0=0x57
vfcvt.w.s m vd vs1 24..20=0 31..27=0x0F 26..25=0 14=0 6..0=0x57
vfcvt.wu.s m vd vs1 24..20=1 31..27=0x0F 26..25=0 14=0 6..0=0x57
vfcvt.l.s m vd vs1 24..20=2 31..27=0x0F 26..25=0 14=0 6..0=0x57
vfcvt.lu.s m vd vs1 24..20=3 31..27=0x0F 26..25=0 14=0 6..0=0x57
-vfmv.x.w m vd vs1 24..20=4 31..27=0x0F 26..25=0 14=0 6..0=0x57
vfadd.d m vd vs1 vs2 31..27=0x00 26..25=1 14=0 6..0=0x57
vfsub.d m vd vs1 vs2 31..27=0x01 26..25=1 14=0 6..0=0x57
@@ -238,12 +236,10 @@ vfcvt.d.w m vd vs1 24..20=0 31..27=0x0E 26..25=1 14=0 6..0=0x57
vfcvt.d.wu m vd vs1 24..20=1 31..27=0x0E 26..25=1 14=0 6..0=0x57
vfcvt.d.l m vd vs1 24..20=2 31..27=0x0E 26..25=1 14=0 6..0=0x57
vfcvt.d.lu m vd vs1 24..20=3 31..27=0x0E 26..25=1 14=0 6..0=0x57
-vfmv.d.x m vd vs1 24..20=4 31..27=0x0E 26..25=1 14=0 6..0=0x57
vfcvt.w.d m vd vs1 24..20=0 31..27=0x0F 26..25=1 14=0 6..0=0x57
vfcvt.wu.d m vd vs1 24..20=1 31..27=0x0F 26..25=1 14=0 6..0=0x57
vfcvt.l.d m vd vs1 24..20=2 31..27=0x0F 26..25=1 14=0 6..0=0x57
vfcvt.lu.d m vd vs1 24..20=3 31..27=0x0F 26..25=1 14=0 6..0=0x57
-vfmv.x.d m vd vs1 24..20=4 31..27=0x0F 26..25=1 14=0 6..0=0x57
vfcvt.s.d m vd vs1 24..20=0 31..27=0x10 26..25=1 14=0 6..0=0x57
vfcvt.d.s m vd vs1 24..20=1 31..27=0x10 26..25=1 14=0 6..0=0x57
@@ -269,12 +265,10 @@ vfcvt.h.w m vd vs1 24..20=0 31..27=0x0E 26..25=2 14=0 6..0=0x57
vfcvt.h.wu m vd vs1 24..20=1 31..27=0x0E 26..25=2 14=0 6..0=0x57
vfcvt.h.l m vd vs1 24..20=2 31..27=0x0E 26..25=2 14=0 6..0=0x57
vfcvt.h.lu m vd vs1 24..20=3 31..27=0x0E 26..25=2 14=0 6..0=0x57
-vfmv.h.x m vd vs1 24..20=4 31..27=0x0E 26..25=2 14=0 6..0=0x57
vfcvt.w.h m vd vs1 24..20=0 31..27=0x0F 26..25=2 14=0 6..0=0x57
vfcvt.wu.h m vd vs1 24..20=1 31..27=0x0F 26..25=2 14=0 6..0=0x57
vfcvt.l.h m vd vs1 24..20=2 31..27=0x0F 26..25=2 14=0 6..0=0x57
vfcvt.lu.h m vd vs1 24..20=3 31..27=0x0F 26..25=2 14=0 6..0=0x57
-vfmv.x.h m vd vs1 24..20=4 31..27=0x0F 26..25=2 14=0 6..0=0x57
vfcvt.s.h m vd vs1 24..20=0 31..27=0x10 26..25=2 14=0 6..0=0x57
vfcvt.h.s m vd vs1 24..20=1 31..27=0x10 26..25=2 14=0 6..0=0x57
@@ -300,11 +294,9 @@ vfcvt.q.w m vd vs1 24..20=0 31..27=0x0E 26..25=3 14=0 6..0=0x57
vfcvt.q.wu m vd vs1 24..20=1 31..27=0x0E 26..25=3 14=0 6..0=0x57
vfcvt.q.l m vd vs1 24..20=2 31..27=0x0E 26..25=3 14=0 6..0=0x57
vfcvt.q.lu m vd vs1 24..20=3 31..27=0x0E 26..25=3 14=0 6..0=0x57
-vfmv.q.x m vd vs1 24..20=4 31..27=0x0E 26..25=3 14=0 6..0=0x57
vfcvt.w.q m vd vs1 24..20=0 31..27=0x0F 26..25=3 14=0 6..0=0x57
vfcvt.wu.q m vd vs1 24..20=1 31..27=0x0F 26..25=3 14=0 6..0=0x57
vfcvt.l.q m vd vs1 24..20=2 31..27=0x0F 26..25=3 14=0 6..0=0x57
vfcvt.lu.q m vd vs1 24..20=3 31..27=0x0F 26..25=3 14=0 6..0=0x57
-vfmv.x.q m vd vs1 24..20=4 31..27=0x0F 26..25=3 14=0 6..0=0x57
vfcvt.s.q m vd vs1 24..20=0 31..27=0x10 26..25=3 14=0 6..0=0x57
vfcvt.q.s m vd vs1 24..20=1 31..27=0x10 26..25=3 14=0 6..0=0x57
diff --git a/parse-opcodes b/parse-opcodes
index 6722219..c09ee59 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -967,8 +967,8 @@ def make_vector_adoc_table():
print_vec_insts('vfredsum.s', 'vfredmax.s', 'vfredmin.s')
print_vec_insts('vfsgnj.s', 'vfsgnjn.s', 'vfsgnjx.s', 'vfmin.s', 'vfmax.s')
print_vec_insts('vfeq.s', 'vfne.s', 'vflt.s', 'vfle.s', 'vfclass.s')
- print_vec_insts('vfcvt.w.s', 'vfcvt.wu.s', 'vfmv.x.w')
- print_vec_insts('vfcvt.s.w', 'vfcvt.s.wu', 'vfmv.w.x')
+ print_vec_insts('vfcvt.w.s', 'vfcvt.wu.s')
+ print_vec_insts('vfcvt.s.w', 'vfcvt.s.wu')
print_vec_insts('vfcvt.l.s', 'vfcvt.lu.s')
print_vec_insts('vfcvt.s.l', 'vfcvt.s.lu')
print_vec_footer()
@@ -981,8 +981,8 @@ def make_vector_adoc_table():
print_vec_insts('vfcvt.s.d', 'vfcvt.d.s')
print_vec_insts('vfcvt.w.d', 'vfcvt.wu.d')
print_vec_insts('vfcvt.d.w', 'vfcvt.d.wu')
- print_vec_insts('vfcvt.l.d', 'vfcvt.lu.d', 'vfmv.x.d')
- print_vec_insts('vfcvt.d.l', 'vfcvt.d.lu', 'vfmv.d.x')
+ print_vec_insts('vfcvt.l.d', 'vfcvt.lu.d')
+ print_vec_insts('vfcvt.d.l', 'vfcvt.d.lu')
print_vec_footer()
print_vec_header()
print_vec_insts('vfmadd.h', 'vfmsub.h')
@@ -993,8 +993,8 @@ def make_vector_adoc_table():
print_vec_insts('vfcvt.s.h', 'vfcvt.h.s')
print_vec_insts('vfcvt.w.h', 'vfcvt.wu.h')
print_vec_insts('vfcvt.h.w', 'vfcvt.h.wu')
- print_vec_insts('vfcvt.l.h', 'vfcvt.lu.h', 'vfmv.x.h')
- print_vec_insts('vfcvt.h.l', 'vfcvt.h.lu', 'vfmv.h.x')
+ print_vec_insts('vfcvt.l.h', 'vfcvt.lu.h')
+ print_vec_insts('vfcvt.h.l', 'vfcvt.h.lu')
print_vec_footer()
print_vec_header()
print_vec_insts('vfmadd.q', 'vfmsub.q')
@@ -1005,8 +1005,8 @@ def make_vector_adoc_table():
print_vec_insts('vfcvt.s.q', 'vfcvt.q.s')
print_vec_insts('vfcvt.w.q', 'vfcvt.wu.q')
print_vec_insts('vfcvt.q.w', 'vfcvt.q.wu')
- print_vec_insts('vfcvt.l.q', 'vfcvt.lu.q', 'vfmv.x.q')
- print_vec_insts('vfcvt.q.l', 'vfcvt.q.lu', 'vfmv.q.x')
+ print_vec_insts('vfcvt.l.q', 'vfcvt.lu.q')
+ print_vec_insts('vfcvt.q.l', 'vfcvt.q.lu')
print_vec_footer()
print_vec_header()
#print_subtitle('RV32V Standard Extension (cont.)', 9)