target/sh4: Implement fpchg
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net> Message-Id: <20170718200255.31647-25-rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
ccae24d498
commit
907759f997
@ -480,6 +480,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 */
|
||||
|
Loading…
Reference in New Issue
Block a user