From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2280 invoked by alias); 3 Jan 2003 18:16:59 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 2272 invoked from network); 3 Jan 2003 18:16:57 -0000 Received: from unknown (HELO einsteinium.btinternet.com) (194.73.73.147) by 209.249.29.67 with SMTP; 3 Jan 2003 18:16:57 -0000 Received: from host217-40-212-219.in-addr.btopenworld.com ([217.40.212.219] helo=dtukjgraham2) by einsteinium.btinternet.com with smtp (Exim 3.22 #16) id 18UWN5-00038F-00; Fri, 03 Jan 2003 18:16:40 +0000 Message-ID: <016e01c2b354$4190d230$dbd428d9@altera.priv.altera.com> From: "Jonah" To: "Richard Henderson" Cc: "James Buchanan" , "Joseph D. Wagner" , References: <5.1.0.14.0.20021230031449.009ec6a0@pop.iprimus.com.au> <5.1.0.14.0.20021230031449.009ec6a0@pop.iprimus.com.au> <5.1.0.14.0.20030103114214.009e9640@pop.iprimus.com.au> <00e801c2b323$87d02e70$dbd428d9@altera.priv.altera.com> <20030103173415.GA1482@redhat.com> Subject: Re: Generated unique labels Date: Fri, 03 Jan 2003 18:16:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2003-01/txt/msg00105.txt.bz2 Thank you for the clear-up. You connecting the dots along with me reading a bit more documention :-) made me understand the problem I have. I need an assembler which supports that notation of labels, fortunately I can add local labels to my assembler. Are there other assemblers which need the support, is that why it is in the projects file? If not, should this item be removed from the projects list so that developers don't spend time working on projects that are not needed. Jonah ----- Original Message ----- From: "Richard Henderson" To: "Jonah" Cc: "James Buchanan" ; "Joseph D. Wagner" ; Sent: Friday, January 03, 2003 5:34 PM Subject: Re: Generated unique labels > On Fri, Jan 03, 2003 at 12:27:49PM -0000, Jonah wrote: > > I am a bit confused by where this conversation is going. Isn't the Projects > > list item referring to having labels in inline assembler. I will give you > > the problem I was having which I thought was the same problem as the > > projects file item. > > > > int simple_func (int b, int c) > > { > > int x; > > asm ( > > "simple_func_loop_start:\n\t" > > " Do Assebly Stuff \n\t" > > " LOOP to simple_func_loop_start" > > : [x] "=r" (x) > > : [b] "r" (b), [c] "r" (c) > > : "r0", "r1", "memory" ); > > Written using assembler local labels as > > "0:\n" > " Do Assembly Stuff\n" > " LOOP 0b" > > > r~