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: GAS : assembly optimizations ?


On Tue, Nov 15, 2005 at 10:22:07PM -0800, Sandeep Kumar wrote:
> Can anyone tell me, what optimizations
> are offered by the GNU assembler

GAS doesn't really do optimisation.  At best, it tries to provide
optimal encoding of the machine instruction mnemonics given in its
source.  It does provide some macro and conditional assembly facilities,
which a programmer can use to optimise source by selecting good insn
sequences.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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