gcc/testsuite/gcc.target/i386/pr104664.c
raw| 1 | /* { dg-do compile { target { ! ia32 } } } */ |
| 2 | /* { dg-options "-march=x86-64 -mtune=generic -Og -ffinite-math-only" } */ |
| 3 | |
| 4 | typedef _Float128 __attribute__((__vector_size__ (16))) U; |
| 5 | typedef _Float128 __attribute__((__vector_size__ (32))) V; |
| 6 | typedef _Float16 __attribute__((__vector_size__ (16))) W; |
| 7 | |
| 8 | U u; |
| 9 | V v; |
| 10 | W w; |
| 11 | |
| 12 | void |
| 13 | foo (void) |
| 14 | { |
| 15 | w *= (W)(u == __builtin_shufflevector (v, u, 2)); |
| 16 | } |