| 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-vect9.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 occupied. */ |
| 20 |
#else |
| 21 |
ARG (__fp16, 3.0f, S4) /* D2, Q1 occupied. */ |
| 22 |
#endif |
| 23 |
LAST_ARG (int, 3, R0) |
| 24 |
#endif |