1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-02-28 01:15:37 +00:00
Files
antonblanchard.microwatt/tests/fpu
Paul Mackerras fdd98d88d4 FPU: Fix zero result detection in fmadd-family instructions
With the multiply-add instructions, it is possible to get into state
FMADD_6 with R containing a value >= 8.0.  If the value is exactly
8.0, the logic will incorrectly conclude that the result is zero
because it only tests bits up to UNIT_BIT + 2.  Fix this by testing
up to UNIT_BIT + 3, and add a test case to the FPU test that triggers
this situation.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2026-01-14 09:06:50 +11:00
..