]> granicus.if.org Git - yasm/commit
Add support for the following AMD instructions added in their July 2007
authorPeter Johnson <peter@tortall.net>
Thu, 16 Aug 2007 05:50:59 +0000 (05:50 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 16 Aug 2007 05:50:59 +0000 (05:50 -0000)
commitaea53cfd9ea85250578e7640e7193444c2e0e247
tree0228195ab29f577b1bdbb52d0c3847815f5f8f86
parent589c25b4514af60703bae2f53686fde1c43dfe8f
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.

svn path=/trunk/yasm/; revision=1909
modules/arch/x86/tests/Makefile.inc
modules/arch/x86/tests/amd200707.asm [new file with mode: 0644]
modules/arch/x86/tests/amd200707.hex [new file with mode: 0644]
modules/arch/x86/x86arch.h
modules/arch/x86/x86bc.c
modules/arch/x86/x86id.c
modules/arch/x86/x86parse.gap