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

peter at tortall.net peter at tortall.net
Wed Aug 15 22:51:00 PDT 2007


Author: peter
Date: Wed Aug 15 22:50:59 2007
New Revision: 1909

Added:
   trunk/yasm/modules/arch/x86/tests/amd200707.asm
   trunk/yasm/modules/arch/x86/tests/amd200707.hex
Modified:
   trunk/yasm/modules/arch/x86/tests/Makefile.inc
   trunk/yasm/modules/arch/x86/x86arch.h
   trunk/yasm/modules/arch/x86/x86bc.c
   trunk/yasm/modules/arch/x86/x86id.c
   trunk/yasm/modules/arch/x86/x86parse.gap
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1909

Log:
Add support for the following AMD instructions added in their July 2007
documentation update:
 - LZCNT
 - POPCNT
 - EXTRQ
 - INSERTQ
 - MOVNTSD
 - MOVNTSS

This required some new tricks in the x86 code, as EXTRQ and INSERTQ have
two imm8 parameters (the first one of which goes into the EA field), and
INSERTQ has a *4* parameter version (xmm1, xmm2, imm8, imm8).  Instead of
globally making the structures 4 wide, we just special-case INSERTQ.



More information about the yasm-cvs mailing list