From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 17N8AsFV6mqFYhAAWB0awg (envelope-from ) for ; Tue, 03 Nov 2026 16:44:33 -0500 Received: by simark.ca (Postfix, from userid 112) id 672C21E043; Tue, 03 Nov 2026 16:44:32 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 193BA1E043 for ; Tue, 03 Nov 2026 16:44:27 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C9AE84BA7987 for ; Tue, 3 Nov 2026 21:44:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9AE84BA7987 Received: from zmcc-4-mx.zmailcloud.com (zmcc-4-mx.zmailcloud.com [34.203.170.87]) by sourceware.org (Postfix) with ESMTPS id E335A4BA2E1B for ; Tue, 3 Nov 2026 21:43:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E335A4BA2E1B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=symas.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=symas.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E335A4BA2E1B Authentication-Results: sourceware.org; arc=none smtp.remote-ip=34.203.170.87 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793742240; cv=none; b=qkRYYwBPkFqoPuujhhKbDz5RDMMvJuXQBlfsF9OQFEzX0L6yVESDyBKBRhgXNB+Ilbhk1MLxSDhCfrXRL+Q6a2wu73xsuts/IfOlxiUHOVu9mrF413KL6fNLqYqe1tfJCaFWEvZCCQLkeEOWZ4DOLA/5p8l9PiRZSaf8CxRIy+I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793742240; c=relaxed/simple; bh=Y0pUKlnleiQWPh0xNPoPPte9D70pdKGzJXpR0hJ0pEI=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=UTrUvF6Nj12Omt+I/Agh3wnI5mHQn9xh1GDnQ2ns92IkMLcaAPpzH56upnEgaKbHjGyOoHH9k3lnDKlCq4T29HhYWwQpJLoNjtfQ1HqIKb8e24JsKNFLsFob77ITAkAPygUQVLjmkigSwTPRNcl62sYis8qG3nl0rt0jqeK0xHY= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E335A4BA2E1B Received: from zmcc-3.zmailcloud.com (ec2-3-15-255-223.us-east-2.compute.amazonaws.com [3.15.255.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zmcc-4-mx.zmailcloud.com (Postfix) with ESMTPS id 8CC097819CD3; Tue, 3 Nov 2026 15:43:58 -0600 (CST) Received: from zmcc-3.zmailcloud.com (localhost [127.0.0.1]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTPS id 6E8D6104F24A; Tue, 3 Nov 2026 15:43:58 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTP id 55A3D1043EBC; Tue, 3 Nov 2026 15:43:58 -0600 (CST) Received: from zmcc-3.zmailcloud.com ([127.0.0.1]) by localhost (zmcc-3-mta-1.zmailcloud.com [127.0.0.1]) (amavis, port 10026) with ESMTP id AYwHcR3zMM1v; Tue, 3 Nov 2026 15:43:58 -0600 (CST) Received: from zmcc-3-mailbox-1.zmailcloud.com (zmcc-3-mailbox-1.zmailcloud.com [172.31.18.168]) by zmcc-3-mta-1.zmailcloud.com (Postfix) with ESMTP id 298A5104F24A; Tue, 3 Nov 2026 15:43:58 -0600 (CST) From: Robert Dubner To: Cc: Subject: [PATCH 0/1] gdb: Preserve subnormal values in target floating-point operations Thread-Topic: [PATCH 0/1] gdb: Preserve subnormal values in target floating-point operations Date: Tue, 3 Nov 2026 15:43:57 -0600 (CST) Message-ID: <03cc01dd6bdc$6f9b78a0$4ed269e0$@symas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 X-Mailer: Zimbra 10.1.21_GA_4899 (Zimbra-ZCO/1951 (10.0.26200 en-US) P4838 T2870 R4780) Thread-Index: Ad1r26bpGAAuU0OwRt6OjC6x/7Zx9Q== Content-Language: en-us X-Zimbra-Message-Verification: hash=SHA256; guid=MjNkNDA1ZmYyNGU0YWFiMjkxZTY5N2RjZWI4ZWJkZDdlNTYxMmIwNjkzNDc5ZDVjNzlkYmU3NjNkYTMxYzBhYg== X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >From 3112ecea54484f1dbbf4ad06bf34c89db339a1bf Mon Sep 17 00:00:00 2001 From: Robert Dubner 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