]> git.proxmox.com Git - qemu.git/commitdiff
bctr and blr must ignore the two lsb
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 4 Jun 2005 22:19:02 +0000 (22:19 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 4 Jun 2005 22:19:02 +0000 (22:19 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1438 c046a42c-6fe2-441c-8c8c-71466251a162

target-ppc/op.c

index 6ae7a523b5fdf3575c880ed925306849b964d408..8c8021e1a660f8e66ab63bf52a353b7d6a54f2b0 100644 (file)
@@ -446,7 +446,7 @@ PPC_OP(b)
 
 PPC_OP(b_T1)
 {
-    regs->nip = T1;
+    regs->nip = T1 & ~3;
 }
 
 PPC_OP(btest)