OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [alpha/] [osf/] [tst/] [array.sbk] - Blame information for rev 41

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 hellwig
.globl main
2
.text
3
.text
4
.ent main
5
main:
6
ldgp $gp,0($27)
7
lda $sp,-144($sp)
8
.mask 0x4007000,-120
9
.frame $sp,144,$26,48
10
stq $12,0($sp)
11
stq $13,8($sp)
12
stq $14,16($sp)
13
stq $26,24($sp)
14
.prologue 1
15
mov $31,$13
16
L.2:
17
mov $31,$14
18
L.6:
19
sll $14,8*(8-4),$27
20
sra $27,8*(8-4),$27
21
sll $27,2,$27
22
sll $13,8*(8-4),$25
23
sra $25,8*(8-4),$25
24
sll $25,4,$25
25
lda $25,x($25)
26
addq $27,$25,$27
27
lda $25,1000
28
mull $25,$13,$25
29
addl $25,$14,$25
30
stl $25,($27)
31
L.7:
32
lda $14,1($14)
33
cmplt $14,4,$23
34
bne $23,L.6
35
sll $13,8*(8-4),$27
36
sra $27,8*(8-4),$27
37
sll $27,3,$25
38
sll $27,4,$27
39
lda $27,x($27)
40
stq $27,y($25)
41
L.3:
42
lda $13,1($13)
43
cmplt $13,3,$23
44
bne $23,L.2
45
jsr $26,f
46
ldgp $gp,0($26)
47
mov $31,$13
48
L.10:
49
sll $13,8*(8-4),$27
50
sra $27,8*(8-4),$27
51
sll $27,4,$25
52
lda $22,-104+144($sp)
53
addq $25,$22,$25
54
mov $25,$12
55
sll $27,3,$27
56
stq $25,y($27)
57
mov $31,$14
58
L.14:
59
sll $14,8*(8-4),$27
60
sra $27,8*(8-4),$27
61
sll $27,2,$27
62
addq $27,$12,$25
63
sll $13,8*(8-4),$22
64
sra $22,8*(8-4),$22
65
sll $22,4,$22
66
lda $22,x($22)
67
addq $27,$22,$27
68
ldl $27,($27)
69
stl $27,($25)
70
L.15:
71
lda $14,1($14)
72
cmplt $14,4,$23
73
bne $23,L.14
74
L.11:
75
lda $13,1($13)
76
cmplt $13,3,$23
77
bne $23,L.10
78
lda $16,-104+144($sp)
79
lda $17,y
80
jsr $26,g
81
ldgp $gp,0($26)
82
mov $31,$0
83
L.1:
84
ldq $12,0($sp)
85
ldq $13,8($sp)
86
ldq $14,16($sp)
87
ldq $26,24($sp)
88
lda $sp,144($sp)
89
ret
90
.end main
91
.globl f
92
.text
93
.ent f
94
f:
95
ldgp $gp,0($27)
96
lda $sp,-80($sp)
97
.mask 0x4006000,-64
98
.frame $sp,80,$26,48
99
stq $13,0($sp)
100
stq $14,8($sp)
101
stq $26,16($sp)
102
.prologue 1
103
mov $31,$13
104
L.19:
105
mov $31,$14
106
L.23:
107
lda $16,L.27
108
sll $14,8*(8-4),$27
109
sra $27,8*(8-4),$27
110
sll $27,2,$27
111
sll $13,8*(8-4),$25
112
sra $25,8*(8-4),$25
113
sll $25,4,$25
114
lda $25,x($25)
115
addq $27,$25,$27
116
ldl $17,($27)
117
jsr $26,printf
118
ldgp $gp,0($26)
119
L.24:
120
lda $14,1($14)
121
cmplt $14,4,$23
122
bne $23,L.23
123
L.20:
124
lda $13,1($13)
125
cmplt $13,3,$23
126
bne $23,L.19
127
lda $16,L.28
128
jsr $26,printf
129
ldgp $gp,0($26)
130
mov $31,$13
131
L.29:
132
mov $31,$14
133
L.33:
134
lda $16,L.27
135
sll $14,8*(8-4),$27
136
sra $27,8*(8-4),$27
137
sll $27,2,$27
138
sll $13,8*(8-4),$25
139
sra $25,8*(8-4),$25
140
sll $25,3,$25
141
ldq $25,y($25)
142
addq $27,$25,$27
143
ldl $17,($27)
144
jsr $26,printf
145
ldgp $gp,0($26)
146
L.34:
147
lda $14,1($14)
148
cmplt $14,4,$23
149
bne $23,L.33
150
L.30:
151
lda $13,1($13)
152
cmplt $13,3,$23
153
bne $23,L.29
154
lda $16,L.28
155
jsr $26,printf
156
ldgp $gp,0($26)
157
mov $31,$0
158
L.18:
159
ldq $13,0($sp)
160
ldq $14,8($sp)
161
ldq $26,16($sp)
162
lda $sp,80($sp)
163
ret
164
.end f
165
.globl g
166
.text
167
.ent g
168
g:
169
ldgp $gp,0($27)
170
lda $sp,-96($sp)
171
.mask 0x4007800,-64
172
.frame $sp,96,$26,48
173
stq $11,0($sp)
174
stq $12,8($sp)
175
stq $13,16($sp)
176
stq $14,24($sp)
177
stq $26,32($sp)
178
mov $16,$14
179
mov $17,$13
180
.prologue 1
181
mov $31,$11
182
L.38:
183
mov $31,$12
184
L.42:
185
lda $16,L.27
186
sll $12,8*(8-4),$27
187
sra $27,8*(8-4),$27
188
sll $27,2,$27
189
sll $11,8*(8-4),$25
190
sra $25,8*(8-4),$25
191
sll $25,4,$25
192
addq $25,$14,$25
193
addq $27,$25,$27
194
ldl $17,($27)
195
jsr $26,printf
196
ldgp $gp,0($26)
197
L.43:
198
lda $12,1($12)
199
cmplt $12,4,$23
200
bne $23,L.42
201
L.39:
202
lda $11,1($11)
203
cmplt $11,3,$23
204
bne $23,L.38
205
lda $16,L.28
206
jsr $26,printf
207
ldgp $gp,0($26)
208
mov $31,$11
209
L.46:
210
mov $31,$12
211
L.50:
212
lda $16,L.27
213
sll $12,8*(8-4),$27
214
sra $27,8*(8-4),$27
215
sll $27,2,$27
216
sll $11,8*(8-4),$25
217
sra $25,8*(8-4),$25
218
sll $25,3,$25
219
addq $25,$13,$25
220
ldq $25,($25)
221
addq $27,$25,$27
222
ldl $17,($27)
223
jsr $26,printf
224
ldgp $gp,0($26)
225
L.51:
226
lda $12,1($12)
227
cmplt $12,4,$23
228
bne $23,L.50
229
L.47:
230
lda $11,1($11)
231
cmplt $11,3,$23
232
bne $23,L.46
233
lda $16,L.28
234
jsr $26,printf
235
ldgp $gp,0($26)
236
mov $31,$0
237
L.37:
238
ldq $11,0($sp)
239
ldq $12,8($sp)
240
ldq $13,16($sp)
241
ldq $14,24($sp)
242
ldq $26,32($sp)
243
lda $sp,96($sp)
244
ret
245
.end g
246
.globl y
247
.comm y,24
248
.globl x
249
.comm x,48
250
.rdata
251
.align 0
252
L.28:
253
.byte 10
254
.byte 0
255
.align 0
256
L.27:
257
.byte 32
258
.byte 37
259
.byte 100
260
.byte 0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.