2014-11-10 Andreas Tobler <andreast@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / aapcs / neon-vect8.c
blob578a3d3259ae49d5ccc430da9f767b69102edc19
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-vect8.c"
14 #include "neon-constants.h"
17 #include "abitest.h"
18 #else
20 ARG(float, 24.3f, S0) /* S0 , D0, Q0 */
21 ARG(int32x2_t, i32x2_constvec1, D1) /* D1 */
22 ARG(double, 25.6, D2)
23 ARG(float, 12.67f, S1)
24 ARG(int32x4x3_t, i32x4x3_constvec2, STACK)
25 ARG(double, 2.47, STACK+sizeof(int32x4x3_t))
26 LAST_ARG(int, 3, R0)
27 #endif