Skip to content

馃┕ Fix result of not equal compare w signaling NaNs

Created by: michael-platzer

Currently the NONCOMP block sets the result bit when either operand of a "not equal" comparison is a quiet NaN but not for signaling NaNs. In order to treat quiet and signaling NaNs consistently and to be in line with the RISC-V spec, this PR modifies the NONCOMP compare logic to set the result bit when either of the operands of a "not equal" compare is a signaling NaN as well.

Fixes #115 (closed).

Merge request reports

Loading