[BUG] Improper setting of fcsr
flag after executing feq.s
on an invalid NaN-boxed value
#2504
Open
1 task done
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
Based on the RISC-V ISA specification, Executing Single-Precision Floating-Point FEQ by invalid NaN-boxed inputs (a value that most significant 32 bits are not set to 1) performs a quiet comparison: it only sets the invalid operation exception flag (
NV
flag onfcsr
) if either input is a signaling NaN. However, on CVA6, the flag is not set.Execute the following instruction:
The text was updated successfully, but these errors were encountered: