Merge pull request #379 from harshinisrinath1001/main

Test case for writing into FCSR
This commit is contained in:
David Harris 2023-08-20 12:13:33 -07:00 committed by GitHub
commit ba4dc6da49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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