1 /* { dg-do run } */ 2 /* { dg-options "-O2 -mavx512f" } */ 3 /* { dg-require-effective-target avx512f } */ 4 5 #include "avx512f-check.h" 6 7 void avx512f_test()8avx512f_test () 9 { 10 __mmask16 k1 = 1; 11 unsigned int i = 10; 12 13 volatile __mmask16 r = _kshiftli_mask16 (k1, i); 14 if (r != 1 << i) 15 abort (); 16 } 17