GAS : assembly optimizations ?

Alan Modra amodra@bigpond.net.au
Wed Nov 16 07:19:00 GMT 2005
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



More information about the Binutils mailing list