aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-04 22:19:19 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-04 22:19:19 +0000
commit30aec8768fcfe30ff87892e254eec3b9d42cd0dc (patch)
tree7fcccb0b3ab546b441c0868f85ee43acd4ad0c99
parent899343378961f6639376d95822cbceb7c0b64dbe (diff)
xec_bc mask fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1439 c046a42c-6fe2-441c-8c8c-71466251a162
-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)