re PR target/71559 (ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386...
authorJakub Jelinek <jakub@redhat.com>
Mon, 20 Jun 2016 19:17:12 +0000 (21:17 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 20 Jun 2016 19:17:12 +0000 (21:17 +0200)
commitc4ff221ea83c3d119bf5bda8958a3da09ad9d57f
tree052435d7801e694c948b4ed3aae522d3ff109e80
parentf1b5abfbbbdcecb62a0ed3c3904fb1233b4db8a9
re PR target/71559 (ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512))

PR target/71559
* config/i386/i386.c (ix86_fp_cmp_code_to_pcmp_immediate): Fix up
returned values and add UN*/LTGT/*ORDERED cases with values matching
D operand modifier on vcmp for AVX.

* gcc.target/i386/sse2-pr71559.c: New test.
* gcc.target/i386/avx-pr71559.c: New test.
* gcc.target/i386/avx512f-pr71559.c: New test.

From-SVN: r237614
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx-pr71559.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/avx512f-pr71559.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sse2-pr71559.c [new file with mode: 0644]