summary refs log tree commit diff
path: root/lisc/test/fix4.ssa
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-11 20:02:31 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-11 20:02:31 -0500
commitcfa285395e19460a2da9c63167185a08245f1d83 (patch)
treed8eb342221c4a40e4f5d32786edf9626f7b57ac9 /lisc/test/fix4.ssa
parent21d637efc8e49fda0de659d8b78342adf6a30893 (diff)
downloadroux-cfa285395e19460a2da9c63167185a08245f1d83.tar.gz
update tests to new comparisons
Diffstat (limited to 'lisc/test/fix4.ssa')
-rw-r--r--lisc/test/fix4.ssa4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/test/fix4.ssa b/lisc/test/fix4.ssa
index 0d3ccb6..181768d 100644
--- a/lisc/test/fix4.ssa
+++ b/lisc/test/fix4.ssa
@@ -3,14 +3,14 @@ function $test() {
 	%x =w copy 3
 	%n =w copy 2
 @loop
-	%c =w ceq %n, 10000
+	%c =w ceqw %n, 10000
 	jnz %c, @end, @next
 @next
 	%t =w copy 3
 	%x =w add %x, 2
 @tloop
 	%s =w mul %t, %t
-	%c =w csgt %s, %x
+	%c =w csgtw %s, %x
 	jnz %c, @prime, @test
 @test
 	%r =w rem %x, %t