aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-spu/ovl.s
blob: 2ca380a65fef679f1e61b821845434ef4f4d3b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
 .text
 .p2align 2
 .globl _start
_start:
 ai sp,sp,-32
 xor lr,lr,lr
 stqd lr,0(sp)
 stqd lr,16(sp)
 brsl lr,f1_a1
 brsl lr,f2_a1
 brsl lr,f1_a2
 ila 9,f2_a2
 bisl lr,9
 ai sp,sp,32
 br _start

 .type f0,@function
f0:
 bi lr
 .size f0,.-f0

 .section .ov_a1,"ax",@progbits
 .p2align 2
 .global f1_a1
 .type f1_a1,@function
f1_a1:
 br f3_a1
 .size f1_a1,.-f1_a1

 .global f2_a1
 .type f2_a1,@function
f2_a1:
 ila 3,f4_a1
 bi lr
 .size f2_a1,.-f2_a1

 .global f3_a1
 .type f3_a1,@function
f3_a1:
 bi lr
 .size f3_a1,.-f3_a1

 .global f4_a1
 .type f4_a1,@function
f4_a1:
 bi lr
 .size f4_a1,.-f4_a1


 .section .ov_a2,"ax",@progbits
 .p2align 2
 .global f1_a2
 .type f1_a2,@function
f1_a2:
 stqd lr,16(sp)
 stqd sp,-32(sp)
 ai sp,sp,-32
 brsl lr,f0
 brsl lr,f1_a1
 brsl lr,f3_a2
 lqd lr,48(sp)
 ai sp,sp,32
 bi lr
 .size f1_a2,.-f1_a2

 .global f2_a2
 .type f2_a2,@function
f2_a2:
 ilhu 3,f4_a2@h
 iohl 3,f4_a2@l
 bi lr
 .size f2_a2,.-f2_a2

 .type f3_a2,@function
f3_a2:
 bi lr
 .size f3_a2,.-f3_a2

 .type f4_a2,@function
f4_a2:
 br f3_a2
 .size f4_a2,.-f4_a2