Commit 899343378961f6639376d95822cbceb7c0b64dbe

Authored by bellard
1 parent d094807b

bctr and blr must ignore the two lsb


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1438 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-ppc/op.c
@@ -446,7 +446,7 @@ PPC_OP(b) @@ -446,7 +446,7 @@ PPC_OP(b)
446 446
447 PPC_OP(b_T1) 447 PPC_OP(b_T1)
448 { 448 {
449 - regs->nip = T1; 449 + regs->nip = T1 & ~3;
450 } 450 }
451 451
452 PPC_OP(btest) 452 PPC_OP(btest)