Rv64i : passing test
This commit is contained in:
10
bench/tests/op/slliw.s
Normal file
10
bench/tests/op/slliw.s
Normal file
@@ -0,0 +1,10 @@
|
||||
# expected: 0000000000000000, FFFFFFFF80000000
|
||||
.text
|
||||
_start:
|
||||
# Shift out of 32bits
|
||||
li x1, 0x0000000080000000
|
||||
slliw x31, x1, 1
|
||||
|
||||
# Test sign extension
|
||||
li x1, 0x0000000040000000
|
||||
slliw x31, x1, 1
|
||||
Reference in New Issue
Block a user