x86: vpermil2p{s,d} have no commutative operands
authorJan Beulich <jbeulich@suse.com>
Tue, 2 May 2017 08:19:26 +0000 (08:19 +0000)
committerJan Beulich <jbeulich@gcc.gnu.org>
Tue, 2 May 2017 08:19:26 +0000 (08:19 +0000)
commit26de50b098414b0322acad162a1797fe06bd261b
tree09e39f74a3cc49a589fcd529b8bd06ba69f66c6e
parent2132d92e271aed11587bafa5beadb1ee09c005cd
x86: vpermil2p{s,d} have no commutative operands

While either of the last two operands can be in memory, they can't be
swapped.

gcc/
2017-05-01  Jan Beulich  <jbeulich@suse.com>

* config/i386/sse.md (xop_vpermil2<mode>3): Do not allow operand
swapping, add (x,x,m,x,n) alternative.

From-SVN: r247464
gcc/ChangeLog
gcc/config/i386/sse.md