2014-11-10 Andreas Tobler <andreast@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / aapcs / vfp1.c
blobef7c3b5667e65b0ea5409ea7d6bf62158cf043fd
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 "vfp1.c"
11 #include "abitest.h"
13 #else
14 ARG(int, 4, R0)
15 ARG(double, 4.0, D0)
16 LAST_ARG(int, 3, R1)
17 #endif