aboutsummaryrefslogtreecommitdiff
path: root/opcodes-v
diff options
context:
space:
mode:
authorColin Schmidt <colins@eecs.berkeley.edu>2018-10-30 20:46:12 -0700
committerColin Schmidt <colins@eecs.berkeley.edu>2018-10-30 20:46:12 -0700
commit4cfdce39025d0b1946b7d04ed9229330aa1d8649 (patch)
tree3de3740fa0d9f336792f289aa05bf95d2f204cfb /opcodes-v
parentf4d33eb18c572893ab0519999365ac4b196b2c27 (diff)
downloadriscv-opcodes-4cfdce39025d0b1946b7d04ed9229330aa1d8649.zip
riscv-opcodes-4cfdce39025d0b1946b7d04ed9229330aa1d8649.tar.gz
riscv-opcodes-4cfdce39025d0b1946b7d04ed9229330aa1d8649.tar.bz2
Add logical shifts to follow spec
Diffstat (limited to 'opcodes-v')
-rw-r--r--opcodes-v8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes-v b/opcodes-v
index 3006b7b..340bfad 100644
--- a/opcodes-v
+++ b/opcodes-v
@@ -140,9 +140,10 @@ vmulhsu m vd vs1 vs2 27..25=7 31..28=8 14=1 6..0=0x57
# group 31..28=9
vsl m vd vs1 vs2 27..25=0 31..28=9 14=1 6..0=0x57
-vsr m vd vs1 vs2 27..25=1 31..28=9 14=1 6..0=0x57
-vor m vd vs1 vs2 27..25=2 31..28=9 14=1 6..0=0x57
-vand m vd vs1 vs2 27..25=3 31..28=9 14=1 6..0=0x57
+vsrl m vd vs1 vs2 27..25=1 31..28=9 14=1 6..0=0x57
+vsra m vd vs1 vs2 27..25=2 31..28=9 14=1 6..0=0x57
+vor m vd vs1 vs2 27..25=3 31..28=9 14=1 6..0=0x57
+vand m vd vs1 vs2 27..25=4 31..28=9 14=1 6..0=0x57
# group 31..28=10 includes instructions that write xd
# (and may also read xs1 and/or xs2).
@@ -165,7 +166,6 @@ vselect m vd vs1 vs2 27..25=2 31..28=12 14=1 6..0=0x57
# group 31..28=12, 27..25=7 is for single-argument instructions.
vclass m vd vs1 27..25=7 31..28=12 14=1 6..0=0x57 24..20=0
vpopc m vd vs1 27..25=7 31..28=12 14=1 6..0=0x57 24..20=1
-vsqrt m vd vs1 27..25=7 31..28=12 14=1 6..0=0x57 24..20=2
vneg m vd vs1 27..25=7 31..28=12 14=1 6..0=0x57 24..20=3
vredsum m vd vs1 27..25=7 31..28=12 14=1 6..0=0x57 24..20=4
vredmax m vd vs1 27..25=7 31..28=12 14=1 6..0=0x57 24..20=5