This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimization by as


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]