diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-23 17:31:56 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-30 13:20:42 -0400 |
commit | aa5682480c30044c2ffe807ce1316ef7cdcb5e24 (patch) | |
tree | 0e7049a3bf32322d19ab56ef9f6516919ad577ff /lisc | |
parent | ab7a5c277a3ff8a9226151b0ccceae201c4ff1bc (diff) | |
download | roux-aa5682480c30044c2ffe807ce1316ef7cdcb5e24.tar.gz |
oops, another bug in sum.ssa
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/test/sum.ssa | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/test/sum.ssa b/lisc/test/sum.ssa index 83c4ecd..0f8a793 100644 --- a/lisc/test/sum.ssa +++ b/lisc/test/sum.ssa @@ -9,7 +9,7 @@ function w $sum(l %arr, w %num) { %c =w cslt %n1, 0 jnz %c, @end, @loop1 @loop1 - %idx0 =l extuw %num + %idx0 =l extuw %n1 %idx1 =l mul 4, %idx0 %idx2 =l add %idx1, %arr %w =w loadw %idx2 |