qemu-e2k/tcg/x86_64
Richard Henderson 09aac1266e tcg/x86_64: Avoid unnecessary REX.B prefixes.
The existing P_REXB internal opcode flag unconditionally emits
the REX prefix.  Technically it's not needed if the register in
question is %al, %bl, %cl, %dl.

Eliding the prefix requires splitting the P_REXB flag into two,
in order to indicate whether the byte register in question is
in the REG or the R/M field.  Within TCG, the byte register is
in the REG field only for stores.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-01-15 07:32:56 +01:00
..
tcg-target.c tcg/x86_64: Avoid unnecessary REX.B prefixes. 2010-01-15 07:32:56 +01:00
tcg-target.h tcg/x86_64: add support for ext{8,16,32}u_i{32,64} TCG ops 2009-10-04 13:24:45 +02:00