| 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_ok } */ |
| 6 |
/* { dg-require-effective-target arm_neon_hw } */ |
| 7 |
/* { dg-require-effective-target arm32 } */ |
| 8 |
/* { dg-add-options arm_neon } */ |
| 9 |
|
| 10 |
|
| 11 |
#ifndef IN_FRAMEWORK |
| 12 |
#define VFP |
| 13 |
#define NEON |
| 14 |
#define TESTFILE "neon-vect4.c" |
| 15 |
#include "neon-constants.h" |
| 16 |
|
| 17 |
|
| 18 |
#include "abitest.h" |
| 19 |
#else |
| 20 |
|
| 21 |
ARG(int32x4_t, i32x4_constvec2, Q0) /* D0, D1 */ |
| 22 |
ARG(float, 3.0f, S4) /* D2, Q1 */ |
| 23 |
ARG(int32x4x2_t, i32x4x2_constvec1, Q2) /* Q2, Q3 - D4-D6 , s5-s12 */ |
| 24 |
ARG(double, 12.0, D3) /* Backfill this particular argument. */ |
| 25 |
ARG(float, 5.0f, S5) /* Backfill in S5. */ |
| 26 |
ARG(int32x4x2_t, i32x4x2_constvec2, STACK) |
| 27 |
LAST_ARG(int, 3, R0) |
| 28 |
#endif |