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

Michal Ludvig michal@logix.cz
Tue Apr 12 20:32:00 GMT 2005


Mark Kettenis wrote:
> This one is a bit nasty.  The OpenBSD in-tree gas has had support for
> the VIA PadLock instructions for a while.  Unfortunately that support
> was never submitted for inclusion into the FSF tree.  A little over a
> year ago Michal Ludvig committed support for these instructions.
> Unfortunately he used mnemonics that differ from the instruction names
> as used in the VIA documentation; the VIA names include a hyphen that
> Michal left out.  I presume Michal did this because gas doesn't accept
> hyphens in mnemonics.  That can be fixed though.  This patch does
> that, and adds back the missing hyphen.  It also adds a missing
> instruction that's going to be in the VIA cpu.
> 
> This patch keeps hyphen-less aliases for the instructions.  The gas
> testsuite still passes with this patch applied.

As long as the names without hyphen still exist I don't object.
Coincidently in Linux Journal of May 05 there is an article about VIA
PadLock that uses the current short names (obviously).

However, what is the point of having two names for one instruction? Why
not to support only the one without hyphen?

Michal Ludvig
-- 
* Personal homepage: http://www.logix.cz/michal



More information about the Binutils mailing list