summary refs log tree commit diff
path: root/lisc/test
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-08-05 12:47:10 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:30 -0400
commit9c7b06d68f6a71ff43d1de60953658ca47bbde36 (patch)
tree822d93ac78d23aa3c8bedfd0d45ef54bed317b08 /lisc/test
parent246a48ba94b92e6c1e02964d46269e0903b7a723 (diff)
downloadroux-9c7b06d68f6a71ff43d1de60953658ca47bbde36.tar.gz
quick fix for comparisons with constants
Diffstat (limited to 'lisc/test')
-rw-r--r--lisc/test/cup.ssa4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/test/cup.ssa b/lisc/test/cup.ssa
index 64f2ab4..2626d26 100644
--- a/lisc/test/cup.ssa
+++ b/lisc/test/cup.ssa
@@ -4,7 +4,7 @@
 @loop
 	%n0  =w phi @start -1988, @loop %n1
 	%n1  =w add 1, %n0
-	%cmp =w csle %n1, 1000
-	jez %cmp, @end, @loop
+	%cmp =w csle 1990, %n1
+	jez %cmp, @loop, @end
 @end
 	ret