2014-11-10 Andreas Tobler <andreast@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / aapcs / neon-vect3.c
blob31fb1da9c6a5a851e2b2a754b956ce1d34bd542c
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-vect3.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 */
22 ARG(int32x4x2_t, i32x4x2_constvec1, Q2) /* Q2, Q3 - D4-D6 , s5-s12 */
23 ARG(int32x4x2_t, i32x4x2_constvec2, STACK)
24 ARG(double, 11.0, STACK+sizeof(int32x4x2_t)) /* No backfill in D3. */
25 LAST_ARG(int, 3, R0)
26 #endif