Debian Codegraph @

gcc/testsuite/gcc.target/i386/avx10_1-14.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=x86-64 -mavx512f" } */
3 /* { dg-final { scan-assembler "%zmm" } } */
4
5 typedef double __m512d __attribute__ ((__vector_size__ (64), __may_alias__));
6
7 __attribute__ ((target ("avx10.1-256"))) __m512d
8 foo ()
9 { /* { dg-warning "Vector size conflicts between AVX10.1 and AVX512, using 512 as max vector size" } */
10 __m512d a, b;
11 a = a + b;
12 return a;
13 }