From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 67E82385B531; Sat, 25 Feb 2023 01:15:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67E82385B531 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677287705; bh=2+ne9et5t//0t9ypk7cByddRywhXQwT89AknkttbyIE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mIBFh9JXinPFIj6mqCvJVSzhLYuZ49mIJKNlh/kNjoskd52VufFAxrYmdvnlPXSF0 y3F5viZmR/N23AZi+4E15+KgQtKTuy8fcoM2Ukxfx50sPDbUlZOIUzYmZ/lXHCUVrO zUCe6dmiDZ+4IVjJj5pWKZ0x0IMQdjb0kgLXbh4o= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug exp/20991] __int128 type support Date: Sat, 25 Feb 2023 01:15:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: exp X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D20991 --- Comment #16 from Tom Tromey --- Yeah. I even considered just writing our own. Monday or so I'll push my WIP patch to add wide-int to the tree and you can see what it looks like. A few hacks were needed, though nothing too serious. Mostly I couldn't be bothered to figure out how all the classes work. The main attraction of GMP is we already have it, and I recently added a few operators and such. For constants and values in type properties we can either just store the number on some obstack, or use LEB. The latter can be nice since we can sometimes just use a pointer directly into the DWARF data. --=20 You are receiving this mail because: You are on the CC list for the bug.=