From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22723 invoked by alias); 19 Dec 2013 22:25:12 -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 22713 invoked by uid 89); 19 Dec 2013 22:25:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f54.google.com Received: from mail-wg0-f54.google.com (HELO mail-wg0-f54.google.com) (74.125.82.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 19 Dec 2013 22:25:10 +0000 Received: by mail-wg0-f54.google.com with SMTP id n12so1764059wgh.9 for ; Thu, 19 Dec 2013 14:25:07 -0800 (PST) X-Received: by 10.180.207.239 with SMTP id lz15mr4687010wic.28.1387491907378; Thu, 19 Dec 2013 14:25:07 -0800 (PST) Received: from jeffraw.local (host-92-22-241-222.as13285.net. [92.22.241.222]) by mx.google.com with ESMTPSA id dd3sm1085589wjb.9.2013.12.19.14.25.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2013 14:25:06 -0800 (PST) Date: Thu, 19 Dec 2013 22:25:00 -0000 From: Rob To: Luchezar Belev cc: Florian Weimer , gcc-help Subject: Re: immediate operands without dollar sign for inline asm In-Reply-To: Message-ID: References: <52AF66D5.7070906@redhat.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00139.txt.bz2 On Thu, 19 Dec 2013, Luchezar Belev wrote: > On Mon, Dec 16, 2013 at 10:47 PM, Florian Weimer wrote: >> Isn't it specific to a subset of all the architectures? If it's generic, it >> makes sense to add it to the Extended Asm documentation. > > If I am to give opinion, here it is: > > I have only used the x86/x64 architecture so far and don't know if it > is architecture specific or generic. > AFAIK the $ sign for immediate operands is for all architectures, so > i'd guess the feature is generic. 'fraid not, I believe ARM uses a hash (#), e.g. mov r2, #3 Rob