turn test files in one function definition
This commit is contained in:
parent
87ab8941ed
commit
a1b3e82dc9
16 changed files with 114 additions and 82 deletions
|
@ -3,14 +3,16 @@
|
|||
# ssa program because of the
|
||||
# swap of b and a
|
||||
|
||||
@start
|
||||
function $test {
|
||||
@start
|
||||
|
||||
@loop
|
||||
@loop
|
||||
%a =w phi @start 380, @loop %r
|
||||
%b =w phi @start 747, @loop %a
|
||||
%r =w rem %b, %a
|
||||
jnz %r, @loop, @end
|
||||
|
||||
@end
|
||||
@end
|
||||
storew %a, $a
|
||||
ret
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue