Fix operands order in BMI2 patterns.
authorKirill Yukhin <kirill.yukhin@intel.com>
Thu, 20 Oct 2011 20:37:32 +0000 (20:37 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 20 Oct 2011 20:37:32 +0000 (13:37 -0700)
commit6dd3234ecf66a168d45c5e31398232191c76ddf8
treeae3171dc2b2dcc57fce98ff4077b5093c9966749
parent5a3c00681c5eb8b14a08438c5b0a18a04aab0c2b
Fix operands order in BMI2 patterns.

gcc/

2011-10-20  Kirill Yukhin  <kirill.yukhin@intel.com>

PR target/50766
* config/i386/i386.md (bmi_bextr_<mode>): Update register/
memory operand order.
(bmi2_bzhi_<mode>3): Ditto.
(bmi2_pdep_<mode>3): Ditto.
(bmi2_pext_<mode>3): Ditto.

gcc/testsuite/

2011-10-20  Kirill Yukhin  <kirill.yukhin@intel.com>

PR target/50766
* gcc.target/i386/pr50766.c: New test.

From-SVN: r180271
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr50766.c [new file with mode: 0644]