Debian Codegraph @

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

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=x86-64 -mavx10.1-256" } */
3 /* { dg-warning "'-mavx10.1' is aliased to 512 bit since GCC14.3 and GCC15.1 while '-mavx10.1-256' and '-mavx10.1-512' will be deprecated in GCC 16 due to all machines 512 bit vector size supported" "" { target *-*-* } 0 } */
4 /* { dg-final { scan-assembler "%zmm" } } */
5
6 typedef double __m512d __attribute__ ((__vector_size__ (64), __may_alias__));
7
8 __attribute__ ((target ("avx512f"))) __m512d
9 foo ()
10 { /* { dg-warning "Vector size conflicts between AVX10.1 and AVX512, using 512 as max vector size" } */
11 __m512d a, b;
12 a = a + b;
13 return a;
14 }