From 9435cd52b3180e6171c0f738fe7e8ffd79dd9b28 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 22 Nov 2016 17:54:13 +0100 Subject: [PATCH] re PR target/78451 (FAIL: gcc.target/i386/sse-22a.c: error: inlining failed in call to always_inline '_mm512_setzero_ps') PR target/78451 * gcc.target/i386/sse-22.c: Add avx5124fmaps,avx5124vnniw to GCC target pragma before including immintrin.h. From-SVN: r242708 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/i386/sse-22.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e6c41c4d855..d18ad6dba08 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-11-22 Jakub Jelinek + + PR target/78451 + * gcc.target/i386/sse-22.c: Add avx5124fmaps,avx5124vnniw to + GCC target pragma before including immintrin.h. + 2016-11-22 Carl Love * gcc.target/powerpc/builtins-3.c: New file to test the new diff --git a/gcc/testsuite/gcc.target/i386/sse-22.c b/gcc/testsuite/gcc.target/i386/sse-22.c index 256d933faec..44d48fd63c1 100644 --- a/gcc/testsuite/gcc.target/i386/sse-22.c +++ b/gcc/testsuite/gcc.target/i386/sse-22.c @@ -218,7 +218,7 @@ test_4 (_mm_cmpestrz, int, __m128i, int, __m128i, int, 1) /* immintrin.h (AVX/AVX2/RDRND/FSGSBASE/F16C/RTM/AVX512F/SHA) */ #ifdef DIFFERENT_PRAGMAS -#pragma GCC target ("avx,avx2,rdrnd,fsgsbase,f16c,rtm,avx512f,avx512er,avx512cd,avx512pf,sha,avx512vl,avx512bw,avx512dq,avx512ifma,avx512vbmi") +#pragma GCC target ("avx,avx2,rdrnd,fsgsbase,f16c,rtm,avx512f,avx512er,avx512cd,avx512pf,sha,avx512vl,avx512bw,avx512dq,avx512ifma,avx512vbmi,avx5124fmaps,avx5124vnniw") #endif #include test_1 (_cvtss_sh, unsigned short, float, 1) -- 2.30.2