diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-16 17:40:02 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:31 -0400 |
commit | 0d5b5cefcba8e4ce7e3917628d367331968e7725 (patch) | |
tree | 3ff183a150ca90f54be18f2b683002fd624af621 /lisc/test | |
parent | c334258427b3bcd08c32f83b6919a61fdb83322c (diff) | |
download | roux-0d5b5cefcba8e4ce7e3917628d367331968e7725.tar.gz |
swap a test in collatz
This is pretty stupid... Since we rely on rpo only for code output (and not a proper scheduler), I have to be careful with the ordering of tests to get cleaner code.
Diffstat (limited to 'lisc/test')
-rw-r--r-- | lisc/test/collatz.ssa | 4 |
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 |