optimization by as
Ian Lance Taylor
iant@google.com
Tue Aug 11 14:22:00 GMT 2015
On Mon, Aug 10, 2015 at 6:22 AM, Matthew Fortune
<Matthew.Fortune@imgtec.com> wrote:
> Virendra Kumar Pathak <kumarvir.pathak@gmail.com> writes:
>> What other types of optimization can be handled by the assembler ?
>> Are they capable of re-ordering the instructions ?
>> For example inserting other instruction between two loads (on machine
>> with one load unit) to avoid pipeline stall.
>
> No, that would then be a compiler/recompiler as it needs to do so much
> analysis for safety. You 'can' do anything you like in the assembler
> but probably shouldn't as it is not geared up for that kind of processing.
Although for a while there was the MAO project:
http://code.google.com/p/mao/ . As far as I know, though, it is dead.
Ian
More information about the Binutils
mailing list