linux-mips
[Top] [All Lists]

Re: MIPS gas relaxation still doesn't work

To: Alexandre Oliva <aoliva@redhat.com>
Subject: Re: MIPS gas relaxation still doesn't work
From: Michael Matz <matz@suse.de>
Date: Mon, 14 Oct 2002 23:04:06 +0200 (CEST)
Cc: "H. J. Lu" <hjl@lucon.org>, "David S. Miller" <davem@redhat.com>, <rsandifo@redhat.com>, <linux-mips@linux-mips.org>, <gcc@gcc.gnu.org>, <binutils@sources.redhat.com>
In-reply-to: <orwuokzs9k.fsf@free.redhat.lsd.ic.unicamp.br>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi,

On 14 Oct 2002, Alexandre Oliva 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.

I think that isn't hj's point.  He wanta gas to take advantage of
relaxation, and gcc is hindering that for no good reason.  I admit I have
no idea of Mips, though, so I don't know if relaxation somehow is
depending on delay slot filling at all ;-)


Ciao,
Michael.


<Prev in Thread] Current Thread [Next in Thread>