source: Deliverables/D2.3/8051/tests/clight/for.LIN.expected @ 453

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

Import of the Paris's sources.

File size: 10.0 KB
Line 
1program
2
3globals 0
4
5procedure for_loopParalAsync(3)
6var 0
7for_loopParalAsync94:
8newframe
9c29:
10li    $v0, 0
11c28:
12li    $a2, 0
13c27:
14li    $a0, 3
15add     $a2, $a2, $a0
16c26:
17li    $a0, 2
18mulo    $a2, $a2, $a0
19c25:
20li    $a0, 3
21div     $a2, $a2, $a0
22c24:
23li    $a0, 8
24add     $a2, $a2, $a0
25c23:
26c22:
27li    $a1, 0
28for_loopParalAsync37:
29li    $a3, 0
30c21:
31li    $a0, 20
32slt     $a0, $a1, $a0
33seq     $a0, $a0, $zero
34beq     $a0, $a3, for_loopParalAsync31
35c16:
36c15:
37li    $a1, 1
38for_loopParalAsync16:
39li    $a3, 0
40c14:
41slt     $a0, $a1, $a2
42seq     $a0, $a0, $zero
43beq     $a0, $a3, for_loopParalAsync11
44c10:
45delframe
46jr    $ra
47for_loopParalAsync11:
48c12:
49c11:
50c13:
51li    $a0, 1
52add     $a1, $a1, $a0
53j     for_loopParalAsync16
54for_loopParalAsync31:
55c19:
56li    $a0, 1
57add     $v0, $v0, $a0
58c18:
59c17:
60c20:
61li    $a0, 1
62add     $a1, $a1, $a0
63j     for_loopParalAsync37
64
65procedure for_incrParam(2)
66var 0
67for_incrParam49:
68newframe
69c86:
70add     $a3, $a0, $a1
71c85:
72c84:
73c83:
74li    $v0, 4
75sub     $v0, $a3, $v0
76for_incrParam15:
77li    $t0, 0
78c82:
79li    $a2, 6
80add     $a2, $a1, $a2
81slt     $a2, $v0, $a2
82seq     $a2, $a2, $zero
83beq     $a2, $t0, for_incrParam8
84c79:
85delframe
86jr    $ra
87for_incrParam8:
88c80:
89add     $v0, $v0, $a3
90add     $v0, $v0, $a0
91c81:
92add     $v0, $v0, $a0
93j     for_incrParam15
94
95procedure for_incr(2)
96var 0
97for_incr44:
98newframe
99c78:
100li    $v0, 0
101c77:
102c76:
103li    $a2, 3
104add     $a2, $a0, $a2
105for_incr15:
106li    $a3, 0
107c75:
108li    $a0, 2
109mulo    $a0, $a1, $a0
110sle     $a0, $a2, $a0
111seq     $a0, $a0, $zero
112beq     $a0, $a3, for_incr8
113c72:
114delframe
115jr    $ra
116for_incr8:
117c73:
118sub     $v0, $v0, $a2
119c74:
120li    $a0, 1
121add     $a2, $a2, $a0
122j     for_incr15
123
124procedure for_imbriq(2)
125var 24
126for_imbriq64:
127newframe
128sw    $ra, 20($sp)
129sw    $s4, 16($sp)
130sw    $s3, 12($sp)
131sw    $s2, 8($sp)
132sw    $s1, 4($sp)
133sw    $s0, 0($sp)
134move    $s4, $a0
135move    $s3, $a1
136c71:
137li    $s0, 0
138c70:
139c69:
140li    $s1, 0
141for_imbriq29:
142li    $a0, 0
143c68:
144li    $v0, 23
145slt     $v0, $s1, $v0
146seq     $v0, $v0, $zero
147beq     $v0, $a0, for_imbriq23
148c59:
149move    $v0, $s0
150lw    $ra, 20($sp)
151lw    $s4, 16($sp)
152lw    $s3, 12($sp)
153lw    $s2, 8($sp)
154lw    $s1, 4($sp)
155lw    $s0, 0($sp)
156delframe
157jr    $ra
158for_imbriq23:
159c66:
160li    $v0, 0
161c65:
162c64:
163li    $s2, 1
164for_imbriq18:
165li    $a1, 0
166c63:
167li    $a0, 12
168slt     $a0, $s2, $a0
169seq     $a0, $a0, $zero
170beq     $a0, $a1, for_imbriq12
171c67:
172add     $s1, $s1, $s4
173j     for_imbriq29
174for_imbriq12:
175c61:
176add     $s0, $s0, $v0
177c60:
178la    $a2, mod
179move    $a0, $v0
180move    $a1, $s2
181call  $a2
182c62:
183add     $s2, $s2, $s3
184j     for_imbriq18
185
186procedure for_fortSimple(3)
187var 0
188for_fortSimple41:
189newframe
190c58:
191li    $t0, 0
192c57:
193c56:
194move    $a3, $a0
195for_fortSimple14:
196li    $t1, 0
197c55:
198slt     $v0, $a3, $a1
199seq     $v0, $v0, $zero
200beq     $v0, $t1, for_fortSimple9
201c52:
202add     $v0, $t0, $a0
203c51:
204delframe
205jr    $ra
206for_fortSimple9:
207c53:
208add     $t0, $t0, $a3
209c54:
210add     $a3, $a3, $a2
211j     for_fortSimple14
212
213procedure for_forfor(0)
214var 0
215for_forfor44:
216newframe
217c94:
218c93:
219li    $a1, 0
220c92:
221li    $v0, 0
222for_forfor18:
223li    $a2, 0
224c91:
225li    $a0, 10
226slt     $a0, $a1, $a0
227seq     $a0, $a0, $zero
228beq     $a0, $a2, for_forfor12
229c87:
230delframe
231jr    $ra
232for_forfor12:
233c89:
234li    $a0, 1
235add     $v0, $v0, $a0
236c88:
237li    $a0, 1
238add     $v0, $v0, $a0
239c90:
240li    $a0, 1
241add     $a1, $a1, $a0
242j     for_forfor18
243
244procedure for_ex(3)
245var 0
246for_ex43:
247newframe
248c50:
249li    $v0, 0
250c49:
251c48:
252li    $a3, 3
253add     $a3, $a0, $a3
254for_ex14:
255li    $t0, 0
256c47:
257li    $a0, 2
258mulo    $a0, $a1, $a0
259sle     $a0, $a3, $a0
260seq     $a0, $a0, $zero
261beq     $a0, $t0, for_ex7
262c44:
263delframe
264jr    $ra
265for_ex7:
266c45:
267sub     $v0, $v0, $a3
268c46:
269add     $a3, $a3, $a2
270j     for_ex14
271
272procedure for_double(1)
273var 0
274for_double64:
275newframe
276c43:
277li    $a1, 0
278c42:
279li    $a2, 0
280c41:
281c40:
282li    $a3, 0
283for_double29:
284li    $t0, 0
285c39:
286li    $v0, 12
287slt     $v0, $a3, $v0
288seq     $v0, $v0, $zero
289beq     $v0, $t0, for_double23
290c36:
291c35:
292li    $a3, 0
293for_double15:
294li    $t0, 0
295c34:
296li    $v0, 5
297slt     $v0, $a3, $v0
298seq     $v0, $v0, $zero
299beq     $v0, $t0, for_double9
300c31:
301mulo    $v0, $a1, $a2
302c30:
303delframe
304jr    $ra
305for_double9:
306c32:
307add     $a2, $a2, $a3
308c33:
309add     $a3, $a3, $a0
310j     for_double15
311for_double23:
312c37:
313add     $a1, $a1, $a3
314c38:
315add     $a3, $a3, $a0
316j     for_double29
317
318procedure for_2(2)
319var 0
320for_253:
321newframe
322c9:
323li    $a2, 0
324c8:
325li    $v0, 2
326mulo    $v0, $a0, $v0
327c7:
328li    $a3, 4
329mulo    $a0, $a0, $a3
330c6:
331li    $a3, 1
332add     $a1, $a1, $a3
333c5:
334c4:
335for_213:
336li    $t0, 0
337c3:
338slt     $a3, $v0, $a0
339seq     $a3, $a3, $zero
340beq     $a3, $t0, for_28
341c0:
342li    $v0, 1
343add     $v0, $a2, $v0
344delframe
345jr    $ra
346for_28:
347c1:
348add     $a2, $a2, $v0
349c2:
350add     $v0, $v0, $a1
351j     for_213
352
353procedure _main(0)
354var 4
355main85:
356newframe
357sw    $ra, 0($sp)
358c104:
359li    $a0, 3
360li    $a1, 1
361la    $v0, for_2
362call  $v0
363c103:
364li    $a0, 1
365li    $a1, 2
366li    $a2, 3
367la    $v0, for_loopParalAsync
368call  $v0
369c102:
370li    $a0, 1
371la    $v0, for_double
372call  $v0
373c101:
374li    $a0, 2
375li    $a1, 10
376li    $a2, 1
377la    $v0, for_ex
378call  $v0
379c100:
380li    $a0, 2
381li    $a1, 10
382li    $a2, 1
383la    $v0, for_fortSimple
384call  $v0
385c99:
386li    $a0, 2
387li    $a1, 3
388la    $v0, for_imbriq
389call  $v0
390c98:
391li    $a0, 2
392li    $a1, 3
393la    $v0, for_incr
394call  $v0
395c97:
396li    $a0, 2
397li    $a1, 3
398la    $v0, for_incrParam
399call  $v0
400c96:
401la    $v0, for_forfor
402call  $v0
403c95:
404lw    $ra, 0($sp)
405delframe
406jr    $ra
407
408__builtin_varargs_start: int -> void
409
410
411__builtin_va_start: int -> int -> void
412
413
414__builtin_va_end: int -> void
415
416
417__builtin_va_copy: int -> int -> void
418
419
420__builtin_va_arg: int -> int -> void
421
422
423__builtin_types_compatible_p: int -> int -> int
424
425
426__builtin_tanl: float -> float
427
428
429__builtin_tanhl: float -> float
430
431
432__builtin_tanhf: float -> float
433
434
435__builtin_tanh: float -> float
436
437
438__builtin_tanf: float -> float
439
440
441__builtin_tan: float -> float
442
443
444__builtin_strspn: int -> int -> int
445
446
447__builtin_strpbrk: int -> int -> int
448
449
450__builtin_strncpy: int -> int -> int -> int
451
452
453__builtin_strncmp: int -> int -> int -> int
454
455
456__builtin_strncat: int -> int -> int -> int
457
458
459__builtin_strcspn: int -> int -> int
460
461
462__builtin_strcpy: int -> int -> int
463
464
465__builtin_strcmp: int -> int -> int
466
467
468__builtin_strchr: int -> int -> int
469
470
471__builtin_stpcpy: int -> int -> int
472
473
474__builtin_stdarg_start: int -> void
475
476
477__builtin_sqrtl: float -> float
478
479
480__builtin_sqrtf: float -> float
481
482
483__builtin_sqrt: float -> float
484
485
486__builtin_sinl: float -> float
487
488
489__builtin_sinhl: float -> float
490
491
492__builtin_sinhf: float -> float
493
494
495__builtin_sinh: float -> float
496
497
498__builtin_sinf: float -> float
499
500
501__builtin_sin: float -> float
502
503
504__builtin_return_address: int -> int
505
506
507__builtin_return: int -> void
508
509
510__builtin_powil: float -> int -> float
511
512
513__builtin_powif: float -> int -> float
514
515
516__builtin_powi: float -> int -> float
517
518
519__builtin_popcountll: int -> int
520
521
522__builtin_popcountl: int -> int
523
524
525__builtin_popcount: int -> int
526
527
528__builtin_parityll: int -> int
529
530
531__builtin_parityl: int -> int
532
533
534__builtin_parity: int -> int
535
536
537__builtin_object_size: int -> int -> int
538
539
540__builtin_next_arg: int
541
542
543__builtin_nansl: int -> float
544
545
546__builtin_nansf: int -> float
547
548
549__builtin_nans: int -> float
550
551
552__builtin_nanl: int -> float
553
554
555__builtin_nanf: int -> float
556
557
558__builtin_nan: int -> float
559
560
561__builtin_modfl: float -> int -> float
562
563
564__builtin_modff: float -> int -> float
565
566
567__builtin_mempcpy: int -> int -> int -> int
568
569
570__builtin_memcpy: int -> int -> int -> int
571
572
573__builtin_logl: float -> float
574
575
576__builtin_logf: float -> float
577
578
579__builtin_log10l: float -> float
580
581
582__builtin_log10f: float -> float
583
584
585__builtin_log10: float -> float
586
587
588__builtin_log: float -> float
589
590
591__builtin_ldexpl: float -> int -> float
592
593
594__builtin_ldexpf: float -> int -> float
595
596
597__builtin_ldexp: float -> int -> float
598
599
600__builtin_infl: float
601
602
603__builtin_inff: float
604
605
606__builtin_inf: float
607
608
609__builtin_huge_vall: float
610
611
612__builtin_huge_valf: float
613
614
615__builtin_huge_val: float
616
617
618__builtin_frexpl: float -> int -> float
619
620
621__builtin_frexpf: float -> int -> float
622
623
624__builtin_frexp: float -> int -> float
625
626
627__builtin_frame_address: int -> int
628
629
630__builtin_fmodl: float -> float
631
632
633__builtin_fmodf: float -> float
634
635
636__builtin_fmod: float -> float
637
638
639__builtin_floorl: float -> float
640
641
642__builtin_floorf: float -> float
643
644
645__builtin_floor: float -> float
646
647
648__builtin_ffsll: int -> int
649
650
651__builtin_ffsl: int -> int
652
653
654__builtin_ffs: int -> int
655
656
657__builtin_fabsl: float -> float
658
659
660__builtin_fabsf: float -> float
661
662
663__builtin_fabs: float -> float
664
665
666__builtin_expl: float -> float
667
668
669__builtin_expf: float -> float
670
671
672__builtin_expect: int -> int -> int
673
674
675__builtin_exp: float -> float
676
677
678__builtin_ctzll: int -> int
679
680
681__builtin_ctzl: int -> int
682
683
684__builtin_ctz: int -> int
685
686
687__builtin_cosl: float -> float
688
689
690__builtin_coshl: float -> float
691
692
693__builtin_coshf: float -> float
694
695
696__builtin_cosh: float -> float
697
698
699__builtin_cosf: float -> float
700
701
702__builtin_cos: float -> float
703
704
705__builtin_constant_p: int -> int
706
707
708__builtin_clzll: int -> int
709
710
711__builtin_clzl: int -> int
712
713
714__builtin_clz: int -> int
715
716
717__builtin_ceill: float -> float
718
719
720__builtin_ceilf: float -> float
721
722
723__builtin_ceil: float -> float
724
725
726__builtin_atanl: float -> float
727
728
729__builtin_atanf: float -> float
730
731
732__builtin_atan2l: float -> float -> float
733
734
735__builtin_atan2f: float -> float -> float
736
737
738__builtin_atan2: float -> float -> float
739
740
741__builtin_atan: float -> float
742
743
744__builtin_asinl: float -> float
745
746
747__builtin_asinf: float -> float
748
749
750__builtin_asin: float -> float
751
752
753__builtin_alloca: int -> int
754
755
756__builtin_acosl: float -> float
757
758
759__builtin_acosf: float -> float
760
761
762__builtin_acos: float -> float
763
764
765__builtin___vsprintf_chk: int -> int -> int -> int -> int -> int
766
767
768__builtin___vsnprintf_chk: int -> int -> int -> int -> int -> int -> int
769
770
771__builtin___vprintf_chk: int -> int -> int -> int
772
773
774__builtin___vfprintf_chk: int -> int -> int -> int -> int
775
776
777__builtin___strncpy_chk: int -> int -> int -> int -> int
778
779
780__builtin___strncat_chk: int -> int -> int -> int -> int
781
782
783__builtin___strcpy_chk: int -> int -> int -> int
784
785
786__builtin___strcat_chk: int -> int -> int -> int
787
788
789__builtin___stpcpy_chk: int -> int -> int -> int
790
791
792__builtin___memset_chk: int -> int -> int -> int -> int
793
794
795__builtin___mempcpy_chk: int -> int -> int -> int -> int
796
797
798__builtin___memmove_chk: int -> int -> int -> int -> int
799
800
801__builtin___memcpy_chk: int -> int -> int -> int -> int
802
803
Note: See TracBrowser for help on using the repository browser.