On 11/4/2026 4:41 PM, Max Chou wrote:
Adds support to disassemble Zvfqwbdota8f instructions.
- vfqwbdota.vv
- vfqwbdota.alt.vv
Signed-off-by: Max Chou <[email protected]>
---
Reviewed-by: Daniel Henrique Barboza <[email protected]>
disas/riscv-op.c.inc | 3 +++
disas/riscv.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/disas/riscv-op.c.inc b/disas/riscv-op.c.inc
index b24ffb45d8e..58f6ddac35a 100644
--- a/disas/riscv-op.c.inc
+++ b/disas/riscv-op.c.inc
@@ -583,6 +583,9 @@ OP(vfnmsac_vf, "vfnmsac.vf", rv_codec_v_r,
rv_fmt_vd_fs1_vs2_vm)
OP(vfnmsac_vv, "vfnmsac.vv", rv_codec_v_r, rv_fmt_vd_vs1_vs2_vm)
OP(vfnmsub_vf, "vfnmsub.vf", rv_codec_v_r, rv_fmt_vd_fs1_vs2_vm)
OP(vfnmsub_vv, "vfnmsub.vv", rv_codec_v_r, rv_fmt_vd_vs1_vs2_vm)
+OP(vfqwbdota_alt_vv, "vfqwbdota.alt.vv", rv_codec_v_r_ci,
+ rv_fmt_vd_vs2_vs1_ci_vm)
+OP(vfqwbdota_vv, "vfqwbdota.vv", rv_codec_v_r_ci, rv_fmt_vd_vs2_vs1_ci_vm)
OP(vfqwdota_alt_vv, "vfqwdota.alt.vv", rv_codec_v_r, rv_fmt_vd_vs2_vs1_vm)
OP(vfqwdota_vv, "vfqwdota.vv", rv_codec_v_r, rv_fmt_vd_vs2_vs1_vm)
OP(vfrdiv_vf, "vfrdiv.vf", rv_codec_v_r, rv_fmt_vd_vs2_fs1_vm)
diff --git a/disas/riscv.c b/disas/riscv.c
index af41c2204f5..a124cbb4bbe 100644
--- a/disas/riscv.c
+++ b/disas/riscv.c
@@ -2648,6 +2648,8 @@ static const rv_opcode_data *decode_inst_opcode(rv_decode
*dec, rv_isa isa)
case 38: return &op_vfqwdota_vv;
case 39: return &op_vfqwdota_alt_vv;
case 44: return &op_vfwbdota_vv;
+ case 46: return &op_vfqwbdota_vv;
+ case 47: return &op_vfqwbdota_alt_vv;
}
}
if (((inst >> 25) & 1) == 1 && ((inst >> 12) & 0b111) == 2) {