Re: [Qemu-devel] [PATCH] target-mips: Sign-extend the result of LWR

2013-01-31 Thread Aurelien Jarno
On Sun, Jan 20, 2013 at 07:30:54PM +, Richard Sandiford wrote: > 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 > up

Re: [Qemu-devel] [PATCH] target-mips: Sign-extend the result of LWR

2013-01-24 Thread Richard Henderson
On 2013-01-20 11:30, Richard Sandiford wrote: 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 a

[Qemu-devel] [PATCH] target-mips: Sign-extend the result of LWR

2013-01-20 Thread Richard Sandiford
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 se