Adds a test for load immediate (li) pseudo instruction

This makes sure the other tests can build upon a sane base
This commit is contained in:
2025-11-11 11:05:05 +01:00
parent 297562766c
commit 4c967431ed

9
bench/tests/op/li.s Normal file
View File

@@ -0,0 +1,9 @@
# exepected: 1234567890ABCDEF, 00000000FFFFFFFF
# li is a PSEUDO-INSTRUCTION.
# This test makes sure we can reliably load 64bit words
# into the processor as it is essential for all other tests
.text
_start:
li x31, 0x1234567890ABCDEF
li x31, 0x00000000FFFFFFFF