* config/i386/avx512fintrin.h (_mm512_set_epi16, _mm512_set_epi8,
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / aapcs64 / va_arg-9.c
bloba5183bef44ef68cb145c836ebcae555bd78a8050
1 /* Test AAPCS64 layout and __builtin_va_arg.
3 Miscellaneous test: HFA anonymous parameter passed in SIMD/FP regs. */
5 /* { dg-do run { target aarch64*-*-* } } */
7 #ifndef IN_FRAMEWORK
8 #define AAPCS64_TEST_STDARG
9 #define TESTFILE "va_arg-9.c"
11 struct z
13 double x[4];
16 double d1 = 25.0;
17 struct z a = { 5.0, 6.0, 7.0, 8.0 };
18 struct z b = { 9.0, 10.0, 11.0, 12.0 };
20 #include "abitest.h"
21 #else
22 ARG(double, 11.0, D0, LAST_NAMED_ARG_ID)
23 DOTS
24 ANON(int, 8, W0, 1)
25 ANON(struct z, a, D1, 2)
26 ANON(struct z, b, STACK, 3)
27 ANON(int, 5, W1, 4)
28 ANON(double, d1, STACK+32, 5)
29 LAST_ANON(double, 0.5, STACK+40, 6)
31 #endif