projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cbee15
)
Restrict CP0_PerfCnt to legal values.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 29 Oct 2007 00:49:32 +0000
(
00:49
+0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 29 Oct 2007 00:49:32 +0000
(
00:49
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3476
c046a42c
-6fe2-441c-8c8c-
71466251a162
target-mips/op.c
patch
|
blob
|
history
diff --git
a/target-mips/op.c
b/target-mips/op.c
index f29134567c30506e0065724bfe6923afc3c911ea..569c2f2a9b24070bc53dcbae6cbc95e241b09b8a 100644
(file)
--- 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();
}