aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-ppc/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index 102249d414..3f5fb0bbcd 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -103,7 +103,7 @@ void do_store_xer (void)
xer_so = (T0 >> XER_SO) & 0x01;
xer_ov = (T0 >> XER_OV) & 0x01;
xer_ca = (T0 >> XER_CA) & 0x01;
- xer_bc = (T0 >> XER_BC) & 0x1f;
+ xer_bc = (T0 >> XER_BC) & 0x3f;
}
void do_load_msr (void)