Re: [Qemu-devel] [PATCH] tcg/i386: omit a few REXW prefixes in softmmu code

2015-09-02 Thread Richard Henderson
On 07/19/2015 04:50 AM, Aurelien Jarno wrote: When computing the TLB address we are likely to mask out the high 32-bits by using shr + and. We can use 32-bit instructions in that case. This saves 2 bytes per TLB access. Cc: Richard Henderson Signed-off-by: Aurelien Jarno Applied to tcg-next.

[Qemu-devel] [PATCH] tcg/i386: omit a few REXW prefixes in softmmu code

2015-07-19 Thread Aurelien Jarno
When computing the TLB address we are likely to mask out the high 32-bits by using shr + and. We can use 32-bit instructions in that case. This saves 2 bytes per TLB access. Cc: Richard Henderson Signed-off-by: Aurelien Jarno --- tcg/i386/tcg-target.c | 16 ++-- 1 file changed, 10 i