gcc/testsuite/gcc.target/i386/pr111068.c
raw| 1 | /* PR target/111068 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-ffloat-store -mavx10.1" } */ |
| 4 | /* { 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 } */ |
| 5 | |
| 6 | typedef _Float16 __attribute__((__vector_size__ (8))) V; |
| 7 | V u, v, w; |
| 8 | |
| 9 | void |
| 10 | foo (void) |
| 11 | { |
| 12 | v /= __builtin_shufflevector (w, u, 3, 3, 6, 1); |
| 13 | } |