Scheduling x86 dispatch windows

Andi Kleen andi@firstfloor.org
Sat Jun 12 07:41:00 GMT 2010


Quentin Neill <quentin.neill.gnu@gmail.com> writes:
>
> Another option would be to expose some subset of the assembler
> functionality as a plugin to GCC (similar to how gold is used) to
> extract the instruction sizes.   Any comments on that approach?

AFAIK gcc already does keep track of instruction lengths
(e.g. for LOOP), but it may not be fully reliable.

But if you need more why can't you just link the whole assembler
into gcc? That would hopefully speed up compilation too
(e.g. over time the text generation of instructions could
be bypassed)

I don't know how hard it would be, but it would seem like the
right thing to do.

-Andi



More information about the Binutils mailing list