[BUG] Incorrect Result from 'fdiv' Operation Leading to Negative Infinity Instead of Smallest Negative Number #2060
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
When performing floating-point division using the
fdiv.d
instruction in CVA6, under specific conditions where the expected result is the smallest representable negative double-precision floating-point number (0xffefffffffffffff
), CVA6 incorrectly returns negative infinity (0xfff0000000000000
).Steps to Reproduce:
fa7
with0xc024000000000000
.fs3
with0x00000000000002cc
.fdiv.d ft6, fa7, fs3
.ft6
.The log is as follows::
The text was updated successfully, but these errors were encountered: