This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: 2.10.91: A problem with R_MIPS_CALL relocations within gas
Ralf Baechle writes:
> On Fri, Nov 17, 2000 at 09:16:52AM -0800, Ian Lance Taylor wrote:
>
> > FYI, gcc does this to permit better instruction scheduling. Splitting
> > up the instructions permits, e.g., putting the la instruction in a
> > delay slot. Other MIPS toolchains do extensive instruction scheduling
> > in the assembler, but in the GNU toolchain gcc can do a better job of
> > that.
>
> I've taken a look at the dissassmbly of libc and found that gcc only does
> a reasonable job of scheduling function calls in very few cases.
It depends on which version of gcc was used; there have been several
versions of the scheduler, and it's an area of the compiler being
worked on all the time.
Andrew.