gcc/testsuite/gcc.target/i386/pr103894.c
raw| 1 | /* PR target/103894 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-msse -mno-sse2" } */ |
| 4 | |
| 5 | typedef unsigned char __attribute__((__vector_size__ (32))) V; |
| 6 | typedef unsigned char __attribute__((__vector_size__ (2))) W; |
| 7 | |
| 8 | V v; |
| 9 | |
| 10 | W foo (W w) |
| 11 | { |
| 12 | return __builtin_shufflevector (v, w, 3, 4); |
| 13 | } |