mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-22 21:08:08 -04:00
Improved CSRU coverage with priv.S
This commit is contained in:
parent
c917c1f563
commit
2738423441
2 changed files with 4 additions and 1 deletions
|
@ -44,10 +44,10 @@ string tvpaths[] = '{
|
|||
|
||||
string coverage64gc[] = '{
|
||||
`COVERAGE,
|
||||
"priv",
|
||||
"ieu",
|
||||
"ebu",
|
||||
"csrwrites",
|
||||
"priv",
|
||||
"ifu",
|
||||
"fpu",
|
||||
"lsu",
|
||||
|
|
|
@ -92,6 +92,9 @@ sretdone:
|
|||
|
||||
# writes to FCSR
|
||||
li t0, 1
|
||||
slli t0, t0, 13
|
||||
csrs mstatus, t0
|
||||
li t0, 1
|
||||
csrw fcsr, t0
|
||||
|
||||
# switch to supervisor mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue