MPX: Add test cases for MPX
[nasm/avx512.git] / test / pinsr32.asm
blob24b3e585dd41cbbacec45fd938b46f8759736bec
1 ;Testname=test; Arguments=-O0 -fbin -opinsr32.bin; Files=stdout stderr pinsr32.bin
2 bits 32
4 pinsrw mm0,eax,0
5 pinsrw mm1,si,0
6 pinsrw mm2,[ecx],0
7 pinsrw mm3,word [ecx],0
9 pinsrb xmm0,eax,0
10 pinsrb xmm1,sil,0
11 ; pinsrb xmm1,bh,0
12 pinsrb xmm2,[ecx],0
13 pinsrb xmm3,byte [ecx],0
15 pinsrw xmm0,eax,0
16 pinsrw xmm1,si,0
17 pinsrw xmm2,[ecx],0
18 pinsrw xmm3,word [ecx],0
20 pinsrd xmm0,eax,0
21 pinsrd xmm1,esi,0
22 pinsrd xmm2,[ecx],0
23 pinsrd xmm3,dword [ecx],0
25 vpinsrb xmm0,eax,0
26 vpinsrb xmm1,bl,0
27 vpinsrb xmm2,[ecx],0
28 vpinsrb xmm3,byte [ecx],0
30 vpinsrw xmm0,eax,0
31 vpinsrw xmm1,si,0
32 vpinsrw xmm2,[ecx],0
33 vpinsrw xmm3,word [ecx],0
35 vpinsrd xmm0,eax,0
36 vpinsrd xmm1,esi,0
37 vpinsrd xmm2,[ecx],0
38 vpinsrd xmm3,dword [ecx],0
40 vpinsrb xmm4,xmm0,eax,0
41 vpinsrb xmm5,xmm1,bl,0
42 vpinsrb xmm6,xmm2,[ecx],0
43 vpinsrb xmm7,xmm3,byte [ecx],0
45 vpinsrw xmm4,xmm0,eax,0
46 vpinsrw xmm5,xmm1,si,0
47 vpinsrw xmm6,xmm2,[ecx],0
48 vpinsrw xmm7,xmm3,word [ecx],0
50 vpinsrd xmm4,xmm0,eax,0
51 vpinsrd xmm5,xmm1,esi,0
52 vpinsrd xmm6,xmm2,[ecx],0
53 vpinsrd xmm7,xmm3,dword [ecx],0