linux-mips
[Top] [All Lists]

Re: MIPS gas relaxation still doesn't work

To: "H. J. Lu" <hjl@lucon.org>
Subject: Re: MIPS gas relaxation still doesn't work
From: Richard Sandiford <rsandifo@redhat.com>
Date: 14 Oct 2002 17:09:38 +0100
Cc: aoliva@redhat.com, linux-mips@linux-mips.org, gcc@gcc.gnu.org, binutils@sources.redhat.com
In-reply-to: <20021014082810.A28682@lucon.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20021012113423.A27894@lucon.org> <20021013145423.A10174@lucon.org> <20021014082810.A28682@lucon.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
"H. J. Lu" <hjl@lucon.org> writes:
> Can gcc be be modified not to generate noreorder/nomacro for branchs if
> gas is used?

Sounds like you're suggesting gcc should leave gas to fill delay slots?

gcc is usually much better at filling delay slots than gas is.  gas just
looks at the previous instruction to see if it's suitable.  gcc can pull
pull instructions from the branch target instead.

Richard

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