summaryrefslogtreecommitdiff
path: root/tcg/tcg-op.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-01-28 11:39:49 -0800
committerRichard Henderson <rth@twiddle.net>2014-02-17 10:12:29 -0600
commit6399ab3325b7d4f77441c8a00fa9dae98bb0ac43 (patch)
tree4775b16d8a9bf4da32cd8b083c7b4ebb40975a06 /tcg/tcg-op.h
parent9d2eec202fad72ce05ee8d54dc5a6fb6dcb87776 (diff)
downloadqemu-6399ab3325b7d4f77441c8a00fa9dae98bb0ac43.tar.gz
tcg/i386: Use SHLX/SHRX/SARX instructions
These three-operand shift instructions do not require the shift count to be placed into ECX. This reduces the number of mov insns required, with the mere addition of a new register constraint. Don't attempt to get rid of the matching constraint, as that's impossible to manipulate with just a new constraint. In addition, constant shifts still need the matching constraint. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg-op.h')
0 files changed, 0 insertions, 0 deletions