Commit 30aec8768fcfe30ff87892e254eec3b9d42cd0dc

Authored by bellard
1 parent 89934337

xec_bc mask fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1439 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-ppc/op_helper.c
... ... @@ -103,7 +103,7 @@ void do_store_xer (void)
103 103 xer_so = (T0 >> XER_SO) & 0x01;
104 104 xer_ov = (T0 >> XER_OV) & 0x01;
105 105 xer_ca = (T0 >> XER_CA) & 0x01;
106   - xer_bc = (T0 >> XER_BC) & 0x1f;
  106 + xer_bc = (T0 >> XER_BC) & 0x3f;
107 107 }
108 108  
109 109 void do_load_msr (void)
... ...