mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-10 16:07:40 +00:00
target-mips: check CP0 enabled for CACHE instruction also in R6
Backports commit 40d48212f934d4deab40ffe84a0f9c4c553d4742 from qemu
This commit is contained in:
parent
70306ec586
commit
0c5ebbd096
|
@ -17322,6 +17322,7 @@ static void decode_opc_special3_r6(CPUMIPSState *env, DisasContext *ctx)
|
||||||
/* Treat as NOP. */
|
/* Treat as NOP. */
|
||||||
break;
|
break;
|
||||||
case R6_OPC_CACHE:
|
case R6_OPC_CACHE:
|
||||||
|
check_cp0_enabled(ctx);
|
||||||
/* Treat as NOP. */
|
/* Treat as NOP. */
|
||||||
break;
|
break;
|
||||||
case R6_OPC_SC:
|
case R6_OPC_SC:
|
||||||
|
|
Loading…
Reference in a new issue