Re: [Qemu-devel] [PATCH for-2.4] tcg/i386: Implement trunc_shr_i32

2015-07-19 Thread Aurelien Jarno
On 2015-07-18 23:18, Aurelien Jarno wrote: > On 2015-07-18 08:58, Richard Henderson wrote: > > Enforce the invariant that 32-bit quantities are zero extended > > in the register. This avoids having to re-zero-extend at memory > > accesses for 32-bit guests. > > > > Signed-off-by: Richard Henderso

Re: [Qemu-devel] [PATCH for-2.4] tcg/i386: Implement trunc_shr_i32

2015-07-18 Thread Aurelien Jarno
On 2015-07-18 08:58, Richard Henderson wrote: > Enforce the invariant that 32-bit quantities are zero extended > in the register. This avoids having to re-zero-extend at memory > accesses for 32-bit guests. > > Signed-off-by: Richard Henderson > --- > Here's an alternative to the other things we

[Qemu-devel] [PATCH for-2.4] tcg/i386: Implement trunc_shr_i32

2015-07-18 Thread Richard Henderson
Enforce the invariant that 32-bit quantities are zero extended in the register. This avoids having to re-zero-extend at memory accesses for 32-bit guests. Signed-off-by: Richard Henderson --- Here's an alternative to the other things we've been considering. We could even make this conditional on