mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-23 13:27:16 -04:00
wrote testcase to write into FSCR
This commit is contained in:
parent
b4cfdf3393
commit
7494ce06eb
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ sretdone:
|
|||
li a0, 3
|
||||
ecall # machine mode again
|
||||
|
||||
# writes to FCSR
|
||||
li t0, 1
|
||||
csrw fcsr, t0
|
||||
|
||||
# switch to supervisor mode
|
||||
li a0, 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue