mirror of https://github.com/xemu-project/xemu.git
target-mips: check CP0 enabled for CACHE instruction also in R6
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
This commit is contained in:
parent
25a611e3e4
commit
40d48212f9
|
@ -17194,6 +17194,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 New Issue