From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104213 invoked by alias); 25 May 2018 17:18:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 103821 invoked by uid 89); 25 May 2018 17:18:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= X-HELO: gate.crashing.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 May 2018 17:18:26 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id w4PHICuD007309; Fri, 25 May 2018 12:18:12 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id w4PHIBOJ007308; Fri, 25 May 2018 12:18:11 -0500 Date: Fri, 25 May 2018 17:28:00 -0000 From: Segher Boessenkool To: "Richard Earnshaw (lists)" Cc: Jeff Law , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] testsuite: Introduce be/le selectors Message-ID: <20180525171811.GK17342@gate.crashing.org> References: <3e9dbbd6-2376-901a-18e9-6eb49cc71687@arm.com> <20180524172842.GB17342@gate.crashing.org> <9fcc8cb9-b20d-2abd-5f53-ccf50f230b54@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9fcc8cb9-b20d-2abd-5f53-ccf50f230b54@arm.com> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg01513.txt.bz2 On Fri, May 25, 2018 at 10:30:58AM +0100, Richard Earnshaw (lists) wrote: > On 24/05/18 18:28, Segher Boessenkool wrote: > > On Wed, May 23, 2018 at 10:07:18AM +0100, Richard Earnshaw (lists) wrote: > >> On 22/05/18 22:21, Jeff Law wrote: > >>> On 05/21/2018 03:46 PM, Segher Boessenkool wrote: > >>>> This patch creates "be" and "le" selectors, which can be used by all > >>>> architectures, similar to ilp32 and lp64. > > > >>>> 2017-05-21 Segher Boessenkool > >>>> > >>>> gcc/testsuite/ > >>>> * lib/target-supports.exp (check_effective_target_be): New. > >>>> (check_effective_target_le): New. > >>> I think this is fine. "be" "le" are used all over the place in gcc and > >>> the kernel to denote big/little endian. > >> > >> except when el and eb are used for perversity... :-) > > > > It should have been -BE and -EL, because that is what it means. That > > also avoids the -l/-L problem -le and -LE would have ;-) > > > > (Confusing? Yes, little-endian is confusing). > > I beg to differ. Big endian is the confusing one... :-) I thought you said -EL is perverse. Maybe I misunderstood! (Sorry sorry). Segher