Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/1] gdb: Preserve subnormal values in target floating-point operations
@ 2026-11-03 21:43 Robert Dubner
  0 siblings, 0 replies; only message in thread
From: Robert Dubner @ 2026-11-03 21:43 UTC (permalink / raw)
  To: gdb-patches; +Cc: stephan.rohr

From 3112ecea54484f1dbbf4ad06bf34c89db339a1bf Mon Sep 17 00:00:00 2001
From: Robert Dubner <rdubner@symas.com>
Date: Tue, 3 Nov 2026 16:20:57 -0500
Subject: [PATCH 0/1] gdb: Preserve subnormal values in target
floating-point
 operations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch for handling subnormals can be applied only after the prior
patch "Preserve signed zero in floating-point negation and conversion"
is applied.

The subnormal problems addressed in this patch were exposed when I was
using AI to build test suites for the COBOL interface for GDB.  At my
direction, the AI located the problem point and suggested the fixes.

I have reviewed the changes, and I understand them in broad.  I have
not, however, spent the days it would take me to understand both the
MPFR library and the various interfaces in GDB to the point where I
could confidently create this patch unassisted.

This patch is just the code, and does not include DejaGNU tests.  If
tests are desireable, please let me know.

Robert Dubner (1):
  gdb: Preserve subnormal values in target floating-point operations

 gdb/target-float.c | 101 +++++++++++++++++++++++++++++----------------
 1 file changed, 65 insertions(+), 36 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 21:43 [PATCH 0/1] gdb: Preserve subnormal values in target floating-point operations Robert Dubner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox