MIPS gas relaxation still doesn't work

H. J. Lu hjl@lucon.org
Mon Oct 14 10:24:00 GMT 2002


On Mon, Oct 14, 2002 at 10:13:18AM -0700, David S. Miller wrote:
>    From: "H. J. Lu" <hjl@lucon.org>
>    Date: Mon, 14 Oct 2002 10:16:40 -0700
>    
>    The problem here is when gcc fills the delay slot with nop, it kills
>    branch relaxation. My request is gcc never fills the delay slot with
>    nop. If gcc can't find any insn to fill, don't emit .set noreorder.
> 
> Why not work on making gcc fill the delay slot with something
> suitable if you think the branch relaxer can do better for
> your testcase?

I never said gas could find better insn to fill the delay slot. It is
just that it won't kill the branch relaxation. There is no gain, and
only loss, for gcc to fill the delay slot with nop.


H.J.



More information about the Binutils mailing list