public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Arithmetic for 128-bit types
@ 2023-03-03 21:11 Tom Tromey
  2023-03-03 21:12 ` [PATCH 1/8] Add many operators to gdb_mpz Tom Tromey
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Tom Tromey @ 2023-03-03 21:11 UTC (permalink / raw)
  To: gdb-patches

This series adss basic arithmetic for 128-bit integer types to gdb.

This is done using GMP, which gdb already requires.  While this
involves extra allocation, my view is that this hardly matters in most
expression contexts.  However, if it does turn out to matter, we can
try to switch to GCC's wide-integer code.

While this series, or something like it, is necessary for supporting
128-bit types, it is not sufficient.  In particular, none of the
lexers or parsers are touched, and integers that are part of types
(e.g., range bounds) are not handled.

This series is based on my earlier series to clean up the GMP classes.

Regression tested on x86-64 Fedora 36.

Tom



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

end of thread, other threads:[~2023-03-27 14:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 21:11 [PATCH 0/8] Arithmetic for 128-bit types Tom Tromey
2023-03-03 21:12 ` [PATCH 1/8] Add many operators to gdb_mpz Tom Tromey
2023-03-07 13:38   ` Alexandra Petlanova Hajkova
2023-03-03 21:12 ` [PATCH 2/8] Avoid a copy in gdb_mpz::safe_export Tom Tromey
2023-03-03 21:12 ` [PATCH 3/8] Add truncation mode to gdb_mpz Tom Tromey
2023-03-03 21:12 ` [PATCH 4/8] Add value_as_mpz and value_from_mpz Tom Tromey
2023-03-08 10:47   ` Lancelot SIX
2023-03-08 15:48     ` Tom Tromey
2023-03-03 21:12 ` [PATCH 5/8] Simplify binop_promote Tom Tromey
2023-03-03 21:12 ` [PATCH 6/8] Use value_true in value_equal and value_less Tom Tromey
2023-03-03 21:12 ` [PATCH 7/8] Use gdb_gmp for scalar arithmetic Tom Tromey
2023-03-03 21:12 ` [PATCH 8/8] Fix 128-bit integer bug in Ada Tom Tromey
2023-03-04  7:04 ` [PATCH 0/8] Arithmetic for 128-bit types Eli Zaretskii
2023-03-08 16:17   ` Tom Tromey
2023-03-27 14:20 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).