| 1 |
/* { dg-do compile { target int128 } } */ |
| 2 |
/* { dg-options "-O2 -flive-range-shrinkage -fno-peephole2 -mstackrealign -Wno-psabi" } */ |
| 3 |
|
| 4 |
typedef char U __attribute__((vector_size (32))); |
| 5 |
typedef unsigned V __attribute__((vector_size (32))); |
| 6 |
typedef __int128 W __attribute__((vector_size (32))); |
| 7 |
U g; |
| 8 |
|
| 9 |
W baz (); |
| 10 |
|
| 11 |
static inline U |
| 12 |
bar (V x, W y) |
| 13 |
{ |
| 14 |
y = y | y << (W) x; |
| 15 |
return (U)y; |
| 16 |
} |
| 17 |
|
| 18 |
void |
| 19 |
foo (W w) |
| 20 |
{ |
| 21 |
g = g << |
| 22 |
bar ((V){baz ()[1], 3, 3, 5, 7}, |
| 23 |
(W){w[0], ~(int) 2623676210}) >> |
| 24 |
bar ((V){baz ()[1]}, |
| 25 |
(W){-w[0], ~(int) 2623676210}); |
| 26 |
} |