OSDN Git Service

Backported from mainline
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 May 2014 15:54:34 +0000 (15:54 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 May 2014 15:54:34 +0000 (15:54 +0000)
commit5ffca5d363321b3d47611a3088684a9aa6ff1112
tree6d6660e7081568b2c6351a6011f29ba3e5c5cd80
parent8fe3bcbed7054802fdf252fa20533ce1475cbc30
Backported from mainline
2013-06-27  Jakub Jelinek  <jakub@redhat.com>

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@210166 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/bmi2-bzhi-1.c [new file with mode: 0644]