aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Schmidt <colins@eecs.berkeley.edu>2018-11-01 09:56:52 -0700
committerColin Schmidt <colins@eecs.berkeley.edu>2018-11-01 09:56:52 -0700
commit7c31df9d840f5ee0c65a380855f6d7c4d3e687da (patch)
tree35c5976a16de8a8776b400a9e62fb940adc6d4c8
parentf45b6dfdb761dc244ff6548e74adf4e27f4d5bd8 (diff)
downloadriscv-opcodes-7c31df9d840f5ee0c65a380855f6d7c4d3e687da.zip
riscv-opcodes-7c31df9d840f5ee0c65a380855f6d7c4d3e687da.tar.gz
riscv-opcodes-7c31df9d840f5ee0c65a380855f6d7c4d3e687da.tar.bz2
Split vslide to vslideup/down
-rw-r--r--opcodes-v13
-rwxr-xr-xparse-opcodes2
2 files changed, 8 insertions, 7 deletions
diff --git a/opcodes-v b/opcodes-v
index d7c9d80..672dccd 100644
--- a/opcodes-v
+++ b/opcodes-v
@@ -154,12 +154,13 @@ vmpop m rd vs1 27..25=7 31..28=10 14=1 6..0=0x57 24..20=1
# group 31..28=11 includes instructions that read xs1 and/or xs2,
# but do not write xd.
-vclip m vd vs1 rs2 27..25=0 31..28=11 14=1 6..0=0x57
-vcvt m vd vs1 rs2 27..25=1 31..28=11 14=1 6..0=0x57
-vslide m vd vs1 rs2 27..25=2 31..28=11 14=1 6..0=0x57
-vinsert m vd rs1 rs2 27..25=4 31..28=11 14=1 6..0=0x57
-vrgather m vd vs1 vs2 27..25=5 31..28=11 14=1 6..0=0x57
-vfinsert m vd rs1 rs2 27..25=6 31..28=11 14=1 6..0=0x57
+vclip m vd vs1 rs2 27..25=0 31..28=11 14=1 6..0=0x57
+vcvt m vd vs1 rs2 27..25=1 31..28=11 14=1 6..0=0x57
+vslideup m vd vs1 rs2 27..25=2 31..28=11 14=1 6..0=0x57
+vslidedown m vd vs1 rs2 27..25=3 31..28=11 14=1 6..0=0x57
+vinsert m vd rs1 rs2 27..25=4 31..28=11 14=1 6..0=0x57
+vrgather m vd vs1 vs2 27..25=5 31..28=11 14=1 6..0=0x57
+vfinsert m vd rs1 rs2 27..25=6 31..28=11 14=1 6..0=0x57
# group 31..28=12
vxor m vd vs1 vs2 27..25=0 31..28=12 14=1 6..0=0x57
diff --git a/parse-opcodes b/parse-opcodes
index 44e3480..2c8c43d 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -955,8 +955,8 @@ def make_vector_adoc_table():
print_vec_header()
print_vec_insts('vadd', 'vsub', 'vsl', 'vsrl', 'vsra', 'vand', 'vor', 'vxor', 'vneg')
print_vec_insts('vseq', 'vsne', 'vslt', 'vsge', 'vsltu', 'vsgeu')
- print_vec_insts('vclip', 'vcvt', 'vmpop', 'vmfirst', 'vextract', 'vfextract', 'vinsert', 'vfinsert', 'vmerge', 'vselect', 'vslide', 'vrgather')
print_vec_insts('vdiv', 'vrem', 'vmul', 'vmulh', 'vmulhu', 'vmulhsu')
+ print_vec_insts('vclip', 'vcvt', 'vmpop', 'vmfirst', 'vextract', 'vfextract', 'vinsert', 'vfinsert', 'vmerge', 'vselect', 'vslideup', 'vslidedown', 'vrgather')
print_vec_insts('vpopc', 'vredsum', 'vredmax', 'vredmin')
print_vec_insts('vaddi', 'vsli', 'vsrli', 'vsrai', 'vclipi', 'vandi', 'vori', 'vxori')
print_vec_insts('vconfig')