1 /* PR target/79568 */
2 /* { dg-do compile } */
3 /* { dg-options "-mno-avx512vl -mavx512bw -O2" } */
4
5 #pragma GCC push_options
6 #pragma GCC target ("avx512vl,avx512bw")
7 void
foo(char * x,char * y,int z)8 foo (char __attribute__ ((__vector_size__(32))) *x, char __attribute__ ((__vector_size__(32))) *y, int z)
9 {
10 __builtin_ia32_storedquqi256_mask (x, *y, z);
11 }
12 #pragma GCC pop_options
13
14 void
bar(char * x,char * y,int z)15 bar (char __attribute__ ((__vector_size__(32))) *x, char __attribute__ ((__vector_size__(32))) *y, int z)
16 {
17 __builtin_ia32_storedquqi256_mask (x, *y, z); /* { dg-error "needs isa option" } */
18 }
19