repo.or.cz
/
qbe.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drop imul rewriting
[qbe.git]
/
test
/
_spill2.ssa
blob
d462d0bf2cdc25dd01906d61d6cdc7862a294e69
1
# stupid spilling test
2
3
function $test() {
4
@start
5
%x1 =w copy 10
6
%x2 =w add %x1, %x1
7
%x3 =w sub %x2, %x1
8
%x4 =w add %x3, %x1
9
%x5 =w sub %x4, %x1
10
%x6 =w add %x5, %x1
11
%x7 =w sub %x6, %x1
12
%x8 =w add %x7, %x1
13
%x9 =w sub %x8, %x8
14
%x10 =w add %x9, %x7
15
%x11 =w sub %x10, %x6
16
%x12 =w add %x11, %x5
17
%x13 =w sub %x12, %x4
18
%x14 =w add %x13, %x3
19
%x15 =w sub %x14, %x2
20
%x16 =w add %x15, %x1
21
ret
22
}