projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c6ac4
)
Fix expected misa register value for RV32
author
Andrew Waterman
<waterman@cs.berkeley.edu>
Wed, 6 Apr 2016 17:22:20 +0000
(10:22 -0700)
committer
Andrew Waterman
<waterman@cs.berkeley.edu>
Wed, 6 Apr 2016 17:22:20 +0000
(10:22 -0700)
isa/rv64mi/mcsr.S
patch
|
blob
|
history
diff --git
a/isa/rv64mi/mcsr.S
b/isa/rv64mi/mcsr.S
index 2eeb14cdb6247f977ee2d79a8606fbbb09e2b6ac..4bb04454c0808ec3c0c0e91ea2877a1520c73e93 100644
(file)
--- a/
isa/rv64mi/mcsr.S
+++ b/
isa/rv64mi/mcsr.S
@@
-17,7
+17,7
@@
RVTEST_CODE_BEGIN
#ifdef __riscv64
TEST_CASE(2, a0, 0x2, csrr a0, misa; srl a0, a0, 62)
#else
- TEST_CASE(2, a0, 0x
0
, csrr a0, misa; srl a0, a0, 30)
+ TEST_CASE(2, a0, 0x
1
, csrr a0, misa; srl a0, a0, 30)
#endif
# Check that mhartid reports 0