aboutsummaryrefslogtreecommitdiffstats
path: root/lcc/alpha/osf/tst/incr.sbk
blob: 33866833a040019aca67fbd7684226b3b658554c (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.globl main
.text
.text
.ent main
main:
ldgp $gp,0($27)
lda $sp,-64($sp)
.frame $sp,64,$26,48
.prologue 1
mov $31,$0
L.1:
lda $sp,64($sp)
ret
.end main
.globl memchar
.text
.ent memchar
memchar:
ldgp $gp,0($27)
lda $sp,-96($sp)
.mask 0x5000000,-88
.frame $sp,96,$26,48
stq $24,0($sp)
stq $26,8($sp)
.prologue 1
ldq $27,-72+96($sp)
lda $25,1($27)
stq $25,-72+96($sp)
ldb $27,($27)
stb $27,-57+96($sp)
ldq $27,-72+96($sp)
lda $27,1($27)
stq $27,-72+96($sp)
ldb $27,($27)
stb $27,-57+96($sp)
ldq $27,-72+96($sp)
lda $25,-1($27)
stq $25,-72+96($sp)
ldb $27,($27)
stb $27,-57+96($sp)
ldq $27,-72+96($sp)
lda $27,-1($27)
stq $27,-72+96($sp)
ldb $27,($27)
stb $27,-57+96($sp)
mov $31,$0
L.2:
ldq $24,0($sp)
ldq $26,8($sp)
lda $sp,96($sp)
ret
.end memchar
.globl memint
.text
.ent memint
memint:
ldgp $gp,0($27)
lda $sp,-80($sp)
.frame $sp,80,$26,48
.prologue 1
ldq $27,-72+80($sp)
lda $25,4($27)
stq $25,-72+80($sp)
ldl $27,($27)
stl $27,-60+80($sp)
ldq $27,-72+80($sp)
lda $27,4($27)
stq $27,-72+80($sp)
ldl $27,($27)
stl $27,-60+80($sp)
ldq $27,-72+80($sp)
lda $25,-4($27)
stq $25,-72+80($sp)
ldl $27,($27)
stl $27,-60+80($sp)
ldq $27,-72+80($sp)
lda $27,-4($27)
stq $27,-72+80($sp)
ldl $27,($27)
stl $27,-60+80($sp)
mov $31,$0
L.3:
lda $sp,80($sp)
ret
.end memint
.globl regchar
.text
.ent regchar
regchar:
ldgp $gp,0($27)
lda $sp,-96($sp)
.mask 0x5006000,-72
.frame $sp,96,$26,48
stq $13,0($sp)
stq $14,8($sp)
stq $24,16($sp)
stq $26,24($sp)
.prologue 1
mov $13,$27
lda $13,1($27)
ldb $14,($27)
lda $27,1($13)
mov $27,$13
ldb $14,($27)
mov $13,$27
lda $13,-1($27)
ldb $14,($27)
lda $27,-1($13)
mov $27,$13
ldb $14,($27)
mov $31,$0
L.4:
ldq $13,0($sp)
ldq $14,8($sp)
ldq $24,16($sp)
ldq $26,24($sp)
lda $sp,96($sp)
ret
.end regchar
.globl regint
.text
.ent regint
regint:
ldgp $gp,0($27)
lda $sp,-80($sp)
.mask 0x4006000,-64
.frame $sp,80,$26,48
stq $13,0($sp)
stq $14,8($sp)
stq $26,16($sp)
.prologue 1
mov $13,$27
lda $13,4($27)
ldl $14,($27)
lda $27,4($13)
mov $27,$13
ldl $14,($27)
mov $13,$27
lda $13,-4($27)
ldl $14,($27)
lda $27,-4($13)
mov $27,$13
ldl $14,($27)
mov $31,$0
L.5:
ldq $13,0($sp)
ldq $14,8($sp)
ldq $26,16($sp)
lda $sp,80($sp)
ret
.end regint