Merge pull request #380 from davidharrishmc/dev

Improved CSRU coverage with priv.S
This commit is contained in:
Ross Thompson 2023-08-20 19:42:58 -05:00 committed by GitHub
commit 3aa96ef76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -44,10 +44,10 @@ string tvpaths[] = '{
string coverage64gc[] = '{
`COVERAGE,
"priv",
"ieu",
"ebu",
"csrwrites",
"priv",
"ifu",
"fpu",
"lsu",

View File

@ -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