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 "vfp19.c" 11 12 __complex__ x = 1.0+2.0i; 13 14 #include "abitest.h" 15 #else 16 #if defined (__ARM_BIG_ENDIAN) 17 ARG (__fp16, 1.0f, S0 + 2) 18 #else 19 ARG (__fp16, 1.0f, S0) 20 #endif 21 ARG (float, 2.0f, S1) 22 ARG (__complex__ double, x, D1) 23 ARG (float, 3.0f, S6) 24 #if defined (__ARM_BIG_ENDIAN) 25 ARG (__fp16, 2.0f, S7 + 2) 26 #else 27 ARG (__fp16, 2.0f, S7) 28 #endif 29 LAST_ARG (int, 3, R0) 30 #endif 31