Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_11.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_dfp_11.c"
8
9 __complex__ x = 1.0+2.0i;
10
11 struct y
12 {
13 int p;
14 int q;
15 int r;
16 int s;
17 } v = { 1, 2, 3, 4 };
18
19 struct z
20 {
21 _Decimal64 x[4];
22 };
23
24 struct z a = { 5.0dd, 6.0dd, 7.0dd, 8.0dd };
25 struct z b = { 9.0dd, 10.0dd, 11.0dd, 12.0dd };
26
27 #include "abitest.h"
28 #else
29 ARG(_Decimal64, 11.0dd, D0)
30 DOTS
31 ANON(struct z, a, D1)
32 ANON(struct z, b, STACK)
33 LAST_ANON(_Decimal64, 0.5dd, STACK+32)
34 #endif