1 /* { dg-do compile } */ 2 /* { dg-options "-mavx512f -O2" } */ 3 /* { dg-final { scan-assembler-times "vpermi2ps\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */ 4 5 #include <immintrin.h> 6 7 volatile __m512 x; 8 volatile __m512i y; 9 volatile __mmask16 m; 10 11 void extern avx512f_test(void)12avx512f_test (void) 13 { 14 x = _mm512_mask2_permutex2var_ps (x, y, m, x); 15 } 16