Debian Codegraph @

gcc/testsuite/gcc.target/arm/aapcs/neon-vect10.c

raw
1 /* Test AAPCS layout (VFP variant for Neon types) */
2
3 /* { dg-do run { target arm_eabi } } */
4 /* { dg-require-effective-target arm_hard_vfp_ok } */
5 /* { dg-require-effective-target arm_neon_fp16_hw } */
6 /* { dg-add-options arm_neon_fp16 } */
7
8 #ifndef IN_FRAMEWORK
9 #define VFP
10 #define NEON
11 #define TESTFILE "neon-vect10.c"
12 #include "neon-constants.h"
13
14 #include "abitest.h"
15 #else
16
17 ARG (int32x4_t, i32x4_constvec2, Q0) /* D0, D1. */
18 #if defined (__ARM_BIG_ENDIAN)
19 ARG (__fp16, 3.0f, S4 + 2) /* D2, Q1. */
20 #else
21 ARG (__fp16, 3.0f, S4) /* D2, Q1. */
22 #endif
23 ARG (int32x4x2_t, i32x4x2_constvec1, Q2) /* Q2, Q3 - D4-D6 , s5-s12. */
24 ARG (double, 12.0, D3) /* Backfill this particular argument. */
25 #if defined (__ARM_BIG_ENDIAN)
26 ARG (__fp16, 5.0f, S5 + 2) /* Backfill in S5. */
27 #else
28 ARG (__fp16, 5.0f, S5) /* Backfill in S5. */
29 #endif
30 ARG (int32x4x2_t, i32x4x2_constvec2, STACK)
31 LAST_ARG (int, 3, R0)
32 #endif