diff options
author | Richard Henderson <rth@twiddle.net> | 2014-01-28 11:39:49 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-02-17 10:12:29 -0600 |
commit | 6399ab3325b7d4f77441c8a00fa9dae98bb0ac43 (patch) | |
tree | 4775b16d8a9bf4da32cd8b083c7b4ebb40975a06 /net/socket.c | |
parent | 9d2eec202fad72ce05ee8d54dc5a6fb6dcb87776 (diff) |
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 'net/socket.c')
0 files changed, 0 insertions, 0 deletions