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]

optimization by as


Hi Binutils Group,

I am new to writing assembly code. I know gcc can optimize C code
through various flags like -O, -O2, -O3 etc.
Does GNU 'as' also does any optimization (like instruction
re-ordering) when it compile assembly code (for arm/aarch64 cpu) ?

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.

Thanks.

-- 
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]