This series fix following issues related to OCP FP8 E4M3 conversion.
- Numeric overflow to E4M3 produces incorrect exponent values due to a
missing local variable update after calling uncanon_e4m3_overflow.
- Converting infinity to E4M3 incorrectly raises OF|NX exception flags.
- The E4M3 NaN classification logic in parts_canonicalize uses an
indirect method that obscures the architecture-dependent semantics.
rnax
Max Chou (3):
fpu: Fix repacking issues in the uncanonical step for E4M3 overflow
fpu: Fix unexpected exception flags when converting infinity to OCP
E4M3
fpu: Simplify OCP FP8 E4M3 NaN classification in parts_canonicalize
fpu/softfloat-parts.c.inc | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--
2.52.0