mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Merge pull request #379 from harshinisrinath1001/main
Test case for writing into FCSR
This commit is contained in:
commit
ba4dc6da49
@ -90,6 +90,9 @@ sretdone:
|
|||||||
li a0, 3
|
li a0, 3
|
||||||
ecall # machine mode again
|
ecall # machine mode again
|
||||||
|
|
||||||
|
# writes to FCSR
|
||||||
|
li t0, 1
|
||||||
|
csrw fcsr, t0
|
||||||
|
|
||||||
# switch to supervisor mode
|
# switch to supervisor mode
|
||||||
li a0, 1
|
li a0, 1
|
||||||
|
Loading…
Reference in New Issue
Block a user