[Bug 289232] i386 (x87) signal incorrectly reports FPE_FLTRES over FPE_FLTUND when both are present

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Sep 2025 17:01:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289232

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #4 from Konstantin Belousov <kib@FreeBSD.org> ---
Your program prints the following:
Caught SIGFPE (Floating-Point Exception)!
Signal info (si_code): 6: FPE_FLTRES
x87 FPU Status Word (FSW): 0xbaa0
  INEXACT

I checked this using the binary compiled with -m32, on amd64 host, both on
Intel
and AMD CPUs.

-- 
You are receiving this mail because:
You are the assignee for the bug.