Commit 28fbe299c3048caf845a26c4dc2027acabdaa689
1 parent
297d8e62
lwarx fix (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@629 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-ppc/op_mem.h
... | ... | @@ -141,8 +141,8 @@ PPC_OP(glue(lwarx, MEMSUFFIX)) |
141 | 141 | do_queue_exception(EXCP_ALIGN); |
142 | 142 | do_process_exceptions(); |
143 | 143 | } else { |
144 | - glue(ldl, MEMSUFFIX)((void *)T0); | |
145 | - regs->reserve = T0 & ~0x03; | |
144 | + T1 = glue(ldl, MEMSUFFIX)((void *)T0); | |
145 | + regs->reserve = T0; | |
146 | 146 | } |
147 | 147 | RETURN(); |
148 | 148 | } | ... | ... |