DEFINE_FXTYPE(flt_d);
DEFINE_FXTYPE(fle_d);
- add_insn(new disasm_insn_t("mtfsr", match_mtfsr, mask_mtfsr | mask_rd, xrs1_reg));
- add_insn(new disasm_insn_t("mtfsr", match_mtfsr, mask_mtfsr, xrd_reg, xrs1_reg));
- DEFINE_DTYPE(mffsr);
+ add_insn(new disasm_insn_t("fssr", match_fssr, mask_fssr | mask_rd, xrs1_reg));
+ add_insn(new disasm_insn_t("fssr", match_fssr, mask_fssr, xrd_reg, xrs1_reg));
+ DEFINE_DTYPE(frsr);
// provide a default disassembly for all instructions as a fallback
#define DECLARE_INSN(code, match, mask) \
DECLARE_INSN(fcvt_s_wu, 0xf053, 0x3ff1ff)
DECLARE_INSN(fcvt_d_l, 0xc0d3, 0x3ff1ff)
DECLARE_INSN(lh, 0x83, 0x3ff)
+DECLARE_INSN(frsr, 0x1d053, 0x7ffffff)
DECLARE_INSN(fcvt_d_w, 0xe0d3, 0x3ff1ff)
DECLARE_INSN(lw, 0x103, 0x3ff)
DECLARE_INSN(add, 0x33, 0x1ffff)
DECLARE_INSN(fcvt_l_s, 0x8053, 0x3ff1ff)
DECLARE_INSN(fle_s, 0x17053, 0x1ffff)
DECLARE_INSN(fence_v_l, 0x22f, 0x3ff)
-DECLARE_INSN(mffsr, 0x1d053, 0x7ffffff)
DECLARE_INSN(fdiv_s, 0x3053, 0x1f1ff)
DECLARE_INSN(fle_d, 0x170d3, 0x1ffff)
DECLARE_INSN(fence_i, 0xaf, 0x3ff)
DECLARE_INSN(sub, 0x10033, 0x1ffff)
DECLARE_INSN(eret, 0x273, 0xffffffff)
DECLARE_INSN(blt, 0x263, 0x3ff)
-DECLARE_INSN(mtfsr, 0x1f053, 0x3fffff)
DECLARE_INSN(sc_w, 0x1052b, 0x1ffff)
DECLARE_INSN(rem, 0x733, 0x1ffff)
DECLARE_INSN(srliw, 0x29b, 0x3f83ff)
DECLARE_INSN(fsgnj_d, 0x50d3, 0x1ffff)
DECLARE_INSN(mulhu, 0x5b3, 0x1ffff)
DECLARE_INSN(fence_v_g, 0x2af, 0x3ff)
+DECLARE_INSN(fssr, 0x1f053, 0x3fffff)
DECLARE_INSN(setpcr, 0x173, 0x3ff)
DECLARE_INSN(fcvt_lu_s, 0x9053, 0x3ff1ff)
DECLARE_INSN(fcvt_s_l, 0xc053, 0x3ff1ff)