| 1 |
/* { dg-do compile { target int128 } } */ |
| 2 |
/* { dg-options "-march=rv64gv -mabi=lp64d -mrvv-vector-bits=zvl" { target { rv64 } } } */ |
| 3 |
|
| 4 |
__int128 h, j; |
| 5 |
int y; |
| 6 |
double d; |
| 7 |
void *p; |
| 8 |
char *q; |
| 9 |
char x; |
| 10 |
long u; |
| 11 |
|
| 12 |
char *bar(int, int); |
| 13 |
|
| 14 |
typedef __attribute__((__vector_size__ (2))) char V; |
| 15 |
|
| 16 |
void |
| 17 |
foo(V v) |
| 18 |
{ |
| 19 |
x += *bar (0, 0); |
| 20 |
for(;;) { |
| 21 |
__builtin_strcat (p, 7 + q); |
| 22 |
d += __builtin_stdc_rotate_left ( |
| 23 |
(unsigned __int128) u | h << *__builtin_strcat (p, 7 + q), j); |
| 24 |
u += (long) __builtin_memmove (&y, &v, 2); |
| 25 |
} |
| 26 |
} |