https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Dec 18 18:41:26 2018 New Revision: 267239 URL: https://gcc.gnu.org/viewcvs?rev=267239&root=gcc&view=rev Log: PR target/88464 * config/i386/i386-builtin-types.def (VOID_FTYPE_PDOUBLE_QI_V8SI_V4DF_INT, VOID_FTYPE_PFLOAT_QI_V4DI_V8SF_INT, VOID_FTYPE_PLONGLONG_QI_V8SI_V4DI_INT, VOID_FTYPE_PINT_QI_V4DI_V8SI_INT, VOID_FTYPE_PDOUBLE_QI_V4SI_V2DF_INT, VOID_FTYPE_PFLOAT_QI_V2DI_V4SF_INT, VOID_FTYPE_PLONGLONG_QI_V4SI_V2DI_INT, VOID_FTYPE_PINT_QI_V2DI_V4SI_INT): New builtin types. * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_SCATTERALTSIV4DF, IX86_BUILTIN_SCATTERALTDIV8SF, IX86_BUILTIN_SCATTERALTSIV4DI, IX86_BUILTIN_SCATTERALTDIV8SI, IX86_BUILTIN_SCATTERALTSIV2DF, IX86_BUILTIN_SCATTERALTDIV4SF, IX86_BUILTIN_SCATTERALTSIV2DI and IX86_BUILTIN_SCATTERALTDIV4SI. (ix86_init_mmx_sse_builtins): Fix up names of IX86_BUILTIN_GATHERALT*, IX86_BUILTIN_GATHER3ALT* and IX86_BUILTIN_SCATTERALT* builtins to match the IX86_BUILTIN codes. Build IX86_BUILTIN_SCATTERALTSIV4DF, IX86_BUILTIN_SCATTERALTDIV8SF, IX86_BUILTIN_SCATTERALTSIV4DI, IX86_BUILTIN_SCATTERALTDIV8SI, IX86_BUILTIN_SCATTERALTSIV2DF, IX86_BUILTIN_SCATTERALTDIV4SF, IX86_BUILTIN_SCATTERALTSIV2DI and IX86_BUILTIN_SCATTERALTDIV4SI decls. (ix86_vectorize_builtin_scatter): Expand those new builtins. * gcc.target/i386/avx512f-pr88464-5.c: New test. * gcc.target/i386/avx512f-pr88464-6.c: New test. * gcc.target/i386/avx512f-pr88464-7.c: New test. * gcc.target/i386/avx512f-pr88464-8.c: New test. * gcc.target/i386/avx512vl-pr88464-5.c: New test. * gcc.target/i386/avx512vl-pr88464-6.c: New test. * gcc.target/i386/avx512vl-pr88464-7.c: New test. * gcc.target/i386/avx512vl-pr88464-8.c: New test. * gcc.target/i386/avx512vl-pr88464-9.c: New test. * gcc.target/i386/avx512vl-pr88464-10.c: New test. * gcc.target/i386/avx512vl-pr88464-11.c: New test. * gcc.target/i386/avx512vl-pr88464-12.c: New test. * gcc.target/i386/avx512vl-pr88464-13.c: New test. * gcc.target/i386/avx512vl-pr88464-14.c: New test. * gcc.target/i386/avx512vl-pr88464-15.c: New test. * gcc.target/i386/avx512vl-pr88464-16.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-5.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-6.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-7.c trunk/gcc/testsuite/gcc.target/i386/avx512f-pr88464-8.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-10.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-11.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-12.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-13.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-14.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-15.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-16.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-5.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-6.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-7.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-8.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-pr88464-9.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386-builtin-types.def trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog