]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/i386: Allow bmi2 shiftx to have non-matching operands
authorRichard Henderson <rth@twiddle.net>
Fri, 18 Nov 2016 13:18:41 +0000 (14:18 +0100)
committerRichard Henderson <rth@twiddle.net>
Tue, 10 Jan 2017 16:47:48 +0000 (08:47 -0800)
commit6a5aed4bdc7078838a8098336588d56c9ce09d1d
tree373a3e108a7d1cfc454046d615b226964e589064
parent42d5b514928a8a0d2f55a4c243d1333f9675815b
tcg/i386: Allow bmi2 shiftx to have non-matching operands

Previously we could not have different constraints for different ISA levels,
which prevented us from eliding the matching constraint for shifts.

We do now have to make sure that the operands match for constant shifts.
We can also handle some small left shifts via lea.

Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/i386/tcg-target.inc.c