blob: d148482981c2fe999818eef673c41bce965ffbe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* Test AAPCS64 layout and __builtin_va_arg.
Miscellaneous test: HFA anonymous parameter passed in SIMD/FP regs. */
/* { dg-do run { target aarch64*-*-* } } */
#ifndef IN_FRAMEWORK
#define AAPCS64_TEST_STDARG
#define TESTFILE "va_arg-8.c"
struct z
{
double x[4];
};
struct z a = { 5.0, 6.0, 7.0, 8.0 };
#include "abitest.h"
#else
ARG(int, 0xdeadbeef, W0, LAST_NAMED_ARG_ID)
DOTS
ANON(double, 4.0, D0, 1)
LAST_ANON(struct z, a, D1, 2)
#endif
|