https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82370
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Oct 20 07:30:33 2017 New Revision: 253924 URL: https://gcc.gnu.org/viewcvs?rev=253924&root=gcc&view=rev Log: PR target/82370 * config/i386/sse.md (VI248_AVX2, VI248_AVX512BW, VI248_AVX512BW_2): New mode iterators. (<shift_insn><mode>3<mask_name>): Change the last of the 3 define_insns for logical vector shifts to use VI248_AVX512BW iterator instead of VI48_AVX512, remove <mask_mode512bit_condition> condition, useless isa and prefix attributes. Change the first 2 of these define_insns to ... (<mask_codefor><shift_insn><mode>3<mask_name>): ... this, new define_insn for avx512vl. (<shift_insn><mode>3): ... and this, new define_insn without masking for non-avx512vl. * gcc.target/i386/avx-pr82370.c: New test. * gcc.target/i386/avx2-pr82370.c: New test. * gcc.target/i386/avx512f-pr82370.c: New test. * gcc.target/i386/avx512bw-pr82370.c: New test. * gcc.target/i386/avx512vl-pr82370.c: New test. * gcc.target/i386/avx512vlbw-pr82370.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx-pr82370.c trunk/gcc/testsuite/gcc.target/i386/avx2-pr82370.c trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr82370.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr82370.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr82370.c trunk/gcc/testsuite/gcc.target/i386/avx512vlbw-pr82370.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog