projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
indentation fixed
[libfirm]
/
ir
/
be
/
test
/
loopspilling.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <time.h>
4
5
int r = 0;
6
int a1 = 0,
7
a2 = 0,
8
a3 = 0,
9
a4 = 0,
10
a5 = 0,
11
a6 = 0,
12
a7 = 0,
13
a8 = 0,
14
a9 = 0,
15
a10 = 0,
16
a11 = 0;
17
18
int main() {
19
int r1 = a1,
20
r2 = a2,
21
r3 = a3,
22
r4 = a4,
23
r5 = a5,
24
r6 = a6,
25
r7 = a7;
26
int i, i2;
27
28
for(i = 0; i < r; ++i) {
29
int r8 = a8,
30
r9 = a9,
31
r10 = a10;
32
#if 1
33
for(i2 = 0; i2 < r; ++i2) {
34
printf("%d %d %d\n", i2, r2, r9);
35
}
36
#endif
37
38
printf("%d %d\n", i+1+r8+r9+r10, r2);
39
i *= 2;
40
}
41
42
printf("%d", r1+r2+r3+r4+r5+r6+r7+i);
43
return 0;
44
}