source: Deliverables/D2.2/8051-memoryspaces-branch/tests/clight/testTB_Array_lecture.ERTL.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: 10.9 KB
Line 
1program
2
3globals 20
4
5procedure array_lecture(3)
6stacksize 0
7var %0, %1, %2, %3, %4, %5, %6,
8    %7, %8, %9, %10, %11, %12, %13,
9    %14, %15, %16, %17, %18, %19, %20
10entry array_lecture33
11array_lecture33: newframe            --> array_lecture32
12array_lecture32: move  %20, $ra      --> array_lecture31
13array_lecture31: move  %19, $s7      --> array_lecture30
14array_lecture30: move  %18, $s6      --> array_lecture29
15array_lecture29: move  %17, $s5      --> array_lecture28
16array_lecture28: move  %16, $s4      --> array_lecture27
17array_lecture27: move  %15, $s3      --> array_lecture26
18array_lecture26: move  %14, $s2      --> array_lecture25
19array_lecture25: move  %13, $s1      --> array_lecture24
20array_lecture24: move  %12, $s0      --> array_lecture23
21array_lecture23: move  %0, $a0       --> array_lecture22
22array_lecture22: move  %1, $a1       --> array_lecture21
23array_lecture21: move  %2, $a2       --> array_lecture20
24array_lecture20: li    %3, 0         --> array_lecture19
25array_lecture19: li    %4, 0         --> array_lecture18
26array_lecture18: li    %6, 0         --> array_lecture17
27array_lecture17: li    %7, 0         --> array_lecture16
28array_lecture16: li    %8, 0         --> array_lecture15
29array_lecture15: li    %9, 0         --> array_lecture14
30array_lecture14: li    %10, 0        --> array_lecture13
31array_lecture13: li    %11, 0        --> array_lecture10
32array_lecture10: emit c2             --> array_lecture9
33array_lecture9 : li    %9, 4         --> array_lecture8
34array_lecture8 : mulo    %8, %1, %9  --> array_lecture7
35array_lecture7 : add     %11, %0, %8 --> array_lecture12
36array_lecture12: lw    %4, 0(%11)    --> array_lecture6
37array_lecture6 : emit c1             --> array_lecture5
38array_lecture5 : li    %7, 4         --> array_lecture4
39array_lecture4 : mulo    %6, %2, %7  --> array_lecture3
40array_lecture3 : add     %10, %0, %6 --> array_lecture11
41array_lecture11: lw    %3, 0(%10)    --> array_lecture2
42array_lecture2 : emit c0             --> array_lecture1
43array_lecture1 : add     %5, %4, %3  --> array_lecture0
44array_lecture0 : j                   --> array_lecture45
45array_lecture45: move  $v0, %5       --> array_lecture44
46array_lecture44: move  $ra, %20      --> array_lecture43
47array_lecture43: move  $s7, %19      --> array_lecture42
48array_lecture42: move  $s6, %18      --> array_lecture41
49array_lecture41: move  $s5, %17      --> array_lecture40
50array_lecture40: move  $s4, %16      --> array_lecture39
51array_lecture39: move  $s3, %15      --> array_lecture38
52array_lecture38: move  $s2, %14      --> array_lecture37
53array_lecture37: move  $s1, %13      --> array_lecture36
54array_lecture36: move  $s0, %12      --> array_lecture35
55array_lecture35: delframe            --> array_lecture34
56array_lecture34: jr    $ra           (xmits $v0)       
57
58procedure _main(0)
59stacksize 0
60var %0, %1, %2, %3, %4, %5, %6,
61    %7, %8, %9, %10, %11, %12, %13,
62    %14, %15, %16, %17, %18, %19, %20,
63    %21, %22, %23, %24
64entry main48
65main48: newframe                 --> main47
66main47: move  %24, $ra           --> main46
67main46: move  %23, $s7           --> main45
68main45: move  %22, $s6           --> main44
69main44: move  %21, $s5           --> main43
70main43: move  %20, $s4           --> main42
71main42: move  %19, $s3           --> main41
72main41: move  %18, $s2           --> main40
73main40: move  %17, $s1           --> main39
74main39: move  %16, $s0           --> main38
75main38: li    %0, 0              --> main37
76main37: li    %2, 0              --> main36
77main36: li    %3, 0              --> main35
78main35: li    %4, 0              --> main34
79main34: li    %5, 0              --> main33
80main33: li    %6, 0              --> main32
81main32: li    %7, 0              --> main31
82main31: li    %8, 0              --> main30
83main30: li    %9, 0              --> main29
84main29: li    %10, 0             --> main28
85main28: li    %11, 0             --> main27
86main27: li    %12, 0             --> main26
87main26: li    %13, 0             --> main25
88main25: li    %14, 0             --> main24
89main24: li    %15, 0             --> main17
90main17: li    %9, 1              --> main16
91main16: move  %13, $gp           --> main64
92main64: move    %13, %13         --> main21
93main21: sw    %9, 0(%13)         --> main15
94main15: li    %8, 2              --> main14
95main14: move  %12, $gp           --> main63
96main63: move    %12, %12         --> main20
97main20: sw    %8, 4(%12)         --> main13
98main13: li    %7, 3              --> main12
99main12: move  %11, $gp           --> main62
100main62: move    %11, %11         --> main19
101main19: sw    %7, 8(%11)         --> main11
102main11: li    %6, 5              --> main10
103main10: move  %10, $gp           --> main61
104main61: move    %10, %10         --> main18
105main18: sw    %6, 12(%10)        --> main9 
106main9 : li    %5, 8              --> main8 
107main8 : move  %15, $gp           --> main71
108main71: move    %15, %15         --> main23
109main23: sw    %5, 16(%15)        --> main7 
110main7 : emit c4                  --> main6 
111main6 : move  %2, $gp            --> main70
112main70: move    %2, %2           --> main5 
113main5 : li    %3, 0              --> main4 
114main4 : li    %4, 4              --> main3 
115main3 : la    %14, array_lecture --> main22
116main22: j                        --> main69
117main69: move  $a0, %2            --> main68
118main68: move  $a1, %3            --> main67
119main67: move  $a2, %4            --> main66
120main66: call  %14(3)             --> main65
121main65: move  %0, $v0            --> main2 
122main2 : emit c3                  --> main1 
123main1 : move    %1, %0           --> main0 
124main0 : j                        --> main60
125main60: move  $v0, %1            --> main59
126main59: move  $ra, %24           --> main58
127main58: move  $s7, %23           --> main57
128main57: move  $s6, %22           --> main56
129main56: move  $s5, %21           --> main55
130main55: move  $s4, %20           --> main54
131main54: move  $s3, %19           --> main53
132main53: move  $s2, %18           --> main52
133main52: move  $s1, %17           --> main51
134main51: move  $s0, %16           --> main50
135main50: delframe                 --> main49
136main49: jr    $ra                (xmits $v0)
137
138__builtin_varargs_start: int -> void
139
140
141__builtin_va_start: int -> int -> void
142
143
144__builtin_va_end: int -> void
145
146
147__builtin_va_copy: int -> int -> void
148
149
150__builtin_va_arg: int -> int -> void
151
152
153__builtin_types_compatible_p: int -> int -> int
154
155
156__builtin_tanl: float -> float
157
158
159__builtin_tanhl: float -> float
160
161
162__builtin_tanhf: float -> float
163
164
165__builtin_tanh: float -> float
166
167
168__builtin_tanf: float -> float
169
170
171__builtin_tan: float -> float
172
173
174__builtin_strspn: int -> int -> int
175
176
177__builtin_strpbrk: int -> int -> int
178
179
180__builtin_strncpy: int -> int -> int -> int
181
182
183__builtin_strncmp: int -> int -> int -> int
184
185
186__builtin_strncat: int -> int -> int -> int
187
188
189__builtin_strcspn: int -> int -> int
190
191
192__builtin_strcpy: int -> int -> int
193
194
195__builtin_strcmp: int -> int -> int
196
197
198__builtin_strchr: int -> int -> int
199
200
201__builtin_stpcpy: int -> int -> int
202
203
204__builtin_stdarg_start: int -> void
205
206
207__builtin_sqrtl: float -> float
208
209
210__builtin_sqrtf: float -> float
211
212
213__builtin_sqrt: float -> float
214
215
216__builtin_sinl: float -> float
217
218
219__builtin_sinhl: float -> float
220
221
222__builtin_sinhf: float -> float
223
224
225__builtin_sinh: float -> float
226
227
228__builtin_sinf: float -> float
229
230
231__builtin_sin: float -> float
232
233
234__builtin_return_address: int -> int
235
236
237__builtin_return: int -> void
238
239
240__builtin_powil: float -> int -> float
241
242
243__builtin_powif: float -> int -> float
244
245
246__builtin_powi: float -> int -> float
247
248
249__builtin_popcountll: int -> int
250
251
252__builtin_popcountl: int -> int
253
254
255__builtin_popcount: int -> int
256
257
258__builtin_parityll: int -> int
259
260
261__builtin_parityl: int -> int
262
263
264__builtin_parity: int -> int
265
266
267__builtin_object_size: int -> int -> int
268
269
270__builtin_next_arg: int
271
272
273__builtin_nansl: int -> float
274
275
276__builtin_nansf: int -> float
277
278
279__builtin_nans: int -> float
280
281
282__builtin_nanl: int -> float
283
284
285__builtin_nanf: int -> float
286
287
288__builtin_nan: int -> float
289
290
291__builtin_modfl: float -> int -> float
292
293
294__builtin_modff: float -> int -> float
295
296
297__builtin_mempcpy: int -> int -> int -> int
298
299
300__builtin_memcpy: int -> int -> int -> int
301
302
303__builtin_logl: float -> float
304
305
306__builtin_logf: float -> float
307
308
309__builtin_log10l: float -> float
310
311
312__builtin_log10f: float -> float
313
314
315__builtin_log10: float -> float
316
317
318__builtin_log: float -> float
319
320
321__builtin_ldexpl: float -> int -> float
322
323
324__builtin_ldexpf: float -> int -> float
325
326
327__builtin_ldexp: float -> int -> float
328
329
330__builtin_infl: float
331
332
333__builtin_inff: float
334
335
336__builtin_inf: float
337
338
339__builtin_huge_vall: float
340
341
342__builtin_huge_valf: float
343
344
345__builtin_huge_val: float
346
347
348__builtin_frexpl: float -> int -> float
349
350
351__builtin_frexpf: float -> int -> float
352
353
354__builtin_frexp: float -> int -> float
355
356
357__builtin_frame_address: int -> int
358
359
360__builtin_fmodl: float -> float
361
362
363__builtin_fmodf: float -> float
364
365
366__builtin_fmod: float -> float
367
368
369__builtin_floorl: float -> float
370
371
372__builtin_floorf: float -> float
373
374
375__builtin_floor: float -> float
376
377
378__builtin_ffsll: int -> int
379
380
381__builtin_ffsl: int -> int
382
383
384__builtin_ffs: int -> int
385
386
387__builtin_fabsl: float -> float
388
389
390__builtin_fabsf: float -> float
391
392
393__builtin_fabs: float -> float
394
395
396__builtin_expl: float -> float
397
398
399__builtin_expf: float -> float
400
401
402__builtin_expect: int -> int -> int
403
404
405__builtin_exp: float -> float
406
407
408__builtin_ctzll: int -> int
409
410
411__builtin_ctzl: int -> int
412
413
414__builtin_ctz: int -> int
415
416
417__builtin_cosl: float -> float
418
419
420__builtin_coshl: float -> float
421
422
423__builtin_coshf: float -> float
424
425
426__builtin_cosh: float -> float
427
428
429__builtin_cosf: float -> float
430
431
432__builtin_cos: float -> float
433
434
435__builtin_constant_p: int -> int
436
437
438__builtin_clzll: int -> int
439
440
441__builtin_clzl: int -> int
442
443
444__builtin_clz: int -> int
445
446
447__builtin_ceill: float -> float
448
449
450__builtin_ceilf: float -> float
451
452
453__builtin_ceil: float -> float
454
455
456__builtin_atanl: float -> float
457
458
459__builtin_atanf: float -> float
460
461
462__builtin_atan2l: float -> float -> float
463
464
465__builtin_atan2f: float -> float -> float
466
467
468__builtin_atan2: float -> float -> float
469
470
471__builtin_atan: float -> float
472
473
474__builtin_asinl: float -> float
475
476
477__builtin_asinf: float -> float
478
479
480__builtin_asin: float -> float
481
482
483__builtin_alloca: int -> int
484
485
486__builtin_acosl: float -> float
487
488
489__builtin_acosf: float -> float
490
491
492__builtin_acos: float -> float
493
494
495__builtin___vsprintf_chk: int -> int -> int -> int -> int -> int
496
497
498__builtin___vsnprintf_chk: int -> int -> int -> int -> int -> int -> int
499
500
501__builtin___vprintf_chk: int -> int -> int -> int
502
503
504__builtin___vfprintf_chk: int -> int -> int -> int -> int
505
506
507__builtin___strncpy_chk: int -> int -> int -> int -> int
508
509
510__builtin___strncat_chk: int -> int -> int -> int -> int
511
512
513__builtin___strcpy_chk: int -> int -> int -> int
514
515
516__builtin___strcat_chk: int -> int -> int -> int
517
518
519__builtin___stpcpy_chk: int -> int -> int -> int
520
521
522__builtin___memset_chk: int -> int -> int -> int -> int
523
524
525__builtin___mempcpy_chk: int -> int -> int -> int -> int
526
527
528__builtin___memmove_chk: int -> int -> int -> int -> int
529
530
531__builtin___memcpy_chk: int -> int -> int -> int -> int
532
533
Note: See TracBrowser for help on using the repository browser.