From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69344 invoked by alias); 12 Nov 2018 15:43:16 -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 69334 invoked by uid 89); 12 Nov 2018 15:43:15 -0000 Authentication-Results: sourceware.org; auth=none 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=H*Ad:U*amodra, Youll, You'll 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; Mon, 12 Nov 2018 15:43:14 +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 wACFh7Sk019527; Mon, 12 Nov 2018 09:43:07 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id wACFh3xt019510; Mon, 12 Nov 2018 09:43:03 -0600 Date: Mon, 12 Nov 2018 15:43:00 -0000 From: Segher Boessenkool To: Andreas Schwab Cc: Michael Matz , Alan Modra , gcc-patches@gcc.gnu.org Subject: Re: [RS6000] Don't pass -many to the assembler Message-ID: <20181112154302.GL23873@gate.crashing.org> References: <20181112114904.GH22752@bubble.grove.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2018-11/txt/msg00967.txt.bz2 On Mon, Nov 12, 2018 at 03:52:29PM +0100, Andreas Schwab wrote: > On Nov 12 2018, Michael Matz wrote: > > > Wouldn't this also break compiling code that contains power9 instructions > > but guarded by runtime tests to only be executed on power9 machines? That > > seems a valid usecase, and it'd be bad if the assembler fails to compile > > such. (You can't use -mcpu=power9 as work around as the other > > unguarded code is not supposed to be using power9 insns). > > You'll need to put .machine directives around them. My worry with that is there may be too much legacy code that does not do this :-( Segher