summaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-04 22:19:02 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-04 22:19:02 +0000
commit899343378961f6639376d95822cbceb7c0b64dbe (patch)
treebe5a623a252b057bae8b36033f81912b2b7ee682 /target-ppc
parentd094807b9bfe39401e82dce6b7e97a70eb5931be (diff)
downloadqemu-899343378961f6639376d95822cbceb7c0b64dbe.tar.gz
bctr and blr must ignore the two lsb
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1438 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index 6ae7a523b5..8c8021e1a6 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -446,7 +446,7 @@ PPC_OP(b)
PPC_OP(b_T1)
{
- regs->nip = T1;
+ regs->nip = T1 & ~3;
}
PPC_OP(btest)