diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastq-2.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastq-2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastq-2.c b/gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastq-2.c index 4518f6ef4fb..9cfa63d98b1 100644 --- a/gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastq-2.c +++ b/gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastq-2.c @@ -9,6 +9,7 @@ #define SIZE (AVX512F_LEN / 64) #include "avx512f-mask-type.h" +static void CALC (long long *r, long long *s) { int i; @@ -18,7 +19,7 @@ CALC (long long *r, long long *s) } } -void static +void TEST (void) { int i, sign; @@ -53,7 +54,9 @@ TEST (void) if (UNION_CHECK (AVX512F_LEN, i_q) (res3, res_ref)) abort (); +#if AVX512F_LEN == 512 res1.x = INTRINSIC (_set1_epi64) (src.a[0]); +#endif res2.x = INTRINSIC (_mask_set1_epi64) (res2.x, mask, src.a[0]); res3.x = INTRINSIC (_maskz_set1_epi64) (mask, src.a[0]); |