This is the mail archive of the binutils@sources.redhat.com 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: [RFC/RFA] Proper mnemonics for VIA PadLock (i386) instructions


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


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