Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] gdb: Fix floating-point field writes and subnormal results
@ 2026-11-09 21:24 Robert Dubner
  2026-11-09 21:24 ` [PATCH v2 1/2] gdb: Preserve neighboring bits when writing floating-point fields Robert Dubner
  2026-11-09 21:24 ` [PATCH v2 2/2] gdb: Preserve subnormal values in target floating-point operations Robert Dubner
  0 siblings, 2 replies; 6+ messages in thread
From: Robert Dubner @ 2026-11-09 21:24 UTC (permalink / raw)
  To: gdb-patches; +Cc: stephan.rohr

This series addresses two target floating-point encoding problems
reported in PR gdb/34927.

Changes since v1:
- Add unit tests directly in target-float.c for both fixes.
- Explain the subnormal boundary, minimum-exponent calculation,
  and significand scaling.

Tested on x86_64 GNU/Linux with MPFR enabled: all 202 selftests
pass, and targeted DejaGNU testing reports 76 expected passes
with no failures.

Robert Dubner (2):
  gdb: Preserve neighboring bits when writing floating-point fields
  gdb: Preserve subnormal values in target floating-point operations

 gdb/target-float.c | 396 ++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 353 insertions(+), 43 deletions(-)


base-commit: 9db3b515b964c1bbdc4d20c1202fbf27719be269
-- 
2.34.1


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

end of thread, other threads:[~2026-11-11  4:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 21:24 [PATCH v2 0/2] gdb: Fix floating-point field writes and subnormal results Robert Dubner
2026-11-09 21:24 ` [PATCH v2 1/2] gdb: Preserve neighboring bits when writing floating-point fields Robert Dubner
2026-11-10 10:23   ` Rohr, Stephan
2026-11-11  4:03     ` Robert Dubner
2026-11-09 21:24 ` [PATCH v2 2/2] gdb: Preserve subnormal values in target floating-point operations Robert Dubner
2026-11-10 10:40   ` Rohr, Stephan

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