Debian Codegraph @

gcc/testsuite/gcc.target/arm/cmse/mainline/8_1m/union-3.c

raw
1
2 /* { dg-do compile } */
3 /* { dg-options "-mcmse" } */
4 /* { dg-final { check-function-bodies "**" "" } } */
5
6 #include "../../union-3.x"
7
8 /*
9 ** fn_caller_0:
10 ** ...
11 ** lsrs r3, r3, #1
12 ** lsls r3, r3, #1
13 ** push {r4, r5, r6, r7, r8, r9, r10, fp}
14 This test is not meant to be to test the FP clearing, so accept any, preventing
15 the need to specialize the test further for different float-abi's
16 ** ...
17 ** clrm {r2, r4, r5, r6, r7, r8, r9, r10, fp, ip, APSR}
18 ** blxns r3
19 ** ...
20 */
21
22 /*
23 ** fn_caller_1:
24 ** ...
25 ** lsrs r3, r3, #1
26 ** lsls r3, r3, #1
27 ** push {r4, r5, r6, r7, r8, r9, r10, fp}
28 ** ...
29 ** clrm {r1, r2, r4, r5, r6, r7, r8, r9, r10, fp, ip, APSR}
30 ** blxns r3
31 ** ...
32 */