| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -fsched2-use-superblocks -fcompare-debug -Wno-psabi" } */ |
| 3 |
|
| 4 |
typedef char __attribute__((__vector_size__ (64))) U; |
| 5 |
typedef short __attribute__((__vector_size__ (64))) V; |
| 6 |
typedef int __attribute__((__vector_size__ (64))) W; |
| 7 |
|
| 8 |
char c; |
| 9 |
U a; |
| 10 |
U *r; |
| 11 |
W foo0_v512u32_0; |
| 12 |
|
| 13 |
void |
| 14 |
foo (W) |
| 15 |
{ |
| 16 |
U u; |
| 17 |
V v; |
| 18 |
W w = __builtin_shuffle (foo0_v512u32_0, foo0_v512u32_0); |
| 19 |
u = |
| 20 |
__builtin_shufflevector (a, u, 3, 0, 4, 9, 9, 6, 7, 8, 5, |
| 21 |
0, 6, 1, 8, 1, 2, 8, 6, |
| 22 |
1, 8, 4, 9, 3, 8, 4, 6, 0, 9, 0, 1, 8, 2, 3, 3, |
| 23 |
0, 4, 9, 9, 6, 7, 8, 5, |
| 24 |
0, 6, 1, 8, 1, 2, 8, 6, |
| 25 |
1, 8, 4, 9, 3, 8, 4, 6, 0, 9, 0, 1, 8, 2, 3); |
| 26 |
v *= c; |
| 27 |
w &= c; |
| 28 |
*r = (U) v + (U) w; |
| 29 |
} |