diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-21 14:13:13 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-21 14:13:13 +0000 |
commit | 28fbe299c3048caf845a26c4dc2027acabdaa689 (patch) | |
tree | b57ee3b2a13a8fbc0066ba8c5c10b6e77c52a90e /target-ppc | |
parent | 297d8e6227ff1186857b17b1890fc94c637733da (diff) | |
download | qemu-28fbe299c3048caf845a26c4dc2027acabdaa689.zip qemu-28fbe299c3048caf845a26c4dc2027acabdaa689.tar.gz qemu-28fbe299c3048caf845a26c4dc2027acabdaa689.tar.bz2 |
lwarx fix (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@629 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/op_mem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-ppc/op_mem.h b/target-ppc/op_mem.h index 01df45d..52f55c9 100644 --- a/target-ppc/op_mem.h +++ b/target-ppc/op_mem.h @@ -141,8 +141,8 @@ PPC_OP(glue(lwarx, MEMSUFFIX)) do_queue_exception(EXCP_ALIGN); do_process_exceptions(); } else { - glue(ldl, MEMSUFFIX)((void *)T0); - regs->reserve = T0 & ~0x03; + T1 = glue(ldl, MEMSUFFIX)((void *)T0); + regs->reserve = T0; } RETURN(); } |