1# Check EVEX WIG instructions
2
3	.allow_index_reg
4	.text
5_start:
6
7	vpmovsxbd	%xmm5, %zmm6{%k7}	 # AVX512
8	vpmovsxbd	%xmm5, %zmm6{%k7}{z}	 # AVX512
9	vpmovsxbd	(%ecx), %zmm6{%k7}	 # AVX512
10	vpmovsxbd	-123456(%esp,%esi,8), %zmm6{%k7}	 # AVX512
11	vpmovsxbd	2032(%edx), %zmm6{%k7}	 # AVX512 Disp8
12	vpmovsxbd	2048(%edx), %zmm6{%k7}	 # AVX512
13	vpmovsxbd	-2048(%edx), %zmm6{%k7}	 # AVX512 Disp8
14	vpmovsxbd	-2064(%edx), %zmm6{%k7}	 # AVX512
15
16	vpmovsxbq	%xmm5, %zmm6{%k7}	 # AVX512
17	vpmovsxbq	%xmm5, %zmm6{%k7}{z}	 # AVX512
18	vpmovsxbq	(%ecx), %zmm6{%k7}	 # AVX512
19	vpmovsxbq	-123456(%esp,%esi,8), %zmm6{%k7}	 # AVX512
20	vpmovsxbq	1016(%edx), %zmm6{%k7}	 # AVX512 Disp8
21	vpmovsxbq	1024(%edx), %zmm6{%k7}	 # AVX512
22	vpmovsxbq	-1024(%edx), %zmm6{%k7}	 # AVX512 Disp8
23	vpmovsxbq	-1032(%edx), %zmm6{%k7}	 # AVX512
24
25	vpmovsxwd	%ymm5, %zmm6{%k7}	 # AVX512
26	vpmovsxwd	%ymm5, %zmm6{%k7}{z}	 # AVX512
27	vpmovsxwd	(%ecx), %zmm6{%k7}	 # AVX512
28	vpmovsxwd	-123456(%esp,%esi,8), %zmm6{%k7}	 # AVX512
29	vpmovsxwd	4064(%edx), %zmm6{%k7}	 # AVX512 Disp8
30	vpmovsxwd	4096(%edx), %zmm6{%k7}	 # AVX512
31	vpmovsxwd	-4096(%edx), %zmm6{%k7}	 # AVX512 Disp8
32	vpmovsxwd	-4128(%edx), %zmm6{%k7}	 # AVX512
33
34	vpmovsxwq	%xmm5, %zmm6{%k7}	 # AVX512
35	vpmovsxwq	%xmm5, %zmm6{%k7}{z}	 # AVX512
36	vpmovsxwq	(%ecx), %zmm6{%k7}	 # AVX512
37	vpmovsxwq	-123456(%esp,%esi,8), %zmm6{%k7}	 # AVX512
38	vpmovsxwq	2032(%edx), %zmm6{%k7}	 # AVX512 Disp8
39	vpmovsxwq	2048(%edx), %zmm6{%k7}	 # AVX512
40	vpmovsxwq	-2048(%edx), %zmm6{%k7}	 # AVX512 Disp8
41	vpmovsxwq	-2064(%edx), %zmm6{%k7}	 # AVX512
42
43	vpmovzxbd	%xmm5, %zmm6{%k7}	 # AVX512
44	vpmovzxbd	%xmm5, %zmm6{%k7}{z}	 # AVX512
45	vpmovzxbd	(%ecx), %zmm6{%k7}	 # AVX512
46	vpmovzxbd	-123456(%esp,%esi,8), %zmm6{%k7}	 # AVX512
47	vpmovzxbd	2032(%edx), %zmm6{%k7}	 # AVX512 Disp8
48	vpmovzxbd	2048(%edx), %zmm6{%k7}	 # AVX512
49	vpmovzxbd	-2048(%edx), %zmm6{%k7}	 # AVX512 Disp8
50	vpmovzxbd	-2064(%edx), %zmm6{%k7}	 # AVX512
51
52	vpmovzxbq	%xmm5, %zmm6{%k7}	 # AVX512
53	vpmovzxbq	%xmm5, %zmm6{%k7}{z}	 # AVX512
54	vpmovzxbq	(%ecx), %zmm6{%k7}	 # AVX512
55	vpmovzxbq	-123456(%esp,%esi,8), %zmm6{%k7}	 # AVX512
56	vpmovzxbq	1016(%edx), %zmm6{%k7}	 # AVX512 Disp8
57	vpmovzxbq	1024(%edx), %zmm6{%k7}	 # AVX512
58	vpmovzxbq	-1024(%edx), %zmm6{%k7}	 # AVX512 Disp8
59	vpmovzxbq	-1032(%edx), %zmm6{%k7}	 # AVX512
60
61	vpmovzxwd	%ymm5, %zmm6{%k7}	 # AVX512
62	vpmovzxwd	%ymm5, %zmm6{%k7}{z}	 # AVX512
63	vpmovzxwd	(%ecx), %zmm6{%k7}	 # AVX512
64	vpmovzxwd	-123456(%esp,%esi,8), %zmm6{%k7}	 # AVX512
65	vpmovzxwd	4064(%edx), %zmm6{%k7}	 # AVX512 Disp8
66	vpmovzxwd	4096(%edx), %zmm6{%k7}	 # AVX512
67	vpmovzxwd	-4096(%edx), %zmm6{%k7}	 # AVX512 Disp8
68	vpmovzxwd	-4128(%edx), %zmm6{%k7}	 # AVX512
69
70	vpmovzxwq	%xmm5, %zmm6{%k7}	 # AVX512
71	vpmovzxwq	%xmm5, %zmm6{%k7}{z}	 # AVX512
72	vpmovzxwq	(%ecx), %zmm6{%k7}	 # AVX512
73	vpmovzxwq	-123456(%esp,%esi,8), %zmm6{%k7}	 # AVX512
74	vpmovzxwq	2032(%edx), %zmm6{%k7}	 # AVX512 Disp8
75	vpmovzxwq	2048(%edx), %zmm6{%k7}	 # AVX512
76	vpmovzxwq	-2048(%edx), %zmm6{%k7}	 # AVX512 Disp8
77	vpmovzxwq	-2064(%edx), %zmm6{%k7}	 # AVX512
78
79	.intel_syntax noprefix
80	vpmovsxbd	zmm6{k7}, xmm5	 # AVX512
81	vpmovsxbd	zmm6{k7}{z}, xmm5	 # AVX512
82	vpmovsxbd	zmm6{k7}, XMMWORD PTR [ecx]	 # AVX512
83	vpmovsxbd	zmm6{k7}, XMMWORD PTR [esp+esi*8-123456]	 # AVX512
84	vpmovsxbd	zmm6{k7}, XMMWORD PTR [edx+2032]	 # AVX512 Disp8
85	vpmovsxbd	zmm6{k7}, XMMWORD PTR [edx+2048]	 # AVX512
86	vpmovsxbd	zmm6{k7}, XMMWORD PTR [edx-2048]	 # AVX512 Disp8
87	vpmovsxbd	zmm6{k7}, XMMWORD PTR [edx-2064]	 # AVX512
88
89	vpmovsxbq	zmm6{k7}, xmm5	 # AVX512
90	vpmovsxbq	zmm6{k7}{z}, xmm5	 # AVX512
91	vpmovsxbq	zmm6{k7}, QWORD PTR [ecx]	 # AVX512
92	vpmovsxbq	zmm6{k7}, QWORD PTR [esp+esi*8-123456]	 # AVX512
93	vpmovsxbq	zmm6{k7}, QWORD PTR [edx+1016]	 # AVX512 Disp8
94	vpmovsxbq	zmm6{k7}, QWORD PTR [edx+1024]	 # AVX512
95	vpmovsxbq	zmm6{k7}, QWORD PTR [edx-1024]	 # AVX512 Disp8
96	vpmovsxbq	zmm6{k7}, QWORD PTR [edx-1032]	 # AVX512
97
98	vpmovsxwd	zmm6{k7}, ymm5	 # AVX512
99	vpmovsxwd	zmm6{k7}{z}, ymm5	 # AVX512
100	vpmovsxwd	zmm6{k7}, YMMWORD PTR [ecx]	 # AVX512
101	vpmovsxwd	zmm6{k7}, YMMWORD PTR [esp+esi*8-123456]	 # AVX512
102	vpmovsxwd	zmm6{k7}, YMMWORD PTR [edx+4064]	 # AVX512 Disp8
103	vpmovsxwd	zmm6{k7}, YMMWORD PTR [edx+4096]	 # AVX512
104	vpmovsxwd	zmm6{k7}, YMMWORD PTR [edx-4096]	 # AVX512 Disp8
105	vpmovsxwd	zmm6{k7}, YMMWORD PTR [edx-4128]	 # AVX512
106
107	vpmovsxwq	zmm6{k7}, xmm5	 # AVX512
108	vpmovsxwq	zmm6{k7}{z}, xmm5	 # AVX512
109	vpmovsxwq	zmm6{k7}, XMMWORD PTR [ecx]	 # AVX512
110	vpmovsxwq	zmm6{k7}, XMMWORD PTR [esp+esi*8-123456]	 # AVX512
111	vpmovsxwq	zmm6{k7}, XMMWORD PTR [edx+2032]	 # AVX512 Disp8
112	vpmovsxwq	zmm6{k7}, XMMWORD PTR [edx+2048]	 # AVX512
113	vpmovsxwq	zmm6{k7}, XMMWORD PTR [edx-2048]	 # AVX512 Disp8
114	vpmovsxwq	zmm6{k7}, XMMWORD PTR [edx-2064]	 # AVX512
115
116	vpmovzxbd	zmm6{k7}, xmm5	 # AVX512
117	vpmovzxbd	zmm6{k7}{z}, xmm5	 # AVX512
118	vpmovzxbd	zmm6{k7}, XMMWORD PTR [ecx]	 # AVX512
119	vpmovzxbd	zmm6{k7}, XMMWORD PTR [esp+esi*8-123456]	 # AVX512
120	vpmovzxbd	zmm6{k7}, XMMWORD PTR [edx+2032]	 # AVX512 Disp8
121	vpmovzxbd	zmm6{k7}, XMMWORD PTR [edx+2048]	 # AVX512
122	vpmovzxbd	zmm6{k7}, XMMWORD PTR [edx-2048]	 # AVX512 Disp8
123	vpmovzxbd	zmm6{k7}, XMMWORD PTR [edx-2064]	 # AVX512
124
125	vpmovzxbq	zmm6{k7}, xmm5	 # AVX512
126	vpmovzxbq	zmm6{k7}{z}, xmm5	 # AVX512
127	vpmovzxbq	zmm6{k7}, QWORD PTR [ecx]	 # AVX512
128	vpmovzxbq	zmm6{k7}, QWORD PTR [esp+esi*8-123456]	 # AVX512
129	vpmovzxbq	zmm6{k7}, QWORD PTR [edx+1016]	 # AVX512 Disp8
130	vpmovzxbq	zmm6{k7}, QWORD PTR [edx+1024]	 # AVX512
131	vpmovzxbq	zmm6{k7}, QWORD PTR [edx-1024]	 # AVX512 Disp8
132	vpmovzxbq	zmm6{k7}, QWORD PTR [edx-1032]	 # AVX512
133
134	vpmovzxwd	zmm6{k7}, ymm5	 # AVX512
135	vpmovzxwd	zmm6{k7}{z}, ymm5	 # AVX512
136	vpmovzxwd	zmm6{k7}, YMMWORD PTR [ecx]	 # AVX512
137	vpmovzxwd	zmm6{k7}, YMMWORD PTR [esp+esi*8-123456]	 # AVX512
138	vpmovzxwd	zmm6{k7}, YMMWORD PTR [edx+4064]	 # AVX512 Disp8
139	vpmovzxwd	zmm6{k7}, YMMWORD PTR [edx+4096]	 # AVX512
140	vpmovzxwd	zmm6{k7}, YMMWORD PTR [edx-4096]	 # AVX512 Disp8
141	vpmovzxwd	zmm6{k7}, YMMWORD PTR [edx-4128]	 # AVX512
142
143	vpmovzxwq	zmm6{k7}, xmm5	 # AVX512
144	vpmovzxwq	zmm6{k7}{z}, xmm5	 # AVX512
145	vpmovzxwq	zmm6{k7}, XMMWORD PTR [ecx]	 # AVX512
146	vpmovzxwq	zmm6{k7}, XMMWORD PTR [esp+esi*8-123456]	 # AVX512
147	vpmovzxwq	zmm6{k7}, XMMWORD PTR [edx+2032]	 # AVX512 Disp8
148	vpmovzxwq	zmm6{k7}, XMMWORD PTR [edx+2048]	 # AVX512
149	vpmovzxwq	zmm6{k7}, XMMWORD PTR [edx-2048]	 # AVX512 Disp8
150	vpmovzxwq	zmm6{k7}, XMMWORD PTR [edx-2064]	 # AVX512
151
152