lwarx fix (Jocelyn Mayer)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@629 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-02-21 14:13:13 +00:00
parent 297d8e6227
commit 28fbe299c3

View File

@ -141,8 +141,8 @@ PPC_OP(glue(lwarx, MEMSUFFIX))
do_queue_exception(EXCP_ALIGN); do_queue_exception(EXCP_ALIGN);
do_process_exceptions(); do_process_exceptions();
} else { } else {
glue(ldl, MEMSUFFIX)((void *)T0); T1 = glue(ldl, MEMSUFFIX)((void *)T0);
regs->reserve = T0 & ~0x03; regs->reserve = T0;
} }
RETURN(); RETURN();
} }