Debian Codegraph @

gcc/testsuite/gcc.target/arm/aapcs/vfp18.c

raw
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 "vfp18.c"
11 #include "abitest.h"
12
13 #else
14 #if defined (__ARM_BIG_ENDIAN)
15 ARG (__fp16, 1.0f, S0 + 2)
16 #else
17 ARG (__fp16, 1.0f, S0)
18 #endif
19 ARG (float, 2.0f, S1)
20 ARG (double, 4.0, D1)
21 ARG (float, 2.0f, S4)
22 #if defined (__ARM_BIG_ENDIAN)
23 ARG (__fp16, 1.0f, S5 + 2)
24 #else
25 ARG (__fp16, 1.0f, S5)
26 #endif
27 LAST_ARG (int, 3, R0)
28 #endif