[PATCH 0/3] fpu: Fix OCP FP8 E4M3 conversion issues

Max Chou posted 3 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260225110802.1217946-1-max.chou@sifive.com
Maintainers: Aurelien Jarno <aurelien@aurel32.net>, Peter Maydell <peter.maydell@linaro.org>, "Alex Bennée" <alex.bennee@linaro.org>
There is a newer version of this series
fpu/softfloat-parts.c.inc | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
[PATCH 0/3] fpu: Fix OCP FP8 E4M3 conversion issues
Posted by Max Chou 1 month, 2 weeks ago
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