projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modified VL and MVL CSRs to range from 1-XLEN rather than 0-(XLEN-1)
[riscv-tests.git]
/
isa
/
rv64ui
/
sv_addi_redirect.S
diff --git
a/isa/rv64ui/sv_addi_redirect.S
b/isa/rv64ui/sv_addi_redirect.S
index 74d41e0c57d32886266a36daa082cbe02ea520e0..aeb404d43dc94f60d2cd06d00908b15e0258197f 100644
(file)
--- a/
isa/rv64ui/sv_addi_redirect.S
+++ b/
isa/rv64ui/sv_addi_redirect.S
@@
-26,8
+26,8
@@
RVTEST_CODE_BEGIN # Start of test code.
addi x16, x16, 1
CLR_SV_CSRS()
- SET_SV_VL(
0
)
- SET_SV_MVL(
0
)
+ SET_SV_VL(
1
)
+ SET_SV_MVL(
1
)
TEST_SV_IMM(x2, 1001) # should not be modified
TEST_SV_IMM(x3, 42)