2014-11-10 Andreas Tobler <andreast@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / aapcs / neon-vect2.c
blobf5d460968607c98c5500135e52d7ea4bc3fabc6f
1 /* Test AAPCS layout (VFP variant for Neon types) */
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 arm32 } */
7 /* { dg-add-options arm_neon } */
10 #ifndef IN_FRAMEWORK
11 #define VFP
12 #define NEON
13 #define TESTFILE "neon-vect2.c"
14 #include "neon-constants.h"
17 #include "abitest.h"
18 #else
20 ARG(int32x4_t, i32x4_constvec2, Q0) /* D0, D1. */
21 ARG(float, 3.0f, S4) /* D2, Q1 occupied. */
22 LAST_ARG(int, 3, R0)
23 #endif