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

Subversion Repositories eco32

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 hellwig
.set reorder
2
.globl x
3
.data
4
.align 2
5
x:
6
.word 0x1
7
.byte 0x2
8
.space 3
9
.byte 0x0
10
.byte 0x34
11
.space 2
12
.byte 0xa
13
.byte 0x6
14
.space 2
15
.globl i
16
.sdata
17
.align 2
18
i:
19
.word 0x10
20
.globl y
21
.sdata
22
.align 2
23
y:
24
.byte 0xe0
25
.space 3
26
.byte 0x0
27
.byte 0x0
28
.byte 0x0
29
.byte 0x9
30
.globl main
31
.text
32
.text
33
.align 2
34
.ent main
35
main:
36
.frame $sp,48,$31
37
.set noreorder
38
.cpload $25
39
.set reorder
40
addu $sp,$sp,-48
41
.mask 0x82000000,-16
42
.cprestore 28
43
sw $31,32($sp)
44
la $4,L.4
45
lw $5,x
46
lb $6,x+4
47
lw $24,x+8
48
sra $7,$24,20
49
lw $24,x+8
50
sll $24,$24,12
51
sra $24,$24,28
52
sw $24,16($sp)
53
lw $24,x+12
54
sll $24,$24,4
55
sra $24,$24,29
56
sw $24,20($sp)
57
lb $24,x+13
58
sw $24,24($sp)
59
jal printf
60
la $4,L.10
61
lw $24,y
62
srl $15,$24,30
63
and $5,$15,3
64
srl $24,$24,26
65
and $6,$24,15
66
lw $7,y+4
67
jal printf
68
lw $24,x+8
69
and $24,$24,0xfff0ffff
70
lw $15,i
71
sll $15,$15,28
72
sra $15,$15,28
73
sll $15,$15,16
74
and $15,$15,0xf0000
75
or $24,$24,$15
76
sw $24,x+8
77
lw $24,x+12
78
and $24,$24,0xf1ffffff
79
sw $24,x+12
80
la $4,L.4
81
lw $5,x
82
lb $6,x+4
83
lw $24,x+8
84
sra $7,$24,20
85
lw $24,x+8
86
sll $24,$24,12
87
sra $24,$24,28
88
sw $24,16($sp)
89
lw $24,x+12
90
sll $24,$24,4
91
sra $24,$24,29
92
sw $24,20($sp)
93
lb $24,x+13
94
sw $24,24($sp)
95
jal printf
96
lw $24,y
97
and $24,$24,0x3fffffff
98
or $24,$24,0x80000000
99
sw $24,y
100
lw $24,i
101
sw $24,y+4
102
la $4,L.10
103
lw $24,y
104
srl $15,$24,30
105
and $5,$15,3
106
srl $24,$24,26
107
and $6,$24,15
108
lw $7,y+4
109
jal printf
110
la $4,x
111
jal f2
112
move $2,$0
113
L.3:
114
lw $25,28($sp)
115
lw $31,32($sp)
116
addu $sp,$sp,48
117
j $31
118
.end main
119
.globl f1
120
.text
121
.align 2
122
.ent f1
123
f1:
124
.frame $sp,32,$31
125
.set noreorder
126
.cpload $25
127
.set reorder
128
addu $sp,$sp,-32
129
.mask 0xc2000000,-8
130
.cprestore 16
131
sw $30,20($sp)
132
sw $31,24($sp)
133
move $30,$4
134
lw $24,($30)
135
and $24,$24,0xc3ffffff
136
sw $24,($30)
137
lw $24,($30)
138
and $24,$24,0x3fffffff
139
and $15,$0,3
140
sll $15,$15,30
141
and $15,$15,0xc0000000
142
or $24,$24,$15
143
sw $24,($30)
144
lw $24,($30)
145
and $24,$24,0x3c000000
146
beq $24,$0,L.22
147
la $4,L.24
148
jal printf
149
L.22:
150
lw $24,($30)
151
or $24,$24,0xc0000000
152
sw $24,($30)
153
lw $24,($30)
154
or $24,$24,0x3c000000
155
sw $24,($30)
156
la $4,L.25
157
lw $24,($30)
158
srl $15,$24,30
159
and $5,$15,3
160
srl $24,$24,26
161
and $6,$24,15
162
jal printf
163
move $2,$0
164
L.21:
165
lw $25,16($sp)
166
lw $30,20($sp)
167
lw $31,24($sp)
168
addu $sp,$sp,32
169
j $31
170
.end f1
171
.globl f2
172
.text
173
.align 2
174
.ent f2
175
f2:
176
.frame $sp,32,$31
177
.set noreorder
178
.cpload $25
179
.set reorder
180
addu $sp,$sp,-32
181
.mask 0xc2800000,-4
182
sw $23,16($sp)
183
.cprestore 20
184
sw $30,24($sp)
185
sw $31,28($sp)
186
move $30,$4
187
lw $24,i
188
bne $24,$0,L.28
189
la $23,1
190
b L.29
191
L.28:
192
move $23,$0
193
L.29:
194
lw $24,($30)
195
and $24,$24,0x3fffffff
196
move $15,$23
197
and $15,$15,3
198
sll $15,$15,30
199
and $15,$15,0xc0000000
200
or $24,$24,$15
201
sw $24,($30)
202
move $4,$30
203
jal f1
204
lw $24,($30)
205
and $24,$24,0xc3ffffff
206
move $15,$0
207
and $15,$15,15
208
sll $15,$15,26
209
and $15,$15,0x3c000000
210
or $24,$24,$15
211
sw $24,($30)
212
move $2,$0
213
L.26:
214
lw $23,16($sp)
215
lw $25,20($sp)
216
lw $30,24($sp)
217
lw $31,28($sp)
218
addu $sp,$sp,32
219
j $31
220
.end f2
221
.rdata
222
.align 0
223
L.25:
224
.byte 112
225
.byte 45
226
.byte 62
227
.byte 97
228
.byte 32
229
.byte 61
230
.byte 32
231
.byte 48
232
.byte 120
233
.byte 37
234
.byte 120
235
.byte 44
236
.byte 32
237
.byte 112
238
.byte 45
239
.byte 62
240
.byte 98
241
.byte 32
242
.byte 61
243
.byte 32
244
.byte 48
245
.byte 120
246
.byte 37
247
.byte 120
248
.byte 10
249
.byte 0
250
.align 0
251
L.24:
252
.byte 112
253
.byte 45
254
.byte 62
255
.byte 98
256
.byte 32
257
.byte 33
258
.byte 61
259
.byte 32
260
.byte 48
261
.byte 33
262
.byte 10
263
.byte 0
264
.align 0
265
L.10:
266
.byte 121
267
.byte 32
268
.byte 61
269
.byte 32
270
.byte 37
271
.byte 100
272
.byte 32
273
.byte 37
274
.byte 100
275
.byte 32
276
.byte 37
277
.byte 100
278
.byte 10
279
.byte 0
280
.align 0
281
L.4:
282
.byte 120
283
.byte 32
284
.byte 61
285
.byte 32
286
.byte 37
287
.byte 100
288
.byte 32
289
.byte 37
290
.byte 100
291
.byte 32
292
.byte 37
293
.byte 100
294
.byte 32
295
.byte 37
296
.byte 100
297
.byte 32
298
.byte 37
299
.byte 100
300
.byte 32
301
.byte 37
302
.byte 100
303
.byte 10
304
.byte 0

powered by: WebSVN 2.1.0

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