Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/aapcs64/test_dfp_10.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_10.c"
8
9 struct z
10 {
11 _Decimal64 x[4];
12 };
13
14 struct z a = { 5.0dd, 6.0dd, 7.0dd, 8.0dd };
15 struct z b = { 9.0dd, 10.0dd, 11.0dd, 12.0dd };
16
17 #include "abitest.h"
18 #else
19
20 ARG(int, 7, W0)
21 DOTS
22 ANON(struct z, a, D0)
23 ANON(struct z, b, D4)
24 ANON(_Decimal64, 0.5dd, STACK)
25 LAST_ANON(_Decimal64, 1.5dd, STACK+8)
26 #endif