From 899343378961f6639376d95822cbceb7c0b64dbe Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 4 Jun 2005 22:19:02 +0000 Subject: [PATCH] bctr and blr must ignore the two lsb git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1438 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/op.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)