| 1 |
/* Test AAPCS64 layout. |
| 2 |
|
| 3 |
Test parameter passing of floating-point quad precision types. */ |
| 4 |
|
| 5 |
/* { dg-do run { target aarch64*-*-* } } */ |
| 6 |
|
| 7 |
#ifndef IN_FRAMEWORK |
| 8 |
#define TESTFILE "test_quad_double_dfp.c" |
| 9 |
|
| 10 |
typedef _Decimal128 TDtype; |
| 11 |
typedef _Complex long double CTFtype; |
| 12 |
|
| 13 |
TDtype x = 1.0dl; |
| 14 |
TDtype y = 2.0dl; |
| 15 |
|
| 16 |
CTFtype cx = 3.0 + 4.0i; |
| 17 |
CTFtype cy = 5.0 + 6.0i; |
| 18 |
|
| 19 |
#include "abitest.h" |
| 20 |
#else |
| 21 |
ARG ( TDtype, x, Q0) |
| 22 |
ARG (CTFtype, cx, Q1) |
| 23 |
DOTS |
| 24 |
ANON (CTFtype, cy, Q3) |
| 25 |
LAST_ANON ( TDtype, y, Q5) |
| 26 |
#endif |