From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17751 invoked by alias); 14 Nov 2013 18:37:23 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17740 invoked by uid 89); 14 Nov 2013 18:37:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Nov 2013 18:37:20 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Vh1mp-0005bp-UP from joseph_myers@mentor.com ; Thu, 14 Nov 2013 10:37:03 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 14 Nov 2013 10:37:03 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Thu, 14 Nov 2013 18:37:02 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1Vh1mn-0003ph-01; Thu, 14 Nov 2013 18:37:01 +0000 Date: Thu, 14 Nov 2013 18:37:00 -0000 From: "Joseph S. Myers" To: DJ Delorie CC: Subject: Re: proposal to make SIZE_TYPE more flexible In-Reply-To: <201311141812.rAEICMvn019947@greed.delorie.com> Message-ID: References: <201310300422.r9U4M6Mx002568@greed.delorie.com> <201310301917.r9UJHxg7028662@greed.delorie.com> <201310302219.r9UMJg9e001309@greed.delorie.com> <201311140158.rAE1wCkg006136@greed.delorie.com> <201311141812.rAEICMvn019947@greed.delorie.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2013-11/txt/msg00296.txt.bz2 On Thu, 14 Nov 2013, DJ Delorie wrote: > > Instead of a target-independent __int128 keyword, there would be a set > > (possibly empty) of __intN keywords, determined by a target hook. > > Or *-modes.def ? That would be one possibility - if the idea is to define __intN for all integer modes not matching a standard type (and passing targetm.scalar_mode_supported_p), I advise posting details of what effect this would have for all targets so we can see how many such types would get added. (I don't advise having __intN when there are matching standard integer types as that would introduce unnecessary complications regarding whether __intN is the same type, or a distinct one needing its own name mangling and rank for promotion. Draft TS 18661-3 does have _Float32 etc. as always distinct types from float etc., but I don't see any use for that for integer types for now.) -- Joseph S. Myers joseph@codesourcery.com