1# Check 32bit AVX gather instructions
2
3	.text
4_start:
5	vgatherdpd %xmm2, (%ebp, %xmm7, 2),%xmm1
6	vgatherqpd %xmm2, (%ebp, %xmm7, 2),%xmm1
7	vgatherdpd %ymm2, (%ebp, %xmm7, 2),%ymm1
8	vgatherqpd %ymm2, (%ebp, %ymm7, 2),%ymm1
9
10	vgatherdpd %ymm5,0x8(,%xmm4,1),%ymm6
11	vgatherdpd %ymm5,-0x8(,%xmm4,1),%ymm6
12	vgatherdpd %ymm5,(,%xmm4,1),%ymm6
13	vgatherdpd %ymm5,0x298(,%xmm4,1),%ymm6
14	vgatherdpd %ymm5,0x8(,%xmm4,8),%ymm6
15	vgatherdpd %ymm5,-0x8(,%xmm4,8),%ymm6
16	vgatherdpd %ymm5,(,%xmm4,8),%ymm6
17	vgatherdpd %ymm5,0x298(,%xmm4,8),%ymm6
18
19	vgatherdps %xmm2, (%ebp, %xmm7, 2),%xmm1
20	vgatherqps %xmm2, (%ebp, %xmm7, 2),%xmm1
21	vgatherdps %ymm2, (%ebp, %ymm7, 2),%ymm1
22	vgatherqps %xmm2, (%ebp, %ymm7, 2),%xmm1
23
24	vgatherdps %xmm5,0x8(,%xmm4,1),%xmm6
25	vgatherdps %xmm5,-0x8(,%xmm4,1),%xmm6
26	vgatherdps %xmm5,(,%xmm4,1),%xmm6
27	vgatherdps %xmm5,0x298(,%xmm4,1),%xmm6
28	vgatherdps %xmm5,0x8(,%xmm4,8),%xmm6
29	vgatherdps %xmm5,-0x8(,%xmm4,8),%xmm6
30	vgatherdps %xmm5,(,%xmm4,8),%xmm6
31	vgatherdps %xmm5,0x298(,%xmm4,8),%xmm6
32
33	vpgatherdd %xmm2, (%ebp, %xmm7, 2),%xmm1
34	vpgatherqd %xmm2, (%ebp, %xmm7, 2),%xmm1
35	vpgatherdd %ymm2, (%ebp, %ymm7, 2),%ymm1
36	vpgatherqd %xmm2, (%ebp, %ymm7, 2),%xmm1
37
38	vpgatherdd %xmm5,0x8(,%xmm4,1),%xmm6
39	vpgatherdd %xmm5,-0x8(,%xmm4,1),%xmm6
40	vpgatherdd %xmm5,(,%xmm4,1),%xmm6
41	vpgatherdd %xmm5,0x298(,%xmm4,1),%xmm6
42	vpgatherdd %xmm5,0x8(,%xmm4,8),%xmm6
43	vpgatherdd %xmm5,-0x8(,%xmm4,8),%xmm6
44	vpgatherdd %xmm5,(,%xmm4,8),%xmm6
45	vpgatherdd %xmm5,0x298(,%xmm4,8),%xmm6
46
47	vpgatherdq %xmm2, (%ebp, %xmm7, 2),%xmm1
48	vpgatherqq %xmm2, (%ebp, %xmm7, 2),%xmm1
49	vpgatherdq %ymm2, (%ebp, %xmm7, 2),%ymm1
50	vpgatherqq %ymm2, (%ebp, %ymm7, 2),%ymm1
51
52	vpgatherdq %ymm5,0x8(,%xmm4,1),%ymm6
53	vpgatherdq %ymm5,-0x8(,%xmm4,1),%ymm6
54	vpgatherdq %ymm5,(,%xmm4,1),%ymm6
55	vpgatherdq %ymm5,0x298(,%xmm4,1),%ymm6
56	vpgatherdq %ymm5,0x8(,%xmm4,8),%ymm6
57	vpgatherdq %ymm5,-0x8(,%xmm4,8),%ymm6
58	vpgatherdq %ymm5,(,%xmm4,8),%ymm6
59	vpgatherdq %ymm5,0x298(,%xmm4,8),%ymm6
60
61	.intel_syntax noprefix
62vgatherdpd xmm1,QWORD PTR [ebp+xmm7*2+0x0],xmm2
63vgatherqpd xmm1,QWORD PTR [ebp+xmm7*2+0x0],xmm2
64vgatherdpd ymm1,QWORD PTR [ebp+xmm7*2+0x0],ymm2
65vgatherqpd ymm1,QWORD PTR [ebp+ymm7*2+0x0],ymm2
66vgatherdpd ymm6,QWORD PTR [xmm4*1+0x8],ymm5
67vgatherdpd ymm6,QWORD PTR [xmm4*1-0x8],ymm5
68vgatherdpd ymm6,QWORD PTR [xmm4*1+0x0],ymm5
69vgatherdpd ymm6,QWORD PTR [xmm4*1+0x298],ymm5
70vgatherdpd ymm6,QWORD PTR [xmm4*8+0x8],ymm5
71vgatherdpd ymm6,QWORD PTR [xmm4*8-0x8],ymm5
72vgatherdpd ymm6,QWORD PTR [xmm4*8+0x0],ymm5
73vgatherdpd ymm6,QWORD PTR [xmm4*8+0x298],ymm5
74vgatherdps xmm1,DWORD PTR [ebp+xmm7*2+0x0],xmm2
75vgatherqps xmm1,DWORD PTR [ebp+xmm7*2+0x0],xmm2
76vgatherdps ymm1,DWORD PTR [ebp+ymm7*2+0x0],ymm2
77vgatherqps xmm1,DWORD PTR [ebp+ymm7*2+0x0],xmm2
78vgatherdps xmm6,DWORD PTR [xmm4*1+0x8],xmm5
79vgatherdps xmm6,DWORD PTR [xmm4*1-0x8],xmm5
80vgatherdps xmm6,DWORD PTR [xmm4*1+0x0],xmm5
81vgatherdps xmm6,DWORD PTR [xmm4*1+0x298],xmm5
82vgatherdps xmm6,DWORD PTR [xmm4*8+0x8],xmm5
83vgatherdps xmm6,DWORD PTR [xmm4*8-0x8],xmm5
84vgatherdps xmm6,DWORD PTR [xmm4*8+0x0],xmm5
85vgatherdps xmm6,DWORD PTR [xmm4*8+0x298],xmm5
86vpgatherdd xmm1,DWORD PTR [ebp+xmm7*2+0x0],xmm2
87vpgatherqd xmm1,DWORD PTR [ebp+xmm7*2+0x0],xmm2
88vpgatherdd ymm1,DWORD PTR [ebp+ymm7*2+0x0],ymm2
89vpgatherqd xmm1,DWORD PTR [ebp+ymm7*2+0x0],xmm2
90vpgatherdd xmm6,DWORD PTR [xmm4*1+0x8],xmm5
91vpgatherdd xmm6,DWORD PTR [xmm4*1-0x8],xmm5
92vpgatherdd xmm6,DWORD PTR [xmm4*1+0x0],xmm5
93vpgatherdd xmm6,DWORD PTR [xmm4*1+0x298],xmm5
94vpgatherdd xmm6,DWORD PTR [xmm4*8+0x8],xmm5
95vpgatherdd xmm6,DWORD PTR [xmm4*8-0x8],xmm5
96vpgatherdd xmm6,DWORD PTR [xmm4*8+0x0],xmm5
97vpgatherdd xmm6,DWORD PTR [xmm4*8+0x298],xmm5
98vpgatherdq xmm1,QWORD PTR [ebp+xmm7*2+0x0],xmm2
99vpgatherqq xmm1,QWORD PTR [ebp+xmm7*2+0x0],xmm2
100vpgatherdq ymm1,QWORD PTR [ebp+xmm7*2+0x0],ymm2
101vpgatherqq ymm1,QWORD PTR [ebp+ymm7*2+0x0],ymm2
102vpgatherdq ymm6,QWORD PTR [xmm4*1+0x8],ymm5
103vpgatherdq ymm6,QWORD PTR [xmm4*1-0x8],ymm5
104vpgatherdq ymm6,QWORD PTR [xmm4*1+0x0],ymm5
105vpgatherdq ymm6,QWORD PTR [xmm4*1+0x298],ymm5
106vpgatherdq ymm6,QWORD PTR [xmm4*8+0x8],ymm5
107vpgatherdq ymm6,QWORD PTR [xmm4*8-0x8],ymm5
108vpgatherdq ymm6,QWORD PTR [xmm4*8+0x0],ymm5
109vpgatherdq ymm6,QWORD PTR [xmm4*8+0x298],ymm5
110