i386.c (ix86_prepare_sse_fp_compare_args): For GE/GT/UNLE/UNLT swap arguments and...
authorJakub Jelinek <jakub@redhat.com>
Fri, 23 Sep 2011 14:35:05 +0000 (16:35 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 23 Sep 2011 14:35:05 +0000 (16:35 +0200)
commit50926346e5b0fb75665a5ee5db3bbba77aa37e98
tree399b068d96b5519e2c6f9ccd41a907acc1c4e0d4
parent9e4ef69ef80e6ef91c4897f0d6c0f7e47fdfd279
i386.c (ix86_prepare_sse_fp_compare_args): For GE/GT/UNLE/UNLT swap arguments and condition even for TARGET_AVX.

* config/i386/i386.c (ix86_prepare_sse_fp_compare_args): For
GE/GT/UNLE/UNLT swap arguments and condition even for TARGET_AVX.

* gcc.target/i386/avxfp-1.c: New test.
* gcc.target/i386/avxfp-2.c: New test.

From-SVN: r179119
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avxfp-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avxfp-2.c [new file with mode: 0644]