]> granicus.if.org Git - yasm/commit
Add support for AMD XOP, FMA4, and CVT16 instructions (replacing SSE5).
authorPeter Johnson <peter@tortall.net>
Sun, 10 May 2009 05:24:46 +0000 (05:24 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 10 May 2009 05:24:46 +0000 (05:24 -0000)
commit93c4d75fb220d0db82d058a5a6d565071870d112
treed66d2f40f8f055ebc997f141f3bfa5bf666bfbfb
parente3b6f5bc9b3427bd3babda03ba73faa6f3f00500
Add support for AMD XOP, FMA4, and CVT16 instructions (replacing SSE5).

AMD has obsoleted the SSE5 spec in favor of these instructions.  These
instructions use an AVX-like new opcode structure called XOP instead of
the SSE5 DREX byte.

The AMD FMA4 instructions are a copy of the *old* Intel FMA instructions.
Intel has since updated their spec, and AMD may follow, but for now we've
implemented what AMD's spec contains.

svn path=/trunk/yasm/; revision=2199
27 files changed:
modules/arch/x86/gen_x86_insn.py
modules/arch/x86/tests/Makefile.inc
modules/arch/x86/tests/amd-fma4.asm [new file with mode: 0644]
modules/arch/x86/tests/amd-fma4.hex [new file with mode: 0644]
modules/arch/x86/tests/cvt16.asm [new file with mode: 0644]
modules/arch/x86/tests/cvt16.hex [new file with mode: 0644]
modules/arch/x86/tests/farbasic.asm
modules/arch/x86/tests/mixcase.asm
modules/arch/x86/tests/sse5-all.asm [deleted file]
modules/arch/x86/tests/sse5-all.hex [deleted file]
modules/arch/x86/tests/sse5-basic.asm [deleted file]
modules/arch/x86/tests/sse5-basic.hex [deleted file]
modules/arch/x86/tests/sse5-cc.asm [deleted file]
modules/arch/x86/tests/sse5-cc.hex [deleted file]
modules/arch/x86/tests/sse5-err.asm [deleted file]
modules/arch/x86/tests/sse5-err.errwarn [deleted file]
modules/arch/x86/tests/xop-all.asm [new file with mode: 0644]
modules/arch/x86/tests/xop-all.hex [new file with mode: 0644]
modules/arch/x86/tests/xop-basic.asm [new file with mode: 0644]
modules/arch/x86/tests/xop-basic.hex [new file with mode: 0644]
modules/arch/x86/tests/xop-cc.asm [new file with mode: 0644]
modules/arch/x86/tests/xop-cc.hex [new file with mode: 0644]
modules/arch/x86/x86arch.h
modules/arch/x86/x86bc.c
modules/arch/x86/x86cpu.gperf
modules/arch/x86/x86expr.c
modules/arch/x86/x86id.c