https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sat Jul 2 10:18:27 2016 New Revision: 237938 URL: https://gcc.gnu.org/viewcvs?rev=237938&root=gcc&view=rev Log: Backported from mainline 2016-06-20 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/avx-pr71559.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/avx512f-pr71559.c branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/sse2-pr71559.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/i386/i386.c branches/gcc-6-branch/gcc/testsuite/ChangeLog