Skip to content

fpu: Fix OCP FP8 E4M3 conversion issues

Max Chou qemu-devel 2 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v13 patches 7 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2fpu: Fix repacking issues in the uncanonical step for E4M3 overflowfpu/softfloat-parts.c.inc+2 -00 replies
2/2fpu: Fix unexpected exception flags when converting infinity to OCP E4M3fpu/softfloat-parts.c.inc+1 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChao LiuRichard Henderson
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] fpu: Fix OCP FP8 E4M3 conversion issues

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.

Changes in version 2:
- The “fpu: Simplify OCP FP8 E4M3 NaN classification in parts_canonicalize” patch has been removed. This change retains the flexibility to classify NaNs.

rnax

Max Chou (2):
fpu: Fix repacking issues in the uncanonical step for E4M3 overflow
fpu: Fix unexpected exception flags when converting infinity to OCP

    E4M3
 fpu/softfloat-parts.c.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.52.0