summary refs log tree commit diff
path: root/lisc/test/echo.ssa
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-25 14:02:43 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-25 14:02:43 -0400
commit62e238a6ef151d56b79e1f076a57463f2e1fb020 (patch)
tree29c858054c62230eb73330f165cf30ff20e14d86 /lisc/test/echo.ssa
parent97b58def96d47d937d86849380d8316ddb16bed8 (diff)
downloadroux-62e238a6ef151d56b79e1f076a57463f2e1fb020.tar.gz
great renaming campain!
Diffstat (limited to 'lisc/test/echo.ssa')
-rw-r--r--lisc/test/echo.ssa32
1 files changed, 0 insertions, 32 deletions
diff --git a/lisc/test/echo.ssa b/lisc/test/echo.ssa
deleted file mode 100644
index d3c8a25..0000000
--- a/lisc/test/echo.ssa
+++ /dev/null
@@ -1,32 +0,0 @@
-function w $main(w %argc, l %argv) {
-@start
-	%fmt =l alloc8 8
-	storel 1663398693, %fmt             # "%s%c"
-	%av0 =l add %argv, 8
-	%ac0 =w sub %argc, 1
-@loop
-	%av =l phi @start %av0, @loop2 %av1
-	%ac =w phi @start %ac0, @loop2 %ac1
-	%c0 =w ceqw %ac, 0
-	jnz %c0, @end, @loop1
-@loop1
-	%c1 =w ceqw %ac, 1
-	jnz %c1, @last, @nolast
-@last
-	jmp @loop2
-@nolast
-	jmp @loop2
-@loop2
-	%sep =w phi @last 10, @nolast 32
-	%arg =l loadl %av
-	%r =w call $printf(l %fmt, l %arg, w %sep)
-	%av1 =l add %av, 8
-	%ac1 =w sub %ac, 1
-	jmp @loop
-@end
-	ret 0
-}
-
-# >>> output
-# a b c
-# <<<