diff options
author | Colin Schmidt <colins@eecs.berkeley.edu> | 2018-11-04 11:24:57 -0800 |
---|---|---|
committer | Colin Schmidt <colins@eecs.berkeley.edu> | 2018-11-04 11:24:57 -0800 |
commit | 0254119b270909cbafdd7d838c989340e166a2c5 (patch) | |
tree | 75334625a94b99511fc98369a896fca963447a51 | |
parent | fe45aa44cf53dbcda754af51eb426456382dc5f3 (diff) | |
download | riscv-opcodes-0254119b270909cbafdd7d838c989340e166a2c5.zip riscv-opcodes-0254119b270909cbafdd7d838c989340e166a2c5.tar.gz riscv-opcodes-0254119b270909cbafdd7d838c989340e166a2c5.tar.bz2 |
Add vsetvl to table and encoding
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | opcodes-v | 5 | ||||
-rwxr-xr-x | parse-opcodes | 2 |
3 files changed, 5 insertions, 4 deletions
@@ -12,7 +12,7 @@ install: $(ISASIM_H) $(PK_H) $(FESVR_H) $(ENV_H) $(OPENOCD_H) inst.chisel instr- $(ISASIM_H) $(PK_H) $(FESVR_H) $(ENV_H) $(OPENOCD_H): $(ALL_OPCODES) parse-opcodes encoding.h cp encoding.h $@ - cat opcodes opcodes-rvc-pseudo opcodes-rvc opcodes-custom | ./parse-opcodes -c >> $@ + cat opcodes opcodes-rvc-pseudo opcodes-rvc opcodes-custom opcodes-v | ./parse-opcodes -c >> $@ inst.chisel: $(ALL_OPCODES) parse-opcodes cat opcodes opcodes-custom opcodes-pseudo | ./parse-opcodes -chisel > $@ @@ -186,8 +186,9 @@ vsgeu m vd vs1 vs2 27..25=7 31..28=13 14=1 6..0=0x57 # group 31..28=14 -# group 31..28=15 -vconfig m vd vs1 vimm 31..28=15 14=1 6..0=0x57 +# group 31..28=15 are unmasked +vsetvl vd vs1 24..20=0 27..25=0 31..28=15 14=1 13..12=0 6..0=0x57 +vconfig vd vs1 vimm 31..28=15 14=1 13..12=1 6..0=0x57 # 14=0 is for fp # 31..27 is opcode diff --git a/parse-opcodes b/parse-opcodes index d664580..9e61da5 100755 --- a/parse-opcodes +++ b/parse-opcodes @@ -959,7 +959,7 @@ def make_vector_adoc_table(): print_vec_insts('vdiv', 'vdivu', 'vrem', 'vremu', 'vmul', 'vmulh', 'vmulhu', 'vmulhsu') print_vec_insts('vpopc', 'vredsum', 'vredmax', 'vredmin') print_vec_insts('vaddi', 'vsli', 'vsrli', 'vsrai', 'vclipi', 'vandi', 'vori', 'vxori') - print_vec_insts('vconfig') + print_vec_insts('vsetvl', 'vconfig') print_vec_footer() print_vec_header() print_vec_insts('vfmadd.s', 'vfmsub.s') |