aboutsummaryrefslogtreecommitdiff
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
parentMMU fix - temporary osi_call support - xec_bc mask fix (diff)
downloadqemu-kvm-899343378961f6639376d95822cbceb7c0b64dbe.tar.gz
qemu-kvm-899343378961f6639376d95822cbceb7c0b64dbe.tar.bz2
qemu-kvm-899343378961f6639376d95822cbceb7c0b64dbe.zip
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 6ae7a523b..8c8021e1a 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)