1 /* Test AAPCS64 layout.
3 Test some small structures that should be passed in GPRs. */
5 /* { dg-do run { target aarch64*-*-* } } */
8 #define TESTFILE "test_26.c"
18 } c2
= { 0xDEADBEEF, 0xCAFEBABE };
23 } c3
= { 56789, 67890, 78901 };
25 typedef float vf2_t
__attribute__((vector_size (8)));
31 typedef short vh4_t
__attribute__((vector_size (8)));
38 #define HAS_DATA_INIT_FUNC
41 s0
.v
= (vf2_t
){ 17.f
, 18.f
};
42 s1
.v
[0] = (vh4_t
){ 345, 456, 567, 678 };
43 s1
.v
[1] = (vh4_t
){ 789, 890, 901, 123 };
48 ARG (struct y0
, c0
, X0
)
49 ARG (struct y2
, c2
, X1
)
50 ARG (struct y3
, c3
, X3
)
51 ARG_NONFLAT (struct x0
, s0
, D0
, f32in64
)
52 ARG (struct x1
, s1
, D1
)
53 LAST_ARG_NONFLAT (int, 89012, X5
, i32in64
)