optimization by as

Virendra Kumar Pathak kumarvir.pathak@gmail.com
Mon Aug 10 06:41:00 GMT 2015


Hi Andrew,

Thanks for the reply.

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.

Thanks.


On 6 August 2015 at 19:38, Andrew Bennett <Andrew.Bennett@imgtec.com> wrote:
>> I see -O option for MIPS target in 'man as' but no such option for
>> arm/aarch64.
>> Please give some insight on what type of optimization does this -O do.
>
> This optimisation is enabling the filling of branch delay slots, and the
> removal of unneeded nops.
>
> Regards,
>
>
>
> Andrew



-- 
with regards,
Virendra Kumar Pathak



More information about the Binutils mailing list