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