CHANGES: Document documentation facelift
[nasm.git] / test / avx.asm
bloba63c64000d9803f0382a37ce3e7dc80b56f0ed64
1 ;Testname=unoptimized; Arguments=-O0 -fbin -oavx.bin; Files=.stdout .stderr avx.bin
2 ;Testname=optimized; Arguments=-Ox -fbin -oavx.bin; Files=.stdout .stderr avx.bin
4 bits 64
5 blendvpd xmm2,xmm1,xmm0
7 vblendvpd xmm2,xmm1,xmm0,xmm0
8 vblendvpd xmm2,xmm1,xmm0
9 vblendvpd ymm2,ymm1,ymm0,ymm0
10 vblendvpd ymm2,ymm1,ymm0
12 vcvtsi2sd xmm9,xmm10,ecx
13 vcvtsi2sd xmm9,xmm10,rcx
14 vcvtsi2sd xmm9,xmm10,dword [rdi]
15 vcvtsi2sd xmm9,xmm10,qword [rdi]
17 vpermil2ps xmm0,xmm1,[rdi],xmm3,0
18 vpermil2ps xmm0,xmm1,xmm2,[rdi],1
19 vpermil2ps ymm0,ymm1,ymm2,ymm3,2
20 vpermil2ps ymm0,ymm1,ymm2,[rdi],3
21 vpermil2ps ymm0,ymm1,[rdi],ymm3,2
22 vpermil2ps ymm0,ymm1,ymm2,[rdi],3
24 vpextrb [rax],xmm1,0x33
25 vpextrw [rax],xmm1,0x33
26 vpextrd [rax],xmm1,0x33
27 vpextrq [rax],xmm1,0x33
28 vpextrb rax,xmm1,0x33
29 vpextrw rax,xmm1,0x33
30 vpextrd rax,xmm1,0x33
31 vpextrq rax,xmm1,0x33
32 vpextrb eax,xmm1,0x33
33 vpextrw eax,xmm1,0x33
34 vpextrd eax,xmm1,0x33
35 ; vpextrq eax,xmm1,0x33
37 vcvtpd2ps xmm0,xmm1
38 vcvtpd2ps xmm0,oword [rsi]
39 vcvtpd2ps xmm0,ymm1
40 vcvtpd2ps xmm0,yword [rsi]
41 ; vcvtpd2ps xmm0,[rsi]
43 vcvtpd2dq xmm0,xmm1
44 vcvtpd2dq xmm0,oword [rsi]
45 vcvtpd2dq xmm0,ymm1
46 vcvtpd2dq xmm0,yword [rsi]
47 ; vcvtpd2dq xmm0,[rsi]
49 vcvttpd2dq xmm0,xmm1
50 vcvttpd2dq xmm0,oword [rsi]
51 vcvttpd2dq xmm0,ymm1
52 vcvttpd2dq xmm0,yword [rsi]
53 ; vcvttpd2dq xmm0,[rsi]