gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_24.c
raw| 1 | /* Test AAPCS64 layout. */ |
| 2 | |
| 3 | /* { dg-do run { target aarch64*-*-* } } */ |
| 4 | |
| 5 | #ifndef IN_FRAMEWORK |
| 6 | #define TESTFILE "test_dfp_24.c" |
| 7 | |
| 8 | typedef _Decimal128 TDtype; |
| 9 | |
| 10 | #include "abitest.h" |
| 11 | #else |
| 12 | ARG(TDtype, 1.0dl, Q0) |
| 13 | ARG(TDtype, 2.0dl, Q1) |
| 14 | ARG(TDtype, 3.0dl, Q2) |
| 15 | ARG(TDtype, 4.0dl, Q3) |
| 16 | ARG(TDtype, 5.0dl, Q4) |
| 17 | ARG(TDtype, 6.0dl, Q5) |
| 18 | ARG(TDtype, 7.0dl, Q6) |
| 19 | ARG(TDtype, 8.0dl, Q7) |
| 20 | ARG(_Decimal64, 9.0dd, STACK) |
| 21 | LAST_ARG(TDtype, 10.0dl, STACK+16) |
| 22 | #endif |