diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-28 17:09:41 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-28 17:09:41 +0000 |
commit | c811cf2c0314e5154deb073dad07ca3f0e39b16c (patch) | |
tree | fb2266a948c90d0e4bd6e0dde8c3175190beb99f | |
parent | 9b9e4393dd08481530f8d6389ed0ac64405aa4fa (diff) |
Do not sign extend lwu, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2889 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | target-mips/op_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/op_mem.c b/target-mips/op_mem.c index f9fc69c8e3..602c071c5b 100644 --- a/target-mips/op_mem.c +++ b/target-mips/op_mem.c @@ -63,7 +63,7 @@ void glue(op_lw, MEMSUFFIX) (void) void glue(op_lwu, MEMSUFFIX) (void) { - T0 = glue(ldl, MEMSUFFIX)(T0); + T0 = (uint32_t)glue(ldl, MEMSUFFIX)(T0); RETURN(); } |