Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 15 Oct 2002 07:01:22 +0200 (CEST) Received: from nat-pool-rdu.redhat.com ([66.187.233.200]:30630 "EHLO lacrosse.corp.redhat.com") by linux-mips.org with ESMTP id ; Tue, 15 Oct 2002 07:01:21 +0200 Received: from free.redhat.lsd.ic.unicamp.br (aoliva2.cipe.redhat.com [10.0.1.156]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g9F51BP32662; Tue, 15 Oct 2002 01:01:11 -0400 Received: from free.redhat.lsd.ic.unicamp.br (localhost.localdomain [127.0.0.1]) by free.redhat.lsd.ic.unicamp.br (8.12.5/8.12.5) with ESMTP id g9F51AxB011078; Tue, 15 Oct 2002 03:01:10 -0200 Received: (from aoliva@localhost) by free.redhat.lsd.ic.unicamp.br (8.12.5/8.12.5/Submit) id g9F51Ai9011074; Tue, 15 Oct 2002 02:01:10 -0300 To: Eric Christopher Cc: "H. J. Lu" , "David S. Miller" , rsandifo@redhat.com, linux-mips@linux-mips.org, gcc@gcc.gnu.org, binutils@sources.redhat.com Subject: Re: MIPS gas relaxation still doesn't work References: <20021014123940.A32333@lucon.org> <20021014.123510.00003943.davem@redhat.com> <20021014125549.A32575@lucon.org> <20021014.125134.98070597.davem@redhat.com> <20021014130932.A32693@lucon.org> <20021014132352.A489@lucon.org> <1034630700.18841.0.camel@ghostwheel> From: Alexandre Oliva Organization: GCC Team, Red Hat Date: 15 Oct 2002 02:01:10 -0300 In-Reply-To: <1034630700.18841.0.camel@ghostwheel> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 431 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: aoliva@redhat.com Precedence: bulk X-list: linux-mips On Oct 14, 2002, Eric Christopher wrote: > On Mon, 2002-10-14 at 13:23, H. J. Lu wrote: >> On Mon, Oct 14, 2002 at 05:20:55PM -0300, Alexandre Oliva wrote: >> > On Oct 14, 2002, "H. J. Lu" wrote: >> > >> > > If gcc just emits >> > >> > > bne $2,$0,$L7493 >> > > j $L2 >> > >> > IIRC, that's exactly what GCC will emit if you don't tell it to try to >> > fill delay slots. If it tries to fill delay slots and fails, I doubt >> > the assembler is going to succeed at that. >> >> Is that a way to tell gcc not to fill the delay slots with nop? If gcc >> has nothing else to fill, do nothing and let gas do its thing. > Read mips_output_conditional_branch () That part I'm familiar with. The part I'm not familiar with is whether this would trigger problems in say the SGI assembler, or whether such reordering of .sets would violate some MIPS assembler specification I'm not familiar with. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist Professional serial bug killer