All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fpu: Fix OCP FP8 E4M3 conversion issues
@ 2026-02-25 11:07 Max Chou
  2026-02-25 11:08 ` [PATCH 1/3] fpu: Fix repacking issues in the uncanonical step for E4M3 overflow Max Chou
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Max Chou @ 2026-02-25 11:07 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv
  Cc: Aurelien Jarno, Peter Maydell, Alex Bennée,
	richard.henderson, Max Chou

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-02-26  6:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-25 11:07 [PATCH 0/3] fpu: Fix OCP FP8 E4M3 conversion issues Max Chou
2026-02-25 11:08 ` [PATCH 1/3] fpu: Fix repacking issues in the uncanonical step for E4M3 overflow Max Chou
2026-02-25 11:50   ` Chao Liu
2026-02-25 21:09   ` Richard Henderson
2026-02-25 11:08 ` [PATCH 2/3] fpu: Fix unexpected exception flags when converting infinity to OCP E4M3 Max Chou
2026-02-25 11:46   ` Chao Liu
2026-02-25 21:07   ` Richard Henderson
2026-02-25 11:08 ` [PATCH 3/3] fpu: Simplify OCP FP8 E4M3 NaN classification in parts_canonicalize Max Chou
2026-02-25 11:44   ` Chao Liu
2026-02-25 21:06   ` Richard Henderson
2026-02-26  6:55     ` Max Chou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.