[RFC/RFA] Proper mnemonics for VIA PadLock (i386) instructions

Alan Modra amodra@bigpond.net.au
Wed Apr 13 00:38:00 GMT 2005


On Tue, Apr 12, 2005 at 10:43:10PM +0200, Mark Kettenis wrote:
> Because there is already code out there that uses the hyphen.  The
> reason for preferring the hyphenated names over the unhyphenated names
> is that the former are used by the VIA documentation.

I don't like the idea of putting '-' in mnemonic_chars.  I think it has
a high likelihood of breaking other valid assembly.  The gas app.c code
has a nasty habit of completely removing whitespace once past the
mnemonic of an instruction, and it can get confused.  Something like

 addr16 mov -2,%eax

might fail if '-' is a valid mnemonic char.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list