aboutsummaryrefslogtreecommitdiff
path: root/tests/simple_riscv32/s.asm
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-09-22 22:45:18 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-09-22 22:45:18 +0300
commitb1d67364b4b4832b8efed112f7b0ead1a0b3cd3b (patch)
tree7926bfb428703515438c08b98c61cbffd34b3cbb /tests/simple_riscv32/s.asm
parent32f9719e29762001f73460acd31f2a6da8fd6298 (diff)
downloadgran-b1d67364b4b4832b8efed112f7b0ead1a0b3cd3b.tar.gz
gran-b1d67364b4b4832b8efed112f7b0ead1a0b3cd3b.zip
start experimenting with processor grids
Diffstat (limited to 'tests/simple_riscv32/s.asm')
-rw-r--r--tests/simple_riscv32/s.asm16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/simple_riscv32/s.asm b/tests/simple_riscv32/s.asm
deleted file mode 100644
index d423dd9..0000000
--- a/tests/simple_riscv32/s.asm
+++ /dev/null
@@ -1,16 +0,0 @@
-.global _start
-_start:
-/* sum from 0 to 1000000 */
-
-li a0, 0 /* index */
-li a1, 1000000 /* top */
-li a2, 0 /* sum */
-
-top:
-beq a0, a1, done
-add a2, a2, a0
-addi a0, a0, 1
-j top
-
-done:
-ebreak