Stage 11: Passing tests

This commit is contained in:
2025-11-09 17:48:18 +01:00
parent 4018f69f65
commit 603a1ac54a
8 changed files with 168 additions and 23 deletions

16
bench/tests/op/lhu.s Normal file
View File

@@ -0,0 +1,16 @@
# expected: 0000F1BC, 0000F1BC
.text
_start:
lui x1, 0xF
nop # Next instruction depends on previous register op
ori x1, x1, 0x1BC
nop # Next instruction depends on previous register op
sh x1, 100(x0)
lhu x31, 100(x0)
lui x1, 0xF
nop # Next instruction depends on previous register op
ori x1, x1, 0x1BC
nop # Next instruction depends on previous register op
sh x1, 106(x0)
lhu x31, 106(x0)