Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3425638imm; Mon, 8 Oct 2018 03:58:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV612mJTppIEWHBgU9u0apmJcgZ8I8uhHqmrmre6GbeYfNA49BBdkzRQrdPAoZgbxOb3sRv2i X-Received: by 2002:a62:210:: with SMTP id 16-v6mr25315760pfc.100.1538996308919; Mon, 08 Oct 2018 03:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538996308; cv=none; d=google.com; s=arc-20160816; b=eAFH3cQaOtOG82urtibO5AijyJKfa+pbLr4mvxBHth/bbEZZ1zyvQMFU/1tmIPzXrU vP7vN07zyOKatYHBLkr+AJyJupooVAeDU3tUGvNO5IWw2XskPasRq/hM/UEGNgf9RB9G J8k3dn5Ekb6M69es34Vp1qnuBeNoCDRpJZMw4EYCU+Bry8Cxhk3/QZkoVHPmxgBwupKy peQUNDoZcQRoVCRwkxDLKlqy6lZDm1fCs4yOttqe4OG86Pw2sUXpd2ZOvqR9g70PYE2S l5jDzfpY9Wb2spiQYu+q/Kmj5hsLNb23yMHCkexv5dTc6tqwkduOQ1Er/2vtblEYHTyz OZvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=KBgPxC1dmovwfh6Izr3/65gqVL55AB2w9gT3li/S7Co=; b=lKvIlGIfw4re3Idtpul0kajC7YZnyB3BrxvzKPELqjOpMna3pFJRFfkJSD7DSJis+M QoQzE2CpZooBUPdAWfR6hsBpddDcyfmLgiW/s9eBjpHdLI4Qo0XkiBr7i5iTuEhZKb13 40Bon0XfUAFnVohJMtXvymPQnEwLAY09vUXhMisfeQCpdsRXIU5I8giASlrc7aw7TMqN DuJC9W1Dg04exjXQFlTBeY0mtCUabDzEElpRVHGTxYXyomD8UWzaMhtrEzcaWsP5deWb 6JectbNGhJpUizI1qE2l+Mr4LxzS1myIrKb9yofXFdRBWS5y97TbGeTdvNDs/Hisa5tN pYZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r18-v6si16118677pgj.194.2018.10.08.03.58.13; Mon, 08 Oct 2018 03:58:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727279AbeJHSH6 (ORCPT + 99 others); Mon, 8 Oct 2018 14:07:58 -0400 Received: from gate.crashing.org ([63.228.1.57]:43013 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726612AbeJHSH6 (ORCPT ); Mon, 8 Oct 2018 14:07:58 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id w98A2pvY009011; Mon, 8 Oct 2018 05:02:51 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id w98A2k5p008969; Mon, 8 Oct 2018 05:02:46 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Mon, 8 Oct 2018 05:02:46 -0500 From: Segher Boessenkool To: Richard Biener Cc: Michael Matz , Borislav Petkov , gcc@gcc.gnu.org, Nadav Amit , Ingo Molnar , linux-kernel@vger.kernel.org, x86@kernel.org, Masahiro Yamada , Sam Ravnborg , Alok Kataria , Christopher Li , Greg Kroah-Hartman , "H. Peter Anvin" , Jan Beulich , Josh Poimboeuf , Juergen Gross , Kate Stewart , Kees Cook , linux-sparse@vger.kernel.org, Peter Zijlstra , Philippe Ombredanne , Thomas Gleixner , virtualization@lists.linux-foundation.org, Linus Torvalds , Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Subject: Re: PROPOSAL: Extend inline asm syntax with size spec Message-ID: <20181008100245.GP29268@gate.crashing.org> References: <20181003213100.189959-1-namit@vmware.com> <20181007091805.GA30687@zn.tnic> <20181007132228.GJ29268@gate.crashing.org> <20181008073128.GL29268@gate.crashing.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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 08, 2018 at 11:07:46AM +0200, Richard Biener wrote: > > All of a targets register names and alternative register names are > > allowed in the clobber list. Will that never conflict with an attribute > > name? We already *have* syntax for specifying attributes on an asm (on > > *any* statement even), so mixing these two things has no advantage. > > Heh, but I failed to make an example with attribute synatx working. > IIRC attributes do not work on stmts. What could work is to use > a #pragma though. Apparently statement attributes currently(?) only work for null statements. Oh well. Segher