From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33290 invoked by alias); 26 Aug 2015 12:48:48 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 33277 invoked by uid 89); 26 Aug 2015 12:48:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f176.google.com Received: from mail-ig0-f176.google.com (HELO mail-ig0-f176.google.com) (209.85.213.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 26 Aug 2015 12:48:47 +0000 Received: by igfj19 with SMTP id j19so10709314igf.1 for ; Wed, 26 Aug 2015 05:48:45 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.102.4 with SMTP id fk4mr3603467igb.46.1440593325181; Wed, 26 Aug 2015 05:48:45 -0700 (PDT) Received: by 10.36.123.215 with HTTP; Wed, 26 Aug 2015 05:48:45 -0700 (PDT) Reply-To: noloader@gmail.com In-Reply-To: References: <1B1111BE-E274-4C80-8189-22B78D77647A@gmail.com> Date: Wed, 26 Aug 2015 12:48:00 -0000 Message-ID: Subject: Re: 128-bit integer - nonsensical documentation? From: Jeffrey Walton To: Jonathan Wakely Cc: gcc-help Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00184.txt.bz2 On Wed, Aug 26, 2015 at 8:22 AM, Jonathan Wakely wr= ote: > On 26 August 2015 at 12:04, Kostas Savvidis wrote: >> The online documentation contains the attached passage as part of the "C= -Extensions=E2=80=9D chapter. There are no actual machines which have an " = integer mode wide enough to hold 128 bits=E2=80=9D as the document puts it. > > It's not talking about machine integers, it's talking about GCC > integer modes. Several targets support that. > >> This would be a harmless confusion if it didn=E2=80=99t go on to say =E2= =80=9C=E2=80=A6 long long integer less than 128 bits wide=E2=80=9D (???!!!)= Whereas in reality "long long int=E2=80=9D is 64 bits everywhere i have se= en. > > > Read it more carefully, it says you can't express an integer constant > of type __int128 on such platforms. Is there a way to detect the presence or availability of __int128 via preprocessor macros? Jeff