From patchwork Sat Sep 7 19:25:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Stump X-Patchwork-Id: 273388 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "www.sourceware.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 772B52C00CF for ; Sun, 8 Sep 2013 05:25:40 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; q=dns; s=default; b=sefg5SIrD91Z2/xZyP/kzhhAq2 gsPe2a4xq6eFRu/JSZUyKN8PuCv6KFaR8aOfJqk23Et0UAZZk1laknxgidWUZAmg Q1vcUGEq6klSkp+KO98X9KOsLYKQP4mbXdPX6L6194AqO1XLy/RZLIh5gB6F9SKa EiBhSEI/gpb0WwBXs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; s=default; bh=oQEcDfBjUrtwIB7wBVglcb5pDV4=; b= HGy66AbVO1Yq+uYKYmYKuipZ5VM0r/c9Cet/tItUN+LOza+E4hBN7pni66fM1DiA 40Xhfu2Y6ZExIOfBgK1t3K00XcpeKIMkUJgTUgwc7mhDDwteuomou7zRYWKJ3gz2 ri19MuWsGt13v8Mq9v/XLiNmIDLQcD98gXmfkQ1tRB0= Received: (qmail 19828 invoked by alias); 7 Sep 2013 19:25:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 19819 invoked by uid 89); 7 Sep 2013 19:25:33 -0000 Received: from qmta06.emeryville.ca.mail.comcast.net (HELO qmta06.emeryville.ca.mail.comcast.net) (76.96.30.56) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 07 Sep 2013 19:25:33 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_NO, RDNS_NONE, SPF_PASS autolearn=no version=3.3.2 X-HELO: qmta06.emeryville.ca.mail.comcast.net Received: from omta10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by qmta06.emeryville.ca.mail.comcast.net with comcast id NKDv1m00C0cQ2SLA6KRXv4; Sat, 07 Sep 2013 19:25:31 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta10.emeryville.ca.mail.comcast.net with comcast id NKRW1m00c0BKwT48WKRWqZ; Sat, 07 Sep 2013 19:25:31 +0000 From: Mike Stump Subject: [wide-int] Fixup filename/class spellings Message-Id: <0927CBAE-B138-490C-873F-3E97DFF7A5E4@comcast.net> Date: Sat, 7 Sep 2013 12:25:30 -0700 To: "gcc-patches@gcc.gnu.org Patches" Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-IsSubscribed: yes This fixes up the spellings of filenames and classes... Index: wide-int.cc =================================================================== --- wide-int.cc (revision 202354) +++ wide-int.cc (working copy) @@ -103,7 +103,7 @@ canonize (HOST_WIDE_INT *val, unsigned i } /* - * Conversion routines in and out of wide-int. + * Conversion routines in and out of wide_int. */ /* Copy XLEN elements from XVAL to VAL. If NEED_CANON, canonize the @@ -254,7 +254,7 @@ wi::from_mpz (const_tree type, mpz_t x, make up for the fact that double int's could not represent the min and max values of all types. This code should be removed because the min and max values can always be represented in - wide-ints and int-csts. */ + wide_ints and int-csts. */ wide_int wi::max_value (unsigned int precision, signop sgn) { Index: wide-int.h =================================================================== --- wide-int.h (revision 202354) +++ wide-int.h (working copy) @@ -20,13 +20,13 @@ along with GCC; see the file COPYING3. #ifndef WIDE_INT_H #define WIDE_INT_H -/* Wide-int.[cc|h] implements a class that efficiently performs - mathematical operations on finite precision integers. Wide-ints +/* wide-int.[cc|h] implements a class that efficiently performs + mathematical operations on finite precision integers. wide_ints are designed to be transient - they are not for long term storage - of values. There is tight integration between wide-ints and the + of values. There is tight integration between wide_ints and the other longer storage GCC representations (rtl and tree). - The actual precision of a wide-int depends on the flavor. There + The actual precision of a wide_int depends on the flavor. There are three predefined flavors: 1) wide_int (the default). This flavor does the math in the @@ -143,7 +143,7 @@ along with GCC; see the file COPYING3. as long as they can be reconstructed from the top bit that is being represented. - There are constructors to create the various forms of wide-int from + There are constructors to create the various forms of wide_int from trees, rtl and constants. For trees and constants, you can simply say: tree t = ...; @@ -172,10 +172,10 @@ along with GCC; see the file COPYING3. without having to special case the front ends. * When a constant that has an integer type is converted to a - wide-int it comes in with precision 0. For these constants the + wide_int it comes in with precision 0. For these constants the top bit does accurately reflect the sign of that constant; this is an exception to the normal rule that the signedness is not - represented. When used in a binary operation, the wide-int + represented. When used in a binary operation, the wide_int implementation properly extends these constants so that they properly match the other operand of the computation. This allows you write: