From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86672 invoked by alias); 2 Jun 2017 19:36:59 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 86488 invoked by uid 89); 2 Jun 2017 19:36:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*m:3173, H*F:U*tom, H*MI:3173 X-HELO: gproxy3.mail.unifiedlayer.com Received: from gproxy3-pub.mail.unifiedlayer.com (HELO gproxy3.mail.unifiedlayer.com) (69.89.30.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Jun 2017 19:36:57 +0000 Received: from cmgw3 (unknown [10.0.90.84]) by gproxy3.mail.unifiedlayer.com (Postfix) with ESMTP id B8D4A4010E for ; Fri, 2 Jun 2017 13:36:59 -0600 (MDT) Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id Tvcw1v00E2f2jeq01vczZH; Fri, 02 Jun 2017 13:36:59 -0600 X-Authority-Analysis: v=2.2 cv=VKStp5HX c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=LWSFodeU3zMA:10 a=sUI5LKkpCyhCtGljnpEA:9 Received: from 174-29-39-24.hlrn.qwest.net ([174.29.39.24]:55096 helo=pokyo.Home) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1dGsNU-0003ge-6N for gdb-patches@sourceware.org; Fri, 02 Jun 2017 13:36:56 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [RFA 0/5] improve printing of 128 bit ints Date: Fri, 02 Jun 2017 19:36:00 -0000 Message-Id: <20170602193651.3173-1-tom@tromey.com> X-BWhitelist: no X-Exim-ID: 1dGsNU-0003ge-6N X-Source-Sender: 174-29-39-24.hlrn.qwest.net (pokyo.Home) [174.29.39.24]:55096 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-SW-Source: 2017-06/txt/msg00068.txt.bz2 I wanted to improve 128-bit integer support, primarily for Rust, though I see in Bugzilla that I reported this bug at least twice for C as well. Full 128 bit integer support has two main aspects: printing and arithmetic (including parser support). This series cleans up printing, (bug 16225); leaving arithmetic for a future bug (bug 20991). Previous printing was implemented, but always zero-padded and did not correctly handle signed values. This series fixes that and removes some redundant code as well. Regtested on the buildbot. Tom