tcg/i386: omit a few REXW prefixes in softmmu code
commit08b0b23be639b955e5e3d84dc42fa4e5ce6a8728
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 19 Jul 2015 11:50:32 +0000 (19 13:50 +0200)
committerRichard Henderson <rth@twiddle.net>
Wed, 2 Sep 2015 21:24:10 +0000 (2 14:24 -0700)
treee81115863262036672d3c2e2d45b1a74d6982b1c
parent352bcb0a2b816ff9ab9d75d0f2384650d9e9ab19
tcg/i386: omit a few REXW prefixes in softmmu code

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.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <1437306632-20655-1-git-send-email-aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/i386/tcg-target.c