]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/57623 (BEXTR intrinsic has memory operands switched around (fails to...
authorJakub Jelinek <jakub@redhat.com>
Thu, 27 Jun 2013 16:44:17 +0000 (18:44 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 27 Jun 2013 16:44:17 +0000 (18:44 +0200)
commit2444244ecf0ab5c23558b5f8952dc8ab2e75e661
tree279939af22d61be6ac83a9b5360284c72a055fea
parent2f25972039c2c1c424c03fd29ff00200a64b6b0e
re PR target/57623 (BEXTR intrinsic has memory operands switched around (fails to compile code))

PR target/57623
* config/i386/i386.md (bmi2_bzhi_<mode>3): Swap AND arguments
to match RTL canonicalization.  Swap predicates and
constraints of operand 1 and 2.

* gcc.target/i386/bmi2-bzhi-1.c: New test.

From-SVN: r200477
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/bmi2-bzhi-1.c [new file with mode: 0644]