| 1 |
/* { dg-require-effective-target int32 } */ |
| 2 |
|
| 3 |
typedef char __attribute__((__vector_size__ (64))) U; |
| 4 |
typedef int __attribute__((__vector_size__ (64))) V; |
| 5 |
|
| 6 |
int g; |
| 7 |
U u; |
| 8 |
|
| 9 |
static inline __attribute__((__always_inline__)) void |
| 10 |
bar (short a, short b, V w) |
| 11 |
{ |
| 12 |
V v = __builtin_shufflevector ((V) { }, a % (0 != w), 17, 22, 20, 15, |
| 13 |
20, 23, 17, 20, 16, 21, 16, 19, 18, 14, 15, |
| 14 |
14) ^ b; |
| 15 |
g *= __builtin_memcmp_eq (0, 0, 2); |
| 16 |
v |= 6; |
| 17 |
__builtin_ilogb (0); |
| 18 |
u = (U) w + (U) v; |
| 19 |
} |
| 20 |
|
| 21 |
void |
| 22 |
foo (void) |
| 23 |
{ |
| 24 |
bar (5, 4, (V){30, 4, 1, 5, 6}); |
| 25 |
} |