diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-07-01 01:40:30 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-07-01 01:40:30 +0100 |
commit | 6bde0bb72a4f54431bcfea743f69edada4c513c1 (patch) | |
tree | 2a71c87dd7013a71177b677dafb6d824ba4043a1 /data/accumulator.rtl | |
parent | f76f76c44520e1fc0d15456b8c5eb929f8495b5b (diff) | |
download | oopsla21_fvhls-6bde0bb72a4f54431bcfea743f69edada4c513c1.tar.gz oopsla21_fvhls-6bde0bb72a4f54431bcfea743f69edada4c513c1.zip |
Fix to comments
Diffstat (limited to 'data/accumulator.rtl')
-rw-r--r-- | data/accumulator.rtl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/data/accumulator.rtl b/data/accumulator.rtl new file mode 100644 index 0000000..a6b528c --- /dev/null +++ b/data/accumulator.rtl @@ -0,0 +1,18 @@ +main() { + 16: x9 = 1 + 15: int32[stack(0)] = x9 + 14: x8 = 2 + 13: int32[stack(4)] = x8 + 12: x7 = 3 + 11: int32[stack(8)] = x7 + 10: x3 = 0 + 9: nop + 8: x1 = 0 + 7: x6 = stack(0) (int) + 6: x5 = int32[x6 + x1 * 4 + 0] + 5: x3 = x3 + x5 + 0 (int) + 4: x1 = x1 + 1 (int) + 3: if (x1 <s 3) goto 7 else goto 2 + 2: x4 = x3 + 1: return x4 +} |