NASM 2.10rc8
[nasm/avx512.git] / test / avx.asm
blobe114639d76e879ce859fafd6f2f553646fd24350
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 vpextrb [rax],xmm1,0x33
18 vpextrw [rax],xmm1,0x33
19 vpextrd [rax],xmm1,0x33
20 vpextrq [rax],xmm1,0x33
21 vpextrb rax,xmm1,0x33
22 vpextrw rax,xmm1,0x33
23 vpextrd rax,xmm1,0x33
24 vpextrq rax,xmm1,0x33
25 vpextrb eax,xmm1,0x33
26 vpextrw eax,xmm1,0x33
27 vpextrd eax,xmm1,0x33
28 ; vpextrq eax,xmm1,0x33
30 vcvtpd2ps xmm0,xmm1
31 vcvtpd2ps xmm0,oword [rsi]
32 vcvtpd2ps xmm0,ymm1
33 vcvtpd2ps xmm0,yword [rsi]
34 ; vcvtpd2ps xmm0,[rsi]
36 vcvtpd2dq xmm0,xmm1
37 vcvtpd2dq xmm0,oword [rsi]
38 vcvtpd2dq xmm0,ymm1
39 vcvtpd2dq xmm0,yword [rsi]
40 ; vcvtpd2dq xmm0,[rsi]
42 vcvttpd2dq xmm0,xmm1
43 vcvttpd2dq xmm0,oword [rsi]
44 vcvttpd2dq xmm0,ymm1
45 vcvttpd2dq xmm0,yword [rsi]
46 ; vcvttpd2dq xmm0,[rsi]