svn commit: r1840 - in trunk/yasm/modules/arch/x86: .

peter at tortall.net peter at tortall.net
Mon May 14 23:25:56 PDT 2007


Author: peter
Date: Mon May 14 23:25:56 2007
New Revision: 1840

Modified:
   trunk/yasm/modules/arch/x86/tests/svm.asm
   trunk/yasm/modules/arch/x86/x86id.c
   trunk/yasm/modules/arch/x86/x86parse.gap
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1840

Log:
Fix handling of SVM (AMD Pacifica) instructions that take an implicit
rax/eax/ax operand.  This operand actually selects the address size, so
make it a memory operand instead of a register operand (GAS follows this
approach as well).  Enable SVM instructions in non-64-bit mode as well.

Now the following opcodes work as intended:
 invlpga [rax/eax/ax], ecx
 skinit [eax]
 vmload/vmrun/vmsave [rax/eax/ax]

Noticed by: arkon at ragestorm.net
MFC after: 2 days



More information about the yasm-cvs mailing list