From gcc-patches-return-65619-listarch-gcc-patches=gcc dot gnu dot org at gcc dot gnu dot org Mon Aug 05 23:38:15 2002 Return-Path: Delivered-To: listarch-gcc-patches at gcc dot gnu dot org Received: (qmail 393 invoked by alias); 5 Aug 2002 23:38:14 -0000 Mailing-List: contact gcc-patches-help at gcc dot gnu dot org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner at gcc dot gnu dot org Delivered-To: mailing list gcc-patches at gcc dot gnu dot org Received: (qmail 371 invoked from network); 5 Aug 2002 23:38:13 -0000 Received: from unknown (HELO mta01bw.bigpond.com) (139.134.6.78) by sources dot redhat dot com with SMTP; 5 Aug 2002 23:38:13 -0000 Received: from bubble.local ([144.135.24.87]) by mta01bw dot bigpond dot com (Netscape Messaging Server 4 dot 15 mta01bw May 23 2002 23:53:28) with SMTP id H0E9NN00 dot 74N for ; Tue, 6 Aug 2002 09:38:11 +1000 Received: from CPE-144-136-176-14.sa.bigpond.net.au ([144.136.176.14]) by bwmam07.mailsvc.email.bigpond.com(MailRouter V3.0n 62/22029261); 06 Aug 2002 09:38:11 Received: (qmail 27185 invoked by uid 179); 5 Aug 2002 23:38:10 -0000 Date: Tue, 6 Aug 2002 09:08:10 +0930 From: Alan Modra To: Roman Zippel Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org Subject: Re: commutative asm operands Message-ID: <20020806090810.H7834@bubble.sa.bigpond.net.au> Mail-Followup-To: Roman Zippel , gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org References: <20020805071610.B7834@bubble.sa.bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from zippel at linux-m68k dot org on Tue, Aug 06, 2002 at 01:13:56AM +0200 On Tue, Aug 06, 2002 at 01:13:56AM +0200, Roman Zippel wrote: > On Mon, 5 Aug 2002, Alan Modra wrote: > > addc 3, 5, 3 > > The "3, 5, 3" line isn't correct, it's conflicting with the constraints. Oh? This is from (doing some renumbering of constraints) asm ("addc %0, %1, %2" : "=r" (a) : "%0" (c), "r" (a)); Or expanding the "%" constraint: asm ("addc %0, %1, %2" : "=r,r" (a) : "0,r" (c), "r,0" (a)); Tell me why this conflicts. -- Alan Modra IBM OzLabs - Linux Technology Centre