Implements stage 6: tests passing

This commit is contained in:
2025-11-06 18:38:32 +01:00
parent 2ee9cc66b9
commit 1c829366de
10 changed files with 99 additions and 11 deletions

12
bench/tests/op/xori.s Normal file
View File

@@ -0,0 +1,12 @@
# expected: 00000000, 000001EF
.text
_start:
# 1 XOR 1 should equal 0000000
addi x1, x0, -1
xori x31, x1, -1
addi x1, x0, 0x1BC
# Xor is involutive and commutative, applying it twice should give us the original operand
xori x1, x1, 0x1EF
xori x31, x1, 0x1BC