From f45b6dfdb761dc244ff6548e74adf4e27f4d5bd8 Mon Sep 17 00:00:00 2001 From: Colin Schmidt Date: Thu, 1 Nov 2018 09:13:10 -0700 Subject: Add vfinsert and vfextract --- opcodes-v | 2 ++ parse-opcodes | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/opcodes-v b/opcodes-v index 340bfad..d7c9d80 100644 --- a/opcodes-v +++ b/opcodes-v @@ -148,6 +148,7 @@ 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). vextract m rd vs1 rs2 27..25=0 31..28=10 14=1 6..0=0x57 +vfextract m rd vs1 rs2 27..25=1 31..28=10 14=1 6..0=0x57 vmfirst m rd vs1 27..25=7 31..28=10 14=1 6..0=0x57 24..20=0 vmpop m rd vs1 27..25=7 31..28=10 14=1 6..0=0x57 24..20=1 @@ -158,6 +159,7 @@ 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 # 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 7618dc4..44e3480 100755 --- a/parse-opcodes +++ b/parse-opcodes @@ -955,7 +955,7 @@ 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', 'vinsert', 'vmerge', 'vselect', 'vslide', 'vrgather') + 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('vpopc', 'vredsum', 'vredmax', 'vredmin') print_vec_insts('vaddi', 'vsli', 'vsrli', 'vsrai', 'vclipi', 'vandi', 'vori', 'vxori') -- cgit v1.1