diff --git a/target-mips/op.c b/target-mips/op.c index f29134567c..569c2f2a9b 100644 --- a/target-mips/op.c +++ b/target-mips/op.c @@ -1971,7 +1971,7 @@ void op_mtc0_depc (void) void op_mtc0_performance0 (void) { - env->CP0_Performance0 = T0; /* XXX */ + env->CP0_Performance0 = T0 & 0x000007ff; RETURN(); }