diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-05-14 21:38:15 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-05-14 21:38:15 -0700 |
commit | 425ad2f1420c124ffc505b508f780c38c82edcb5 (patch) | |
tree | bbbc08acdc5b11ef3bb2c382e3a23fbb0eab30aa | |
parent | 19834b39e53affb7ae6fae7c8405e36995b33ed4 (diff) | |
download | spike-425ad2f1420c124ffc505b508f780c38c82edcb5.zip spike-425ad2f1420c124ffc505b508f780c38c82edcb5.tar.gz spike-425ad2f1420c124ffc505b508f780c38c82edcb5.tar.bz2 |
rvv: disasm: fix amo format
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
-rw-r--r-- | spike_main/disasm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spike_main/disasm.cc b/spike_main/disasm.cc index 19c8c3c..dce9986 100644 --- a/spike_main/disasm.cc +++ b/spike_main/disasm.cc @@ -380,7 +380,7 @@ disassembler_t::disassembler_t(int xlen) const uint32_t mask_nf = 0x7Ul << 29; const uint32_t mask_wd = 0x1Ul << 26; const uint32_t mask_vldst = 0x7Ul << 12 | 0x1UL << 28; - const uint32_t mask_amoop = 0x1fUl; + const uint32_t mask_amoop = 0x1fUl << 27; const uint32_t mask_width = 0x7Ul << 12; #define DECLARE_INSN(code, match, mask) \ |