diff options
| author | Richard Henderson | 2014-01-28 20:39:49 +0100 |
|---|---|---|
| committer | Richard Henderson | 2014-02-17 17:12:29 +0100 |
| commit | 6399ab3325b7d4f77441c8a00fa9dae98bb0ac43 (patch) | |
| tree | 4775b16d8a9bf4da32cd8b083c7b4ebb40975a06 /include/exec/user | |
| parent | tcg/i386: Use ANDN instruction (diff) | |
| download | qemu-6399ab3325b7d4f77441c8a00fa9dae98bb0ac43.tar.gz qemu-6399ab3325b7d4f77441c8a00fa9dae98bb0ac43.tar.xz qemu-6399ab3325b7d4f77441c8a00fa9dae98bb0ac43.zip | |
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 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
