diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-07-15 02:20:21 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-07-29 21:38:24 -0700 |
commit | 4d6086e094062290b6e0e40329c6a2e11a1fc009 (patch) | |
tree | 5f674beab5288f734fa6b8a5f1997d6ef72b983e /spike_main | |
parent | f2d6531ade46ebc0c960898564f83327141e3ac9 (diff) | |
download | spike-4d6086e094062290b6e0e40329c6a2e11a1fc009.zip spike-4d6086e094062290b6e0e40329c6a2e11a1fc009.tar.gz spike-4d6086e094062290b6e0e40329c6a2e11a1fc009.tar.bz2 |
rvv: op: fix amo naming
The original name misses the 'i' in instruction mae
vamoswape8 -> vamoswapei8
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'spike_main')
-rw-r--r-- | spike_main/disasm.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spike_main/disasm.cc b/spike_main/disasm.cc index 4d35ae1..e30ff52 100644 --- a/spike_main/disasm.cc +++ b/spike_main/disasm.cc @@ -1155,10 +1155,10 @@ disassembler_t::disassembler_t(int xlen) std::vector<const arg_t *> v_fmt_amo = {&x0, &v_address, &vs2, &vd, &opt, &vm}; for (size_t elt = 0; elt <= 3; ++elt) { const custom_fmt_t template_insn[] = { - {match_vamoswape8_v | mask_wd, mask_vamoswape8_v | mask_wd, - "%se%d.v", v_fmt_amo_wd}, - {match_vamoswape8_v, mask_vamoswape8_v | mask_wd, - "%se%d.v", v_fmt_amo}, + {match_vamoswapei8_v | mask_wd, mask_vamoswapei8_v | mask_wd, + "%sei%d.v", v_fmt_amo_wd}, + {match_vamoswapei8_v, mask_vamoswapei8_v | mask_wd, + "%sei%d.v", v_fmt_amo}, }; std::pair<const char*, reg_t> amo_map[] = { {"vamoswap", 0x01ul << 27}, |