aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6ae7a523b5..8c8021e1a6 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)