| 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 arm32 } */ |
| 6 |
/* { dg-options "-O -mfpu=vfp -mfloat-abi=hard" } */ |
| 7 |
|
| 8 |
#ifndef IN_FRAMEWORK |
| 9 |
#define VFP |
| 10 |
#define TESTFILE "test_4.c" |
| 11 |
|
| 12 |
__complex__ float x = 1.0f + 2.0fi; |
| 13 |
#include "abitest.h" |
| 14 |
#else |
| 15 |
ARG (float, 1.0f, S0) |
| 16 |
ARG (__complex__ float, x, S1) |
| 17 |
ARG (float, 2.0f, S3) |
| 18 |
ARG (double, 5.0, D4) |
| 19 |
LAST_ARG_NONFLAT (int, 3, X0, i32in64) |
| 20 |
#endif |