[BUG] Unexpected Rounding Behavior During fsqrt.d Execution #2057
Labels
notCV32A65X
It is not an CV32A65X issue
PARAM:FPU
Issue depends on the FPU parameter
Type:Bug
For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Is there an existing CVA6 bug for this?
Bug Description
In some rounding mode, precision errors occur when calculating
fsqrt.d.
And the results differ from those of Spike.Testing has shown that RDN, RUP, RMM and DYN all experience rounding errors.
How to reproduce and the logs are as follows:
Example:
Initialize
fa7
with0x402e000000000000
and executefsqrt.d ft10, fa7
.Under
RDN, DYN
Mode:Spike results are:
ft10 = 0x400efbdeb14f4eda
CVA6 results are:
ft10 = 0x400efbdeb14f4ed9
Under
RUP , RMM
Mode:Spike results are:
ft10 = 0x400efbdeb14f4ed9
CVA6 results are:
ft10 = 0x400efbdeb14f4eda
The text was updated successfully, but these errors were encountered: