tcg/x86_64: Special-case all 32-bit AND operands.
commit5716990376e22e758c434ba7092b8eacaa148973
authorRichard Henderson <rth@twiddle.net>
Wed, 6 Jan 2010 00:03:00 +0000 (5 16:03 -0800)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 14 Jan 2010 17:16:40 +0000 (14 18:16 +0100)
tree225bf78c92e97d0c7016f76f2ba54e42c3fc4171
parent0a4e7cd2374f1d898a25f4ae7d0fb0321433c197
tcg/x86_64: Special-case all 32-bit AND operands.

This avoids an unnecessary REX.W prefix when dealing with AND
operands that fit into a 32-bit quantity.  The most common change
actually seen is movz[wb]q -> movz[wb]l.

Similarly, avoid REXW in ext{8,16}u_i64 tcg opcodes.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/x86_64/tcg-target.c