| 1 |
/* PR target/118017 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-require-effective-target int128 } */ |
| 4 |
/* { dg-require-effective-target dfp } */ |
| 5 |
/* { dg-options "-Og -frounding-math -mno-80387 -mno-mmx -Wno-psabi" } */ |
| 6 |
|
| 7 |
typedef __attribute__((__vector_size__ (64))) _Float128 F; |
| 8 |
typedef __attribute__((__vector_size__ (64))) _Decimal64 G; |
| 9 |
typedef __attribute__((__vector_size__ (64))) _Decimal128 H; |
| 10 |
|
| 11 |
void |
| 12 |
bar(_Float32, _BitInt(1025), _BitInt(1025), _Float128, __int128, __int128, F, |
| 13 |
int, int, G, _Float64, __int128, __int128, H, F); |
| 14 |
|
| 15 |
|
| 16 |
void |
| 17 |
foo () |
| 18 |
{ |
| 19 |
bar ((__int128)68435455, 0, 0, 0, 0, 0, (F){}, 0, 0, (G){3689348814741910323}, |
| 20 |
0, 0, 0, (H){0, (_Decimal128) ((__int128) 860933398830926 << 64), |
| 21 |
(_Decimal128) ((__int128) 966483857959145 << 64), 4}, |
| 22 |
(F){(__int128) 3689348814741910323 << 64 | 3}); |
| 23 |
} |