gcc/testsuite/gcc.target/i386/sse-pr101007.c
raw| 1 | /* PR target/101007 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O2 -msse -mno-sse2" } */ |
| 4 | |
| 5 | typedef unsigned __attribute__((__vector_size__ (8))) U; |
| 6 | typedef unsigned __attribute__((__vector_size__ (16))) V; |
| 7 | V v; |
| 8 | U *p; |
| 9 | |
| 10 | void |
| 11 | foo (void) |
| 12 | { |
| 13 | *p = (U) __builtin_shufflevector ((V)(0 == (V){} >= 0), v, 4, 2); |
| 14 | } |