Add tests for stage 7

This commit is contained in:
2025-11-06 18:52:31 +01:00
parent 1c829366de
commit 37435c6677
9 changed files with 128 additions and 0 deletions

14
bench/tests/op/srl.s Normal file
View File

@@ -0,0 +1,14 @@
# expected: 000000FF, 00000001, 00000000
.text
_start:
addi x1, x0, 0x3FC
addi x2, x0, 2
srl x31, x1, x2
lui x1, 0xA0000
addi x2, x0, 31
srl x31, x1, x2
lui x1, 0x0A000
addi x2, x0, 31
srl x31, x1, x2