diff options
Diffstat (limited to 'lisc/test')
-rw-r--r-- | lisc/test/align.ssa | 2 | ||||
-rw-r--r-- | lisc/test/alt.ssa | 2 | ||||
-rw-r--r-- | lisc/test/collatz.ssa | 2 | ||||
-rw-r--r-- | lisc/test/cprime.ssa | 2 | ||||
-rw-r--r-- | lisc/test/cup.ssa | 2 | ||||
-rw-r--r-- | lisc/test/eucl.ssa | 2 | ||||
-rw-r--r-- | lisc/test/fix1.ssa | 2 | ||||
-rw-r--r-- | lisc/test/fix2.ssa | 2 | ||||
-rw-r--r-- | lisc/test/live.ssa | 2 | ||||
-rw-r--r-- | lisc/test/loop.ssa | 2 | ||||
-rw-r--r-- | lisc/test/max.ssa | 2 | ||||
-rw-r--r-- | lisc/test/prime.ssa | 2 | ||||
-rw-r--r-- | lisc/test/puts10.ssa | 4 | ||||
-rw-r--r-- | lisc/test/rpo.ssa | 2 | ||||
-rw-r--r-- | lisc/test/spill.ssa | 2 | ||||
-rw-r--r-- | lisc/test/spill1.ssa | 2 | ||||
-rw-r--r-- | lisc/test/spill2.ssa | 2 |
17 files changed, 18 insertions, 18 deletions
diff --git a/lisc/test/align.ssa b/lisc/test/align.ssa index 08e40d1..9ff8468 100644 --- a/lisc/test/align.ssa +++ b/lisc/test/align.ssa @@ -1,4 +1,4 @@ -function $test { +function $test() { @start %x =l alloc16 16 %y =l add %x, 8 diff --git a/lisc/test/alt.ssa b/lisc/test/alt.ssa index bda7a45..3f89e5e 100644 --- a/lisc/test/alt.ssa +++ b/lisc/test/alt.ssa @@ -2,7 +2,7 @@ # flow graph that exposes poor # handling of looping constructs -function $test { +function $test() { @start %ten =w copy 10 %dum =w copy 0 # dummy live-through temporary diff --git a/lisc/test/collatz.ssa b/lisc/test/collatz.ssa index f8cab84..8bc80cb 100644 --- a/lisc/test/collatz.ssa +++ b/lisc/test/collatz.ssa @@ -3,7 +3,7 @@ # we use a fast local array to # memoize small collatz numbers -function $test { +function $test() { @start %mem =l alloc4 4000 @loop diff --git a/lisc/test/cprime.ssa b/lisc/test/cprime.ssa index 7f2f01b..463b1d8 100644 --- a/lisc/test/cprime.ssa +++ b/lisc/test/cprime.ssa @@ -2,7 +2,7 @@ # compiler from the C program # following in comments -function $test { +function $test() { @start %v0 =l alloc8 4 %v1 =l alloc8 4 diff --git a/lisc/test/cup.ssa b/lisc/test/cup.ssa index 1cea563..41886a5 100644 --- a/lisc/test/cup.ssa +++ b/lisc/test/cup.ssa @@ -1,6 +1,6 @@ # counts up from -1988 to 1991 -function $test { +function $test() { @start @loop %n0 =l phi @start -1988, @loop %n1 diff --git a/lisc/test/eucl.ssa b/lisc/test/eucl.ssa index d7a3567..527cfcf 100644 --- a/lisc/test/eucl.ssa +++ b/lisc/test/eucl.ssa @@ -3,7 +3,7 @@ # ssa program because of the # swap of b and a -function $test { +function $test() { @start @loop diff --git a/lisc/test/fix1.ssa b/lisc/test/fix1.ssa index 7876d2b..e89307f 100644 --- a/lisc/test/fix1.ssa +++ b/lisc/test/fix1.ssa @@ -1,4 +1,4 @@ -function $test { +function $test() { @start %x =w copy 1 @loop diff --git a/lisc/test/fix2.ssa b/lisc/test/fix2.ssa index a07ee2e..89f236d 100644 --- a/lisc/test/fix2.ssa +++ b/lisc/test/fix2.ssa @@ -1,4 +1,4 @@ -function $test { +function $test() { @start %x =w copy 1 @loop diff --git a/lisc/test/live.ssa b/lisc/test/live.ssa index 1e7fd2b..fce4cb9 100644 --- a/lisc/test/live.ssa +++ b/lisc/test/live.ssa @@ -5,7 +5,7 @@ # # nothing should ever be live at the entry -function $test { +function $test() { @start %b =w copy 0 %x =w copy 10 diff --git a/lisc/test/loop.ssa b/lisc/test/loop.ssa index 06a4bee..876b1b0 100644 --- a/lisc/test/loop.ssa +++ b/lisc/test/loop.ssa @@ -1,7 +1,7 @@ # simple looping program # sums all integers from 100 to 0 -function $test { +function $test() { @start @loop diff --git a/lisc/test/max.ssa b/lisc/test/max.ssa index aa6376e..e9c0c43 100644 --- a/lisc/test/max.ssa +++ b/lisc/test/max.ssa @@ -5,7 +5,7 @@ # b input array # a output max -function $test { +function $test() { @start @loop %max =w phi @start -1, @new %byt, @old %max diff --git a/lisc/test/prime.ssa b/lisc/test/prime.ssa index 918db4a..0963e28 100644 --- a/lisc/test/prime.ssa +++ b/lisc/test/prime.ssa @@ -1,7 +1,7 @@ # find the 10,001st prime # store it in a -function $test { +function $test() { @start @loop %n =w phi @start 5, @tloop %n, @yes %n1 diff --git a/lisc/test/puts10.ssa b/lisc/test/puts10.ssa index 04f4e6e..e10916c 100644 --- a/lisc/test/puts10.ssa +++ b/lisc/test/puts10.ssa @@ -1,9 +1,9 @@ -function $test { +function $test() { @start %y =l alloc4 4 %y1 =l add %y, 1 storeb 0, %y1 -@loop +@loop %n =w phi @start 0, @loop %n1 %c =w add %n, 48 storeb %c, %y diff --git a/lisc/test/rpo.ssa b/lisc/test/rpo.ssa index 662f258..a10c6b1 100644 --- a/lisc/test/rpo.ssa +++ b/lisc/test/rpo.ssa @@ -1,4 +1,4 @@ -function $test { +function $test() { @start jmp @foo @baz diff --git a/lisc/test/spill.ssa b/lisc/test/spill.ssa index 48cfb3e..df5e4c2 100644 --- a/lisc/test/spill.ssa +++ b/lisc/test/spill.ssa @@ -9,7 +9,7 @@ # spill # -function $test { +function $test() { @start %f =w copy 0 # here %b =w copy 1 diff --git a/lisc/test/spill1.ssa b/lisc/test/spill1.ssa index 74a161e..d462d0b 100644 --- a/lisc/test/spill1.ssa +++ b/lisc/test/spill1.ssa @@ -1,6 +1,6 @@ # stupid spilling test -function $test { +function $test() { @start %x1 =w copy 10 %x2 =w add %x1, %x1 diff --git a/lisc/test/spill2.ssa b/lisc/test/spill2.ssa index 5acb6f8..49ce2f2 100644 --- a/lisc/test/spill2.ssa +++ b/lisc/test/spill2.ssa @@ -4,7 +4,7 @@ # run with NReg == 3, or # adapt it! -function $test { +function $test() { @start %a =w copy 0 %b =w copy 0 |