* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-vpermi2pd-1.c
blobe2b74cc9910e23f67fd4cb2be9456fca90d2addd
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512f -O2" } */
3 /* { dg-final { scan-assembler-times "vpermi2pd\[ \\t\]+\[^\n\]*%zmm\[0-9\]\{%k\[1-7\]\}\[^\{\]" 1 } } */
5 #include <immintrin.h>
7 volatile __m512d x;
8 volatile __m512i y;
9 volatile __mmask8 m;
11 void extern
12 avx512f_test (void)
14 x = _mm512_mask2_permutex2var_pd (x, y, m, x);