2014-11-10 Andreas Tobler <andreast@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / aapcs / vfp3.c
blobe81ac1c2714f097540c50b9005f42aa05b08f0b9
1 /* Test AAPCS layout (VFP variant) */
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" } */
8 #ifndef IN_FRAMEWORK
9 #define VFP
10 #define TESTFILE "vfp3.c"
12 __complex__ x = 1.0+2.0i;
14 #include "abitest.h"
15 #else
16 ARG(float, 1.0f, S0)
17 ARG(__complex__ double, x, D1)
18 ARG(float, 2.0f, S1)
19 ARG(double, 5.0, D3)
20 LAST_ARG(int, 3, R0)
21 #endif