2.10.91: A problem with R_MIPS_CALL relocations within gas
Andrew Haley
aph@redhat.com
Sat Nov 18 03:10:00 GMT 2000
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.
More information about the Binutils
mailing list