Debian Codegraph @

gcc/testsuite/gcc.target/arm/cmse/mainline/8m/hard-sp/cmse-5.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */
3 /* { dg-skip-if "Incompatible float ABI" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=hard" } } */
4 /* { dg-skip-if "Skip these if testing double precision" {*-*-*} {"-mfpu=fpv[4-5]-d16"} {""} } */
5 /* { dg-final { check-function-bodies "**" "" "" } } */
6
7 #include "../../../cmse-5.x"
8
9 /*
10 ** __acle_se_foo:
11 **...
12 ** (
13 ** mov r0, lr
14 ** mov r1, lr
15 ** mov r2, lr
16 ** mov r3, lr
17 ** ...
18 ** vmov.f32 s1, #1\.0e\+0
19 ** vmov.f32 s2, #1\.0e\+0
20 ** vmov.f32 s3, #1\.0e\+0
21 ** vmov.f32 s4, #1\.0e\+0
22 ** vmov.f32 s5, #1\.0e\+0
23 ** vmov.f32 s6, #1\.0e\+0
24 ** vmov.f32 s7, #1\.0e\+0
25 ** vmov.f32 s8, #1\.0e\+0
26 ** vmov.f32 s9, #1\.0e\+0
27 ** vmov.f32 s10, #1\.0e\+0
28 ** vmov.f32 s11, #1\.0e\+0
29 ** vmov.f32 s12, #1\.0e\+0
30 ** vmov.f32 s13, #1\.0e\+0
31 ** vmov.f32 s14, #1\.0e\+0
32 ** vmov.f32 s15, #1\.0e\+0
33 ** |
34 ** vmov.f32 s1, #1\.0e\+0
35 ** vmov.f32 s2, #1\.0e\+0
36 ** vmov.f32 s3, #1\.0e\+0
37 ** vmov.f32 s4, #1\.0e\+0
38 ** vmov.f32 s5, #1\.0e\+0
39 ** vmov.f32 s6, #1\.0e\+0
40 ** vmov.f32 s7, #1\.0e\+0
41 ** vmov.f32 s8, #1\.0e\+0
42 ** vmov.f32 s9, #1\.0e\+0
43 ** vmov.f32 s10, #1\.0e\+0
44 ** vmov.f32 s11, #1\.0e\+0
45 ** vmov.f32 s12, #1\.0e\+0
46 ** vmov.f32 s13, #1\.0e\+0
47 ** vmov.f32 s14, #1\.0e\+0
48 ** vmov.f32 s15, #1\.0e\+0
49 ** ...
50 ** mov r0, lr
51 ** mov r1, lr
52 ** mov r2, lr
53 ** mov r3, lr
54 ** )
55 ** msr APSR_nzcvqg?, lr
56 ** push (\{r4\})
57 ** vmrs ip, fpscr
58 ** movw r4, #65376
59 ** movt r4, #4095
60 ** and ip, r4
61 ** vmsr fpscr, ip
62 ** pop \1
63 ** mov ip, lr
64 ** bxns lr
65 */
66
67 /* { dg-final { scan-assembler-not "vmov\.f32\ts0, #1\.0e\+0" } } */