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