mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-27 08:50:26 -04:00
Fixed fpu flags coverage
This commit is contained in:
parent
4eba7ff5a0
commit
60ea8a88b4
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@ main:
|
|||
bseti t0, zero, 14 # turn on FPU
|
||||
csrs mstatus, t0
|
||||
|
||||
# fsqrt with Y = 0 to check divby0 flags
|
||||
fcvt.s.w f0, zero
|
||||
fli.s f1, 1
|
||||
fsqrt.s f2, f1
|
||||
|
||||
#Pull denormalized FP number from memory and pass it to fclass.S for coverage
|
||||
la t0, TestData1
|
||||
flw ft0, 0(t0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue