From: Robert Dubner <rdubner@symas.com>
To: <gdb-patches@sourceware.org>
Cc: <stephan.rohr@intel.com>
Subject: [PATCH 0/1] gdb: Preserve subnormal values in target floating-point operations
Date: Tue, 3 Nov 2026 15:43:57 -0600 (CST) [thread overview]
Message-ID: <03cc01dd6bdc$6f9b78a0$4ed269e0$@symas.com> (raw)
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
reply other threads:[~2026-11-03 21:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='03cc01dd6bdc$6f9b78a0$4ed269e0$@symas.com' \
--to=rdubner@symas.com \
--cc=gdb-patches@sourceware.org \
--cc=stephan.rohr@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox