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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [mips/] [irix/] [tst/] [array.sbk] - Blame information for rev 320

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

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

powered by: WebSVN 2.1.0

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