summaryrefslogtreecommitdiff
path: root/test/pinsr16.asm
blob: 0159839ae0aad17b108898dcf90a3f3a877706af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
;Testname=test; Arguments=-O0 -fbin -opinsr16.bin; Files=stdout stderr pinsr16.bin
	bits 16

	pinsrw mm0,eax,0
	pinsrw mm1,si,0
	pinsrw mm2,[bx],0
	pinsrw mm3,word [bx],0

	pinsrb xmm0,eax,0
	pinsrb xmm1,sil,0
;	pinsrb xmm1,bh,0
	pinsrb xmm2,[bx],0
	pinsrb xmm3,byte [bx],0

	pinsrw xmm0,eax,0
	pinsrw xmm1,si,0
	pinsrw xmm2,[bx],0
	pinsrw xmm3,word [bx],0

	pinsrd xmm0,eax,0
	pinsrd xmm1,esi,0
	pinsrd xmm2,[bx],0
	pinsrd xmm3,dword [bx],0

	vpinsrb xmm0,eax,0
	vpinsrb xmm1,bl,0
	vpinsrb xmm2,[bx],0
	vpinsrb xmm3,byte [bx],0

	vpinsrw xmm0,eax,0
	vpinsrw xmm1,si,0
	vpinsrw xmm2,[bx],0
	vpinsrw xmm3,word [bx],0

	vpinsrd xmm0,eax,0
	vpinsrd xmm1,esi,0
	vpinsrd xmm2,[bx],0
	vpinsrd xmm3,dword [bx],0

	vpinsrb xmm4,xmm0,eax,0
	vpinsrb xmm5,xmm1,bl,0
	vpinsrb xmm6,xmm2,[bx],0
	vpinsrb xmm7,xmm3,byte [bx],0

	vpinsrw xmm4,xmm0,eax,0
	vpinsrw xmm5,xmm1,si,0
	vpinsrw xmm6,xmm2,[bx],0
	vpinsrw xmm7,xmm3,word [bx],0

	vpinsrd xmm4,xmm0,eax,0
	vpinsrd xmm5,xmm1,esi,0
	vpinsrd xmm6,xmm2,[bx],0
	vpinsrd xmm7,xmm3,dword [bx],0