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
..
2022-08-09 20:39:39 +10:00
2020-06-24 09:53:46 +10:00
2026-01-14 09:06:50 +11:00
2025-01-25 14:56:34 +11:00
2024-12-20 20:32:02 +11:00
2021-09-27 15:30:41 +10:00
2024-12-20 17:40:04 +11:00
2025-09-30 13:37:20 +10:00
2022-07-25 15:03:40 +10:00
2024-12-27 20:43:59 +11:00
2021-06-17 22:19:23 +10:00
2025-01-16 19:06:00 +11:00
2020-06-24 09:53:46 +10:00
2025-09-30 13:37:15 +10:00
2025-01-17 19:29:56 +11:00
2024-12-20 17:40:04 +11:00
2020-06-19 20:28:03 +10:00
2020-06-26 08:17:23 +10:00
2022-08-09 20:39:39 +10:00
2022-08-09 20:39:39 +10:00
2022-08-13 15:52:04 +10:00
2020-06-24 09:53:46 +10:00
2022-08-13 15:52:04 +10:00
2026-01-14 09:06:50 +11:00
2025-09-29 16:46:21 +10:00
2022-08-13 15:52:04 +10:00
2025-01-25 14:56:34 +11:00
2025-01-25 14:56:34 +11:00
2025-01-25 14:56:34 +11:00
2024-12-20 20:32:02 +11:00
2022-08-13 15:52:04 +10:00
2021-09-27 15:30:41 +10:00
2021-09-27 15:30:41 +10:00
2022-08-13 15:52:04 +10:00
2024-12-20 17:40:04 +11:00
2022-08-13 15:52:04 +10:00
2025-09-30 13:37:20 +10:00
2025-09-30 13:37:20 +10:00
2022-08-13 15:52:04 +10:00
2022-07-19 20:21:33 -03:00
2022-07-19 20:21:33 -03:00
2022-08-13 15:52:04 +10:00
2024-12-27 20:43:59 +11:00
2024-12-27 20:43:59 +11:00
2023-07-06 19:42:01 +10:00
2021-06-17 22:19:23 +10:00
2020-07-08 20:57:21 +10:00
2022-08-13 15:52:04 +10:00
2025-01-16 19:06:00 +11:00
2024-12-27 20:43:59 +11:00
2022-08-13 15:52:04 +10:00
2020-06-24 09:53:46 +10:00
2022-08-13 15:52:04 +10:00
2025-09-30 13:37:15 +10:00
2025-09-30 13:37:15 +10:00
2022-08-13 15:52:04 +10:00
2025-01-17 19:29:56 +11:00
2025-01-17 19:29:56 +11:00
2022-08-13 15:52:04 +10:00
2024-12-20 17:40:04 +11:00
2020-06-19 20:28:03 +10:00
2022-08-13 15:52:04 +10:00
2022-08-09 20:39:39 +10:00