optimization by as
Yury Gribov
y.gribov@samsung.com
Mon Aug 17 09:29:00 GMT 2015
More information about the Binutils mailing list
Mon Aug 17 09:29:00 GMT 2015
- Previous message (by thread): optimization by as
- Next message (by thread): optimization by as
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 08/10/2015 05:53 PM, Paul_Koning@Dell.com wrote: > >> On Aug 10, 2015, at 2:41 AM, Virendra Kumar Pathak <kumarvir.pathak@gmail.com> wrote: >> >> 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. > > Good assemblers don’t do optimization; that is the job of the compiler (or, in the uncommon case of hand-written assembly language, the programmer). The MIPS assembler is an aberration, fortunately a rare one. Note that this “optimization†machinery is turned off by recent compilers when they feed generated code to the assembler, because it gets in the way of the compiler doing a better job. AFAIR PS3 assembler was also optimizing (e.g. it could do register allocation and instruction scheduling). -Y
- Previous message (by thread): optimization by as
- Next message (by thread): optimization by as
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list