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-require-effective-target arm_fp16_alternative_ok } */
7 /* { dg-add-options arm_fp16_alternative }  */
8 
9 #ifndef IN_FRAMEWORK
10 #define VFP
11 #define TESTFILE "vfp23.c"
12 
13 __complex__ x = 1.0+2.0i;
14 
15 #include "abitest.h"
16 #else
17 #if defined (__ARM_BIG_ENDIAN)
18 ARG (__fp16, 1.0f, S0 + 2)
19 #else
20 ARG (__fp16, 1.0f, S0)
21 #endif
22 ARG (float, 2.0f, S1)
23 ARG (__complex__ double, x, D1)
24 ARG (float, 3.0f, S6)
25 #if defined (__ARM_BIG_ENDIAN)
26 ARG (__fp16, 2.0f, S7 + 2)
27 #else
28 ARG (__fp16, 2.0f, S7)
29 #endif
30 LAST_ARG (int, 3, R0)
31 #endif
32