gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_3.c
raw| 1 | /* Test AAPCS layout (VFP variant) */ |
| 2 | |
| 3 | /* { dg-do run { target aarch64*-*-* } } */ |
| 4 | |
| 5 | #ifndef IN_FRAMEWORK |
| 6 | #define VFP |
| 7 | #define TESTFILE "test_dfp_3.c" |
| 8 | |
| 9 | __complex__ x = 1.0+2.0i; |
| 10 | |
| 11 | #include "abitest.h" |
| 12 | #else |
| 13 | ARG (_Decimal32, 1.0df, S0) |
| 14 | ARG (__complex__ double, x, D1) |
| 15 | ARG (_Decimal32, 2.0df, S3) |
| 16 | ARG (_Decimal64, 5.0dd, D4) |
| 17 | LAST_ARG_NONFLAT (int, 3, X0, i32in64) |
| 18 | #endif |