source: Deliverables/D2.2/8051-memoryspaces-branch/tests/clight/fir_complexe.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: 9.2 KB
Line 
1program
2
3globals 384
4
5procedure init(0)
6var 0
7init97:
8newframe
9c9:
10c8:
11li    $a2, 0
12init40:
13li    $a0, 0
14c7:
15li    $v0, 16
16slt     $v0, $a2, $v0
17seq     $v0, $v0, $zero
18beq     $v0, $a0, init34
19delframe
20jr    $ra
21init34:
22c5:
23li    $a1, 2
24li    $v0, 4
25mulo    $a0, $a2, $v0
26move    $v0, $gp
27add     $v0, $v0, $a0
28sw    $a1, 0($v0)
29c4:
30li    $a1, 2
31li    $v0, 4
32mulo    $a0, $a2, $v0
33move    $v0, $gp
34add     $v0, $v0, $a0
35sw    $a1, 64($v0)
36c3:
37li    $a1, 2
38li    $v0, 4
39mulo    $a0, $a2, $v0
40move    $v0, $gp
41add     $v0, $v0, $a0
42sw    $a1, 128($v0)
43c2:
44li    $a1, 2
45li    $v0, 4
46mulo    $a0, $a2, $v0
47move    $v0, $gp
48add     $v0, $v0, $a0
49sw    $a1, 192($v0)
50c1:
51li    $a1, 2
52li    $v0, 4
53mulo    $a0, $a2, $v0
54move    $v0, $gp
55add     $v0, $v0, $a0
56sw    $a1, 256($v0)
57c0:
58li    $a1, 2
59li    $v0, 4
60mulo    $a0, $a2, $v0
61move    $v0, $gp
62add     $v0, $v0, $a0
63sw    $a1, 320($v0)
64c6:
65li    $v0, 1
66add     $a2, $a2, $v0
67j     init40
68
69procedure comp_fir_complexe(7)
70var 188
71comp_fir_complexe265:
72newframe
73sw    $ra, 172($sp)
74sw    $s7, 168($sp)
75sw    $s6, 164($sp)
76sw    $s5, 160($sp)
77sw    $s4, 156($sp)
78sw    $s3, 152($sp)
79sw    $s2, 148($sp)
80sw    $s1, 144($sp)
81sw    $s0, 140($sp)
82sw    $a0, 128($sp)
83sw    $a1, 132($sp)
84move    $s6, $a2
85move    $s5, $a3
86lw    $v1, 176($sp)
87sw    $v1, 136($sp)
88lw    $s7, 180($sp)
89lw    $s4, 184($sp)
90c39:
91c38:
92li    $a1, 0
93comp_fir_complexe127:
94li    $a0, 0
95c37:
96li    $v0, 16
97slt     $v0, $a1, $v0
98seq     $v0, $v0, $zero
99beq     $v0, $a0, comp_fir_complexe121
100c33:
101li    $v0, 0
102c32:
103li    $s0, 0
104c31:
105li    $s3, 0
106c30:
107c29:
108li    $s2, 0
109comp_fir_complexe96:
110li    $a1, 0
111c28:
112slt     $a0, $s2, $s4
113seq     $a0, $a0, $zero
114beq     $a0, $a1, comp_fir_complexe91
115c10:
116li    $v0, 0
117lw    $ra, 172($sp)
118lw    $s7, 168($sp)
119lw    $s6, 164($sp)
120lw    $s5, 160($sp)
121lw    $s4, 156($sp)
122lw    $s3, 152($sp)
123lw    $s2, 148($sp)
124lw    $s1, 144($sp)
125lw    $s0, 140($sp)
126delframe
127jr    $ra
128comp_fir_complexe91:
129c26:
130li    $a0, 4
131mulo    $a0, $s2, $a0
132lw    $v1, 128($sp)
133add     $a0, $v1, $a0
134lw    $a2, 0($a0)
135move    $a1, $sp
136li    $a0, 4
137mulo    $a0, $v0, $a0
138add     $a0, $a1, $a0
139sw    $a2, 0($a0)
140c25:
141li    $a0, 4
142mulo    $a0, $s2, $a0
143lw    $v1, 132($sp)
144add     $a0, $v1, $a0
145lw    $a2, 0($a0)
146move    $a1, $sp
147addi    $a1, $a1, 64
148li    $a0, 4
149mulo    $a0, $v0, $a0
150add     $a0, $a1, $a0
151sw    $a2, 0($a0)
152c24:
153c23:
154li    $s1, 0
155comp_fir_complexe72:
156li    $a1, 0
157c22:
158li    $a0, 16
159slt     $a0, $s1, $a0
160seq     $a0, $a0, $zero
161beq     $a0, $a1, comp_fir_complexe66
162c13:
163li    $a0, 1
164add     $a0, $v0, $a0
165li    $a1, 16
166la    $v0, mod
167call  $v0
168c12:
169li    $a0, 4
170mulo    $a0, $s2, $a0
171lw    $v1, 136($sp)
172add     $a0, $v1, $a0
173sw    $s0, 0($a0)
174c11:
175li    $a0, 4
176mulo    $a0, $s2, $a0
177add     $a0, $s7, $a0
178sw    $s3, 0($a0)
179c27:
180li    $a0, 1
181add     $s2, $s2, $a0
182j     comp_fir_complexe96
183comp_fir_complexe66:
184c20:
185move    $a1, $sp
186li    $a0, 4
187mulo    $a0, $v0, $a0
188add     $a0, $a1, $a0
189lw    $a2, 0($a0)
190c19:
191move    $a1, $sp
192addi    $a1, $a1, 64
193li    $a0, 4
194mulo    $a0, $v0, $a0
195add     $a0, $a1, $a0
196lw    $a3, 0($a0)
197c18:
198li    $a0, 4
199mulo    $a0, $s1, $a0
200add     $a0, $s6, $a0
201lw    $a0, 0($a0)
202mulo    $a1, $a2, $a0
203li    $a0, 4
204mulo    $a0, $s1, $a0
205add     $a0, $s5, $a0
206lw    $a0, 0($a0)
207mulo    $a0, $a3, $a0
208sub     $a1, $a1, $a0
209li    $a0, 4
210srav    $a1, $a1, $a0
211c17:
212li    $a0, 4
213mulo    $a0, $s1, $a0
214add     $a0, $s5, $a0
215lw    $a0, 0($a0)
216mulo    $a2, $a2, $a0
217li    $a0, 4
218mulo    $a0, $s1, $a0
219add     $a0, $s6, $a0
220lw    $a0, 0($a0)
221mulo    $a0, $a3, $a0
222add     $a2, $a2, $a0
223li    $a0, 4
224srav    $a0, $a2, $a0
225c16:
226add     $s0, $s0, $a1
227c15:
228add     $s3, $s3, $a0
229c14:
230li    $a0, 1
231add     $a0, $v0, $a0
232li    $a1, 16
233la    $v0, mod
234call  $v0
235c21:
236li    $a0, 1
237add     $s1, $s1, $a0
238j     comp_fir_complexe72
239comp_fir_complexe121:
240c35:
241move    $a0, $sp
242li    $v0, 4
243mulo    $v0, $a1, $v0
244add     $v0, $a0, $v0
245sw    $zero, 0($v0)
246c34:
247move    $a0, $sp
248addi    $a0, $a0, 64
249li    $v0, 4
250mulo    $v0, $a1, $v0
251add     $v0, $a0, $v0
252sw    $zero, 0($v0)
253c36:
254li    $v0, 1
255add     $a1, $a1, $v0
256j     comp_fir_complexe127
257
258procedure _main(0)
259var 4
260main36:
261newframe
262sw    $ra, 0($sp)
263c42:
264la    $v0, init
265call  $v0
266c41:
267move    $a0, $gp
268move    $a1, $gp
269addi    $a1, $a1, 64
270move    $a2, $gp
271addi    $a2, $a2, 128
272move    $a3, $gp
273addi    $a3, $a3, 192
274move    $v0, $gp
275addi    $v0, $v0, 256
276addi    $gp, $gp, 320
277li    $t1, 16
278la    $t0, comp_fir_complexe
279sw    $v0, -12($sp)
280sw    $gp, -8($sp)
281sw    $t1, -4($sp)
282call  $t0
283c40:
284lw    $ra, 0($sp)
285delframe
286jr    $ra
287
288__builtin_varargs_start: int -> void
289
290
291__builtin_va_start: int -> int -> void
292
293
294__builtin_va_end: int -> void
295
296
297__builtin_va_copy: int -> int -> void
298
299
300__builtin_va_arg: int -> int -> void
301
302
303__builtin_types_compatible_p: int -> int -> int
304
305
306__builtin_tanl: float -> float
307
308
309__builtin_tanhl: float -> float
310
311
312__builtin_tanhf: float -> float
313
314
315__builtin_tanh: float -> float
316
317
318__builtin_tanf: float -> float
319
320
321__builtin_tan: float -> float
322
323
324__builtin_strspn: int -> int -> int
325
326
327__builtin_strpbrk: int -> int -> int
328
329
330__builtin_strncpy: int -> int -> int -> int
331
332
333__builtin_strncmp: int -> int -> int -> int
334
335
336__builtin_strncat: int -> int -> int -> int
337
338
339__builtin_strcspn: int -> int -> int
340
341
342__builtin_strcpy: int -> int -> int
343
344
345__builtin_strcmp: int -> int -> int
346
347
348__builtin_strchr: int -> int -> int
349
350
351__builtin_stpcpy: int -> int -> int
352
353
354__builtin_stdarg_start: int -> void
355
356
357__builtin_sqrtl: float -> float
358
359
360__builtin_sqrtf: float -> float
361
362
363__builtin_sqrt: float -> float
364
365
366__builtin_sinl: float -> float
367
368
369__builtin_sinhl: float -> float
370
371
372__builtin_sinhf: float -> float
373
374
375__builtin_sinh: float -> float
376
377
378__builtin_sinf: float -> float
379
380
381__builtin_sin: float -> float
382
383
384__builtin_return_address: int -> int
385
386
387__builtin_return: int -> void
388
389
390__builtin_powil: float -> int -> float
391
392
393__builtin_powif: float -> int -> float
394
395
396__builtin_powi: float -> int -> float
397
398
399__builtin_popcountll: int -> int
400
401
402__builtin_popcountl: int -> int
403
404
405__builtin_popcount: int -> int
406
407
408__builtin_parityll: int -> int
409
410
411__builtin_parityl: int -> int
412
413
414__builtin_parity: int -> int
415
416
417__builtin_object_size: int -> int -> int
418
419
420__builtin_next_arg: int
421
422
423__builtin_nansl: int -> float
424
425
426__builtin_nansf: int -> float
427
428
429__builtin_nans: int -> float
430
431
432__builtin_nanl: int -> float
433
434
435__builtin_nanf: int -> float
436
437
438__builtin_nan: int -> float
439
440
441__builtin_modfl: float -> int -> float
442
443
444__builtin_modff: float -> int -> float
445
446
447__builtin_mempcpy: int -> int -> int -> int
448
449
450__builtin_memcpy: int -> int -> int -> int
451
452
453__builtin_logl: float -> float
454
455
456__builtin_logf: float -> float
457
458
459__builtin_log10l: float -> float
460
461
462__builtin_log10f: float -> float
463
464
465__builtin_log10: float -> float
466
467
468__builtin_log: float -> float
469
470
471__builtin_ldexpl: float -> int -> float
472
473
474__builtin_ldexpf: float -> int -> float
475
476
477__builtin_ldexp: float -> int -> float
478
479
480__builtin_infl: float
481
482
483__builtin_inff: float
484
485
486__builtin_inf: float
487
488
489__builtin_huge_vall: float
490
491
492__builtin_huge_valf: float
493
494
495__builtin_huge_val: float
496
497
498__builtin_frexpl: float -> int -> float
499
500
501__builtin_frexpf: float -> int -> float
502
503
504__builtin_frexp: float -> int -> float
505
506
507__builtin_frame_address: int -> int
508
509
510__builtin_fmodl: float -> float
511
512
513__builtin_fmodf: float -> float
514
515
516__builtin_fmod: float -> float
517
518
519__builtin_floorl: float -> float
520
521
522__builtin_floorf: float -> float
523
524
525__builtin_floor: float -> float
526
527
528__builtin_ffsll: int -> int
529
530
531__builtin_ffsl: int -> int
532
533
534__builtin_ffs: int -> int
535
536
537__builtin_fabsl: float -> float
538
539
540__builtin_fabsf: float -> float
541
542
543__builtin_fabs: float -> float
544
545
546__builtin_expl: float -> float
547
548
549__builtin_expf: float -> float
550
551
552__builtin_expect: int -> int -> int
553
554
555__builtin_exp: float -> float
556
557
558__builtin_ctzll: int -> int
559
560
561__builtin_ctzl: int -> int
562
563
564__builtin_ctz: int -> int
565
566
567__builtin_cosl: float -> float
568
569
570__builtin_coshl: float -> float
571
572
573__builtin_coshf: float -> float
574
575
576__builtin_cosh: float -> float
577
578
579__builtin_cosf: float -> float
580
581
582__builtin_cos: float -> float
583
584
585__builtin_constant_p: int -> int
586
587
588__builtin_clzll: int -> int
589
590
591__builtin_clzl: int -> int
592
593
594__builtin_clz: int -> int
595
596
597__builtin_ceill: float -> float
598
599
600__builtin_ceilf: float -> float
601
602
603__builtin_ceil: float -> float
604
605
606__builtin_atanl: float -> float
607
608
609__builtin_atanf: float -> float
610
611
612__builtin_atan2l: float -> float -> float
613
614
615__builtin_atan2f: float -> float -> float
616
617
618__builtin_atan2: float -> float -> float
619
620
621__builtin_atan: float -> float
622
623
624__builtin_asinl: float -> float
625
626
627__builtin_asinf: float -> float
628
629
630__builtin_asin: float -> float
631
632
633__builtin_alloca: int -> int
634
635
636__builtin_acosl: float -> float
637
638
639__builtin_acosf: float -> float
640
641
642__builtin_acos: float -> float
643
644
645__builtin___vsprintf_chk: int -> int -> int -> int -> int -> int
646
647
648__builtin___vsnprintf_chk: int -> int -> int -> int -> int -> int -> int
649
650
651__builtin___vprintf_chk: int -> int -> int -> int
652
653
654__builtin___vfprintf_chk: int -> int -> int -> int -> int
655
656
657__builtin___strncpy_chk: int -> int -> int -> int -> int
658
659
660__builtin___strncat_chk: int -> int -> int -> int -> int
661
662
663__builtin___strcpy_chk: int -> int -> int -> int
664
665
666__builtin___strcat_chk: int -> int -> int -> int
667
668
669__builtin___stpcpy_chk: int -> int -> int -> int
670
671
672__builtin___memset_chk: int -> int -> int -> int -> int
673
674
675__builtin___mempcpy_chk: int -> int -> int -> int -> int
676
677
678__builtin___memmove_chk: int -> int -> int -> int -> int
679
680
681__builtin___memcpy_chk: int -> int -> int -> int -> int
682
683
Note: See TracBrowser for help on using the repository browser.