diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2019-05-27 09:05:57 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2019-05-27 09:05:57 -0700 |
commit | e887344ba0f4c1c1d035c9193bc590899f75402f (patch) | |
tree | d842ad9bcc9d167b2b89cbdd8fd17f5c7e6c2f0d /spike_main | |
parent | fc90fb4dcf05d2271e41024977c42e81aa506105 (diff) | |
download | spike-e887344ba0f4c1c1d035c9193bc590899f75402f.zip spike-e887344ba0f4c1c1d035c9193bc590899f75402f.tar.gz spike-e887344ba0f4c1c1d035c9193bc590899f75402f.tar.bz2 |
rvv: disasm: shift should use unsiged vi
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'spike_main')
-rw-r--r-- | spike_main/disasm.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spike_main/disasm.cc b/spike_main/disasm.cc index df58230..01eace8 100644 --- a/spike_main/disasm.cc +++ b/spike_main/disasm.cc @@ -866,12 +866,12 @@ disassembler_t::disassembler_t(int xlen) DISASM_OPIV_VXI_INSN(vsll, 1); DISASM_OPIV_VX__INSN(vasub, 1); DISASM_OPIV_VX__INSN(vsmul, 1); - DISASM_OPIV_VXI_INSN(vsrl, 1); - DISASM_OPIV_VXI_INSN(vsra, 1); - DISASM_OPIV_VXI_INSN(vssrl, 1); - DISASM_OPIV_VXI_INSN(vssra, 1); - DISASM_OPIV_VXI_INSN(vnsrl, 1); - DISASM_OPIV_VXI_INSN(vnsra, 1); + DISASM_OPIV_VXI_INSN(vsrl, 0); + DISASM_OPIV_VXI_INSN(vsra, 0); + DISASM_OPIV_VXI_INSN(vssrl, 0); + DISASM_OPIV_VXI_INSN(vssra, 0); + DISASM_OPIV_VXI_INSN(vnsrl, 0); + DISASM_OPIV_VXI_INSN(vnsra, 0); DISASM_OPIV_VXI_INSN(vnclipu, 0); DISASM_OPIV_VXI_INSN(vnclip, 1); |