(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
aapcs/
vfp20.c
       1  /* Test AAPCS layout (VFP variant)  */
       2  
       3  /* { dg-do run { target arm_eabi } }  */
       4  /* { dg-require-effective-target arm_hard_vfp_ok }  */
       5  /* { dg-require-effective-target arm_fp16_hw }  */
       6  /* { dg-add-options arm_fp16_ieee }  */
       7  
       8  #ifndef IN_FRAMEWORK
       9  #define VFP
      10  #define TESTFILE "vfp20.c"
      11  
      12  #define PCSATTR __attribute__((pcs("aapcs")))
      13  
      14  #include "abitest.h"
      15  #else
      16  ARG (float, 1.0f, R0)
      17  ARG (double, 2.0, R2)
      18  ARG (float, 3.0f, STACK)
      19  ARG (__fp16, 2.0f, STACK+4)
      20  LAST_ARG (double, 4.0, STACK+8)
      21  #endif
      22