summary refs log tree commit diff
path: root/lisc/test
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/test')
-rw-r--r--lisc/test/collatz.ssa4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/test/collatz.ssa b/lisc/test/collatz.ssa
index b763827..9f1c7b5 100644
--- a/lisc/test/collatz.ssa
+++ b/lisc/test/collatz.ssa
@@ -15,8 +15,8 @@
 @cloop
 	%n0 =w phi @loop %n, @odd %n2, @even %n3
 	%c0 =w phi @loop 0, @odd %c1, @even %c1
-	%is1 =w ceq %n0, 1
-	jnz %is1, @endcl, @iter0
+	%no1 =w cne %n0, 1
+	jnz %no1, @iter0, @endcl
 @iter0
 	%ism =w cslt %n0, %n
 	jnz %ism, @getmemo, @iter1