diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2019-05-10 09:01:56 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2019-05-10 09:01:56 -0700 |
commit | e73f9c080dea2020426b834748a85c281c7a2317 (patch) | |
tree | 542b13eae5c14ac951627af99365e409be34c380 /spike_main | |
parent | eb23f38500d2c8bfecdd13781e89a77ff3581bb4 (diff) | |
download | spike-e73f9c080dea2020426b834748a85c281c7a2317.zip spike-e73f9c080dea2020426b834748a85c281c7a2317.tar.gz spike-e73f9c080dea2020426b834748a85c281c7a2317.tar.bz2 |
rvv: disasm: firx vfunary1 mask
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 d5c6e55..a934c68 100644 --- a/spike_main/disasm.cc +++ b/spike_main/disasm.cc @@ -1040,10 +1040,10 @@ disassembler_t::disassembler_t(int xlen) DISASM_VFUNARY0_INSN(vfn, 0x2, 1); //vfunary1 - add_insn(new disasm_insn_t("vfsqrt.v", match_vfunary1_vv, mask_vfunary1_vv, \ - {&vd, &vs2, &opt, &vm})); - add_insn(new disasm_insn_t("vfclass.v", match_vfunary1_vv, mask_vfunary1_vv, \ - {&vd, &vs2, &opt, &vm})); + add_insn(new disasm_insn_t("vfsqrt.v", match_vfunary1_vv | (0x00ul << 15), + mask_vfunary1_vv | mask_rs1, {&vd, &vs2, &opt, &vm})); + add_insn(new disasm_insn_t("vfclass.v", match_vfunary1_vv | (0x10ul << 15), + mask_vfunary1_vv | mask_rs1, {&vd, &vs2, &opt, &vm})); DISASM_OPIV_VF_INSN(vfmul); DISASM_OPIV_VF_INSN(vfmadd); |