diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-06-04 22:19:02 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-06-04 22:19:02 +0000 |
commit | 899343378961f6639376d95822cbceb7c0b64dbe (patch) | |
tree | be5a623a252b057bae8b36033f81912b2b7ee682 /target-ppc | |
parent | d094807b9bfe39401e82dce6b7e97a70eb5931be (diff) | |
download | qemu-899343378961f6639376d95822cbceb7c0b64dbe.zip qemu-899343378961f6639376d95822cbceb7c0b64dbe.tar.gz qemu-899343378961f6639376d95822cbceb7c0b64dbe.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c index 6ae7a52..8c8021e 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) |