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