Commit graph

24 commits

Author SHA1 Message Date
cc1ae33f1c
WIP 2025-03-09 20:15:33 +10:00
e256d2b1d1
Include tests in make all 2025-03-08 11:21:47 +10:00
5f3cbbb8a4
Implement streq routine 2025-03-06 20:59:32 +10:00
51ee97064b
Add the start of a test harness binary 2025-03-05 21:10:01 +10:00
63e79b8bb6
Add fmt_decimal and count_digits routines 2025-02-27 22:21:33 +10:00
b3605f4a04
Implement mul, div, divmod, clz 2025-02-15 19:45:25 +10:00
10bafd8485
Add multiplication implementation 2025-02-14 21:09:46 +10:00
9494848392
Add clean target to Makefile 2025-02-13 20:32:51 +10:00
b256bfd783
Fix test_math test 2025-02-13 20:32:39 +10:00
99aab87cbd
Make code compatible with LLVM 2025-02-13 20:32:18 +10:00
e52725d564
Add tests for add64
Currently the test harness isn't looping, so the test is failing.
2025-02-11 22:08:32 +10:00
82a0fde80d
Extract more bits from calc.s; use qemu for testing 2025-02-10 15:51:18 +10:00
8f252c15c6
Fix bug in tohex 2025-02-10 15:03:55 +10:00
4e67ba4a7c
Fix grep invocation in tests 2025-02-10 14:03:04 +10:00
947f1fca89
Attempt to print register values in regdump 2025-02-10 14:00:44 +10:00
951900bce9
Implement tohex function to format register to hex string 2025-02-10 12:55:08 +10:00
c059620b09
Add a byte to hex function with unit test 2025-02-10 12:04:39 +10:00
ff3e779f22
Fix segfault with the help of gdb via Nix 2025-02-09 21:36:54 +10:00
2ab32594d3
Misbehaving regdump using memcpy 2025-02-09 16:58:41 +10:00
32b37bb374
Print register names 2025-02-09 15:45:37 +10:00
4c4d7bdbf7
Add linker script to make bss work 2025-02-09 15:09:53 +10:00
ba9abb1cc0
Fix hello.s so that it only prints 5 times and exits 2025-02-09 11:32:46 +10:00
56fbb245cd
Add note on RV32E syscalls 2025-02-09 11:21:38 +10:00
e8b757e8b2
Add some sample files 2025-02-09 11:09:13 +10:00