source: Deliverables/D2.2/8051-memoryspaces-branch/tests/clight/testTB_Array_double.LIN.expected @ 1448

Last change on this file since 1448 was 453, checked in by ayache, 10 years ago

Import of the Paris's sources.

File size: 6.2 KB
Line 
1program
2
3globals 20
4
5procedure array_double(4)
6var 0
7array_double49:
8newframe
9c2:
10li    $v0, 4
11mulo    $v0, $a2, $v0
12add     $v0, $a1, $v0
13lw    $a2, 0($v0)
14c1:
15li    $v0, 4
16mulo    $v0, $a3, $v0
17add     $v0, $a1, $v0
18lw    $v0, 0($v0)
19add     $a1, $v0, $a2
20li    $v0, 4
21mulo    $v0, $a3, $v0
22add     $v0, $a0, $v0
23sw    $a1, 0($v0)
24c0:
25li    $v0, 4
26mulo    $v0, $a3, $v0
27add     $v0, $a0, $v0
28lw    $v0, 0($v0)
29delframe
30jr    $ra
31
32procedure _main(0)
33var 24
34main120:
35newframe
36sw    $ra, 20($sp)
37li    $a0, 13
38move    $v0, $gp
39sw    $a0, 0($v0)
40li    $a0, 21
41move    $v0, $gp
42sw    $a0, 4($v0)
43li    $a0, 34
44move    $v0, $gp
45sw    $a0, 8($v0)
46li    $a0, 55
47move    $v0, $gp
48sw    $a0, 12($v0)
49li    $a0, 89
50move    $v0, $gp
51sw    $a0, 16($v0)
52c9:
53li    $a1, 0
54move    $a0, $sp
55li    $v0, 4
56mulo    $v0, $zero, $v0
57add     $v0, $a0, $v0
58sw    $a1, 0($v0)
59c8:
60move    $a1, $sp
61li    $a0, 1
62li    $v0, 4
63mulo    $v0, $a0, $v0
64add     $v0, $a1, $v0
65sw    $zero, 0($v0)
66c7:
67move    $a1, $sp
68li    $a0, 2
69li    $v0, 4
70mulo    $v0, $a0, $v0
71add     $v0, $a1, $v0
72sw    $zero, 0($v0)
73c6:
74move    $a1, $sp
75li    $a0, 3
76li    $v0, 4
77mulo    $v0, $a0, $v0
78add     $v0, $a1, $v0
79sw    $zero, 0($v0)
80c5:
81move    $a1, $sp
82li    $a0, 4
83li    $v0, 4
84mulo    $v0, $a0, $v0
85add     $v0, $a1, $v0
86sw    $zero, 0($v0)
87c4:
88move    $a0, $sp
89move    $a1, $gp
90li    $a2, 0
91li    $a3, 0
92la    $v0, array_double
93call  $v0
94c3:
95lw    $ra, 20($sp)
96delframe
97jr    $ra
98
99__builtin_varargs_start: int -> void
100
101
102__builtin_va_start: int -> int -> void
103
104
105__builtin_va_end: int -> void
106
107
108__builtin_va_copy: int -> int -> void
109
110
111__builtin_va_arg: int -> int -> void
112
113
114__builtin_types_compatible_p: int -> int -> int
115
116
117__builtin_tanl: float -> float
118
119
120__builtin_tanhl: float -> float
121
122
123__builtin_tanhf: float -> float
124
125
126__builtin_tanh: float -> float
127
128
129__builtin_tanf: float -> float
130
131
132__builtin_tan: float -> float
133
134
135__builtin_strspn: int -> int -> int
136
137
138__builtin_strpbrk: int -> int -> int
139
140
141__builtin_strncpy: int -> int -> int -> int
142
143
144__builtin_strncmp: int -> int -> int -> int
145
146
147__builtin_strncat: int -> int -> int -> int
148
149
150__builtin_strcspn: int -> int -> int
151
152
153__builtin_strcpy: int -> int -> int
154
155
156__builtin_strcmp: int -> int -> int
157
158
159__builtin_strchr: int -> int -> int
160
161
162__builtin_stpcpy: int -> int -> int
163
164
165__builtin_stdarg_start: int -> void
166
167
168__builtin_sqrtl: float -> float
169
170
171__builtin_sqrtf: float -> float
172
173
174__builtin_sqrt: float -> float
175
176
177__builtin_sinl: float -> float
178
179
180__builtin_sinhl: float -> float
181
182
183__builtin_sinhf: float -> float
184
185
186__builtin_sinh: float -> float
187
188
189__builtin_sinf: float -> float
190
191
192__builtin_sin: float -> float
193
194
195__builtin_return_address: int -> int
196
197
198__builtin_return: int -> void
199
200
201__builtin_powil: float -> int -> float
202
203
204__builtin_powif: float -> int -> float
205
206
207__builtin_powi: float -> int -> float
208
209
210__builtin_popcountll: int -> int
211
212
213__builtin_popcountl: int -> int
214
215
216__builtin_popcount: int -> int
217
218
219__builtin_parityll: int -> int
220
221
222__builtin_parityl: int -> int
223
224
225__builtin_parity: int -> int
226
227
228__builtin_object_size: int -> int -> int
229
230
231__builtin_next_arg: int
232
233
234__builtin_nansl: int -> float
235
236
237__builtin_nansf: int -> float
238
239
240__builtin_nans: int -> float
241
242
243__builtin_nanl: int -> float
244
245
246__builtin_nanf: int -> float
247
248
249__builtin_nan: int -> float
250
251
252__builtin_modfl: float -> int -> float
253
254
255__builtin_modff: float -> int -> float
256
257
258__builtin_mempcpy: int -> int -> int -> int
259
260
261__builtin_memcpy: int -> int -> int -> int
262
263
264__builtin_logl: float -> float
265
266
267__builtin_logf: float -> float
268
269
270__builtin_log10l: float -> float
271
272
273__builtin_log10f: float -> float
274
275
276__builtin_log10: float -> float
277
278
279__builtin_log: float -> float
280
281
282__builtin_ldexpl: float -> int -> float
283
284
285__builtin_ldexpf: float -> int -> float
286
287
288__builtin_ldexp: float -> int -> float
289
290
291__builtin_infl: float
292
293
294__builtin_inff: float
295
296
297__builtin_inf: float
298
299
300__builtin_huge_vall: float
301
302
303__builtin_huge_valf: float
304
305
306__builtin_huge_val: float
307
308
309__builtin_frexpl: float -> int -> float
310
311
312__builtin_frexpf: float -> int -> float
313
314
315__builtin_frexp: float -> int -> float
316
317
318__builtin_frame_address: int -> int
319
320
321__builtin_fmodl: float -> float
322
323
324__builtin_fmodf: float -> float
325
326
327__builtin_fmod: float -> float
328
329
330__builtin_floorl: float -> float
331
332
333__builtin_floorf: float -> float
334
335
336__builtin_floor: float -> float
337
338
339__builtin_ffsll: int -> int
340
341
342__builtin_ffsl: int -> int
343
344
345__builtin_ffs: int -> int
346
347
348__builtin_fabsl: float -> float
349
350
351__builtin_fabsf: float -> float
352
353
354__builtin_fabs: float -> float
355
356
357__builtin_expl: float -> float
358
359
360__builtin_expf: float -> float
361
362
363__builtin_expect: int -> int -> int
364
365
366__builtin_exp: float -> float
367
368
369__builtin_ctzll: int -> int
370
371
372__builtin_ctzl: int -> int
373
374
375__builtin_ctz: int -> int
376
377
378__builtin_cosl: float -> float
379
380
381__builtin_coshl: float -> float
382
383
384__builtin_coshf: float -> float
385
386
387__builtin_cosh: float -> float
388
389
390__builtin_cosf: float -> float
391
392
393__builtin_cos: float -> float
394
395
396__builtin_constant_p: int -> int
397
398
399__builtin_clzll: int -> int
400
401
402__builtin_clzl: int -> int
403
404
405__builtin_clz: int -> int
406
407
408__builtin_ceill: float -> float
409
410
411__builtin_ceilf: float -> float
412
413
414__builtin_ceil: float -> float
415
416
417__builtin_atanl: float -> float
418
419
420__builtin_atanf: float -> float
421
422
423__builtin_atan2l: float -> float -> float
424
425
426__builtin_atan2f: float -> float -> float
427
428
429__builtin_atan2: float -> float -> float
430
431
432__builtin_atan: float -> float
433
434
435__builtin_asinl: float -> float
436
437
438__builtin_asinf: float -> float
439
440
441__builtin_asin: float -> float
442
443
444__builtin_alloca: int -> int
445
446
447__builtin_acosl: float -> float
448
449
450__builtin_acosf: float -> float
451
452
453__builtin_acos: float -> float
454
455
456__builtin___vsprintf_chk: int -> int -> int -> int -> int -> int
457
458
459__builtin___vsnprintf_chk: int -> int -> int -> int -> int -> int -> int
460
461
462__builtin___vprintf_chk: int -> int -> int -> int
463
464
465__builtin___vfprintf_chk: int -> int -> int -> int -> int
466
467
468__builtin___strncpy_chk: int -> int -> int -> int -> int
469
470
471__builtin___strncat_chk: int -> int -> int -> int -> int
472
473
474__builtin___strcpy_chk: int -> int -> int -> int
475
476
477__builtin___strcat_chk: int -> int -> int -> int
478
479
480__builtin___stpcpy_chk: int -> int -> int -> int
481
482
483__builtin___memset_chk: int -> int -> int -> int -> int
484
485
486__builtin___mempcpy_chk: int -> int -> int -> int -> int
487
488
489__builtin___memmove_chk: int -> int -> int -> int -> int
490
491
492__builtin___memcpy_chk: int -> int -> int -> int -> int
493
494
Note: See TracBrowser for help on using the repository browser.