summaryrefslogtreecommitdiff
path: root/test/avx.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-04 17:53:31 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-04 17:53:31 -0700
commitd85d250fa229d5ceb73ce5fedfd1087727f53a79 (patch)
tree5a51259e0deae99fb8f042c37b467c604cdd27b6 /test/avx.asm
parent7117e80702d70ac635e50a05deb85f672bd3a464 (diff)
downloadnasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.tar.gz
nasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.tar.bz2
nasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.zip
First cut at AVX machinery.
First cut at AVX machinery support. The only instruction implemented is VPERMIL2PS, and it's probably buggy. I'm checking this in with the hope that other people can start helping out with (a) testing this, and (b) adding instructions. NDISASM support is not there yet.
Diffstat (limited to 'test/avx.asm')
-rw-r--r--test/avx.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/avx.asm b/test/avx.asm
new file mode 100644
index 0000000..9f35940
--- /dev/null
+++ b/test/avx.asm
@@ -0,0 +1,9 @@
+ bits 64
+ vpermil2ps xmm0,xmm1,[rdi],xmm3,0
+ vpermil2ps xmm0,xmm1,xmm2,[rdi],1
+ vpermil2ps ymm0,ymm1,ymm2,ymm3,2
+ vpermil2ps ymm0,ymm1,ymm2,[rdi],3
+ vpermil2ps ymm0,ymm1,[rdi],ymm3,2
+ vpermil2ps ymm0,ymm1,ymm2,[rdi],3
+
+ \ No newline at end of file