Richard Sandiford c728154bbb target-mips: Sign-extend the result of LWR
Sign-extend the result of LWR, as is already done for LWL.  This is necessary
in the case where LWR loads the full word (i.e. the address is actually
aligned).  In the other cases, it is implementation defined whether the
upper 32 bits of the result are unchanged or a copy of bit 31.  The latter
seems easier to implement.

Previously the code used:

    (oldval & (0xfffffffe << (31 - bitshift))) | (newval >> bitshift)

which zeroed the upper bits of the register, losing any previous sign
extension in the unaligned cases.

Signed-off-by: Richard Sandiford <rdsandiford@googlemail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2013-01-31 23:40:52 +01:00
2013-01-10 15:11:53 -06:00
2013-01-26 13:15:35 +00:00
2013-01-25 10:49:46 -02:00
2012-12-19 08:29:06 +01:00
2013-01-18 19:06:57 +01:00
2013-01-30 11:14:46 +01:00
2013-01-21 09:17:16 +01:00
2012-10-24 10:26:22 +02:00
2013-01-21 09:17:16 +01:00
2013-01-30 16:03:57 +00:00
2012-09-07 09:02:44 +03:00
2012-11-01 13:10:06 +01:00
2012-05-14 07:27:24 +02:00
2012-12-20 23:08:47 +01:00
2013-01-25 11:46:50 -02:00
2011-12-09 11:25:22 +00:00
2013-01-30 10:42:29 +01:00
2013-01-26 13:15:37 +00:00
2013-01-26 13:15:35 +00:00
2012-12-20 23:09:25 +01:00
2013-01-17 10:24:52 -02:00
2011-12-11 17:50:43 -06:00
2012-12-03 14:08:40 -06:00
2013-01-15 04:09:14 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 531 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%