Signed-off-by: Richard Henderson <r...@twiddle.net> --- target/sh4/translate.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/target/sh4/translate.c b/target/sh4/translate.c index d164e62..35a5c91 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -492,6 +492,11 @@ static void _decode_opc(DisasContext * ctx) tcg_gen_xori_i32(cpu_fpscr, cpu_fpscr, FPSCR_SZ); ctx->bstate = BS_STOP; return; + case 0xf7fd: /* fpchg */ + CHECK_SH4A + tcg_gen_xori_i32(cpu_fpscr, cpu_fpscr, FPSCR_PR); + ctx->bstate = BS_STOP; + return; case 0x0009: /* nop */ return; case 0x001b: /* sleep */ -- 2.9.4