Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/aapcs64/test_9.c

raw
1 /* Test AAPCS layout (VFP variant) */
2
3 /* { dg-do run { target aarch64*-*-* } } */
4
5 #ifndef IN_FRAMEWORK
6 #define VFP
7 #define TESTFILE "test_9.c"
8
9 struct y
10 {
11 int p;
12 int q;
13 int r;
14 int s;
15 } v = { 1, 2, 3, 4 };
16
17 struct z
18 {
19 double x[4];
20 };
21
22 struct z a = { 5.0, 6.0, 7.0, 8.0 };
23 struct z b = { 9.0, 10.0, 11.0, 12.0 };
24
25 #include "abitest.h"
26 #else
27 ARG(int, 7, W0)
28 ARG(struct y, v, X1)
29 ARG(struct z, a, D0)
30 ARG(struct z, b, D4)
31 LAST_ARG(double, 0.5, STACK)
32 #endif