(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
aapcs64/
va_arg_dfp-14.c
       1  /* Test AAPCS64 layout and __builtin_va_start.
       2  
       3     Pass named HFA/HVA argument on stack.  */
       4  
       5  /* { dg-do run { target aarch64*-*-* } } */
       6  
       7  #ifndef IN_FRAMEWORK
       8  #define AAPCS64_TEST_STDARG
       9  #define TESTFILE "va_arg_dfp-14.c"
      10  #include "type-def.h"
      11  
      12  struct hfa_dfx2_t hfa_dfx2 = {1.2df, 2.2df};
      13  struct hfa_dfx3_t hfa_dfx3 = {3.2df, 4.2df, 5.2df};
      14  vf4_t float32x4 = {6.2f, 7.2f, 8.2f, 9.2f};
      15  vf4_t float32x4_2 = {10.2f, 11.2f, 12.2f, 13.2f};
      16  
      17  #include "abitest.h"
      18  #else
      19    ARG (_Decimal32, 1.0df, S0, 0)
      20    ARG (_Decimal32, 2.0df, S1, 1)
      21    ARG (_Decimal32, 3.0df, S2, 2)
      22    ARG (_Decimal32, 4.0df, S3, 3)
      23    ARG (_Decimal32, 5.0df, S4, 4)
      24    ARG (_Decimal32, 6.0df, S5, 5)
      25    ARG (_Decimal32, 7.0df, S6, 6)
      26    ARG (struct hfa_dfx3_t, hfa_dfx3, STACK, 7)
      27    /* Previous argument size has been rounded up to the nearest multiple of
      28       8 bytes.  */
      29    ARG (struct hfa_dfx2_t, hfa_dfx2, STACK + 16, 8)
      30    /* NSAA is rounded up to the nearest natural alignment of float32x4.  */
      31    ARG (vf4_t, float32x4, STACK + 32, 9)
      32    ARG (vf4_t, float32x4_2, STACK + 48, LAST_NAMED_ARG_ID)
      33    DOTS
      34    LAST_ANON (_Decimal64, 123456789.987dd, STACK + 64, 11)
      35  #endif