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