[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / X86 / BMI2-32.s
blob9d168ec484afc34d3c85865cd0952abf2f553a8d
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: bzhil %edx, -485498096(%edx,%eax,4), %edx
4 // CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x94,0x82,0x10,0xe3,0x0f,0xe3]
5 bzhil %edx, -485498096(%edx,%eax,4), %edx
7 // CHECK: bzhil %edx, 485498096(%edx,%eax,4), %edx
8 // CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
9 bzhil %edx, 485498096(%edx,%eax,4), %edx
11 // CHECK: bzhil %edx, 485498096(%edx), %edx
12 // CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x92,0xf0,0x1c,0xf0,0x1c]
13 bzhil %edx, 485498096(%edx), %edx
15 // CHECK: bzhil %edx, 485498096, %edx
16 // CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x15,0xf0,0x1c,0xf0,0x1c]
17 bzhil %edx, 485498096, %edx
19 // CHECK: bzhil %edx, 64(%edx,%eax), %edx
20 // CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x54,0x02,0x40]
21 bzhil %edx, 64(%edx,%eax), %edx
23 // CHECK: bzhil %edx, (%edx), %edx
24 // CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x12]
25 bzhil %edx, (%edx), %edx
27 // CHECK: bzhil %edx, %edx, %edx
28 // CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0xd2]
29 bzhil %edx, %edx, %edx
31 // CHECK: mulxl -485498096(%edx,%eax,4), %edx, %edx
32 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x94,0x82,0x10,0xe3,0x0f,0xe3]
33 mulxl -485498096(%edx,%eax,4), %edx, %edx
35 // CHECK: mulxl 485498096(%edx,%eax,4), %edx, %edx
36 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
37 mulxl 485498096(%edx,%eax,4), %edx, %edx
39 // CHECK: mulxl 485498096(%edx), %edx, %edx
40 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x92,0xf0,0x1c,0xf0,0x1c]
41 mulxl 485498096(%edx), %edx, %edx
43 // CHECK: mulxl 485498096, %edx, %edx
44 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x15,0xf0,0x1c,0xf0,0x1c]
45 mulxl 485498096, %edx, %edx
47 // CHECK: mulxl 64(%edx,%eax), %edx, %edx
48 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x54,0x02,0x40]
49 mulxl 64(%edx,%eax), %edx, %edx
51 // CHECK: mulxl (%edx), %edx, %edx
52 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x12]
53 mulxl (%edx), %edx, %edx
55 // CHECK: mulxl %edx, %edx, %edx
56 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0xd2]
57 mulxl %edx, %edx, %edx
59 // CHECK: pdepl -485498096(%edx,%eax,4), %edx, %edx
60 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x94,0x82,0x10,0xe3,0x0f,0xe3]
61 pdepl -485498096(%edx,%eax,4), %edx, %edx
63 // CHECK: pdepl 485498096(%edx,%eax,4), %edx, %edx
64 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
65 pdepl 485498096(%edx,%eax,4), %edx, %edx
67 // CHECK: pdepl 485498096(%edx), %edx, %edx
68 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x92,0xf0,0x1c,0xf0,0x1c]
69 pdepl 485498096(%edx), %edx, %edx
71 // CHECK: pdepl 485498096, %edx, %edx
72 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x15,0xf0,0x1c,0xf0,0x1c]
73 pdepl 485498096, %edx, %edx
75 // CHECK: pdepl 64(%edx,%eax), %edx, %edx
76 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x54,0x02,0x40]
77 pdepl 64(%edx,%eax), %edx, %edx
79 // CHECK: pdepl (%edx), %edx, %edx
80 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x12]
81 pdepl (%edx), %edx, %edx
83 // CHECK: pdepl %edx, %edx, %edx
84 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0xd2]
85 pdepl %edx, %edx, %edx
87 // CHECK: pextl -485498096(%edx,%eax,4), %edx, %edx
88 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x94,0x82,0x10,0xe3,0x0f,0xe3]
89 pextl -485498096(%edx,%eax,4), %edx, %edx
91 // CHECK: pextl 485498096(%edx,%eax,4), %edx, %edx
92 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
93 pextl 485498096(%edx,%eax,4), %edx, %edx
95 // CHECK: pextl 485498096(%edx), %edx, %edx
96 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x92,0xf0,0x1c,0xf0,0x1c]
97 pextl 485498096(%edx), %edx, %edx
99 // CHECK: pextl 485498096, %edx, %edx
100 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x15,0xf0,0x1c,0xf0,0x1c]
101 pextl 485498096, %edx, %edx
103 // CHECK: pextl 64(%edx,%eax), %edx, %edx
104 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x54,0x02,0x40]
105 pextl 64(%edx,%eax), %edx, %edx
107 // CHECK: pextl (%edx), %edx, %edx
108 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x12]
109 pextl (%edx), %edx, %edx
111 // CHECK: pextl %edx, %edx, %edx
112 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0xd2]
113 pextl %edx, %edx, %edx
115 // CHECK: rorxl $0, -485498096(%edx,%eax,4), %edx
116 // CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00]
117 rorxl $0, -485498096(%edx,%eax,4), %edx
119 // CHECK: rorxl $0, 485498096(%edx,%eax,4), %edx
120 // CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00]
121 rorxl $0, 485498096(%edx,%eax,4), %edx
123 // CHECK: rorxl $0, 485498096(%edx), %edx
124 // CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x92,0xf0,0x1c,0xf0,0x1c,0x00]
125 rorxl $0, 485498096(%edx), %edx
127 // CHECK: rorxl $0, 485498096, %edx
128 // CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x15,0xf0,0x1c,0xf0,0x1c,0x00]
129 rorxl $0, 485498096, %edx
131 // CHECK: rorxl $0, 64(%edx,%eax), %edx
132 // CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x54,0x02,0x40,0x00]
133 rorxl $0, 64(%edx,%eax), %edx
135 // CHECK: rorxl $0, (%edx), %edx
136 // CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x12,0x00]
137 rorxl $0, (%edx), %edx
139 // CHECK: rorxl $0, %edx, %edx
140 // CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0xd2,0x00]
141 rorxl $0, %edx, %edx
143 // CHECK: sarxl %edx, -485498096(%edx,%eax,4), %edx
144 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3]
145 sarxl %edx, -485498096(%edx,%eax,4), %edx
147 // CHECK: sarxl %edx, 485498096(%edx,%eax,4), %edx
148 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
149 sarxl %edx, 485498096(%edx,%eax,4), %edx
151 // CHECK: sarxl %edx, 485498096(%edx), %edx
152 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x92,0xf0,0x1c,0xf0,0x1c]
153 sarxl %edx, 485498096(%edx), %edx
155 // CHECK: sarxl %edx, 485498096, %edx
156 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x15,0xf0,0x1c,0xf0,0x1c]
157 sarxl %edx, 485498096, %edx
159 // CHECK: sarxl %edx, 64(%edx,%eax), %edx
160 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x54,0x02,0x40]
161 sarxl %edx, 64(%edx,%eax), %edx
163 // CHECK: sarxl %edx, (%edx), %edx
164 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x12]
165 sarxl %edx, (%edx), %edx
167 // CHECK: sarxl %edx, %edx, %edx
168 // CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0xd2]
169 sarxl %edx, %edx, %edx
171 // CHECK: shlxl %edx, -485498096(%edx,%eax,4), %edx
172 // CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3]
173 shlxl %edx, -485498096(%edx,%eax,4), %edx
175 // CHECK: shlxl %edx, 485498096(%edx,%eax,4), %edx
176 // CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
177 shlxl %edx, 485498096(%edx,%eax,4), %edx
179 // CHECK: shlxl %edx, 485498096(%edx), %edx
180 // CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x92,0xf0,0x1c,0xf0,0x1c]
181 shlxl %edx, 485498096(%edx), %edx
183 // CHECK: shlxl %edx, 485498096, %edx
184 // CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x15,0xf0,0x1c,0xf0,0x1c]
185 shlxl %edx, 485498096, %edx
187 // CHECK: shlxl %edx, 64(%edx,%eax), %edx
188 // CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x54,0x02,0x40]
189 shlxl %edx, 64(%edx,%eax), %edx
191 // CHECK: shlxl %edx, (%edx), %edx
192 // CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x12]
193 shlxl %edx, (%edx), %edx
195 // CHECK: shlxl %edx, %edx, %edx
196 // CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0xd2]
197 shlxl %edx, %edx, %edx
199 // CHECK: shrxl %edx, -485498096(%edx,%eax,4), %edx
200 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3]
201 shrxl %edx, -485498096(%edx,%eax,4), %edx
203 // CHECK: shrxl %edx, 485498096(%edx,%eax,4), %edx
204 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
205 shrxl %edx, 485498096(%edx,%eax,4), %edx
207 // CHECK: shrxl %edx, 485498096(%edx), %edx
208 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x92,0xf0,0x1c,0xf0,0x1c]
209 shrxl %edx, 485498096(%edx), %edx
211 // CHECK: shrxl %edx, 485498096, %edx
212 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x15,0xf0,0x1c,0xf0,0x1c]
213 shrxl %edx, 485498096, %edx
215 // CHECK: shrxl %edx, 64(%edx,%eax), %edx
216 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x54,0x02,0x40]
217 shrxl %edx, 64(%edx,%eax), %edx
219 // CHECK: shrxl %edx, (%edx), %edx
220 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x12]
221 shrxl %edx, (%edx), %edx
223 // CHECK: shrxl %edx, %edx, %edx
224 // CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0xd2]
225 shrxl %edx, %edx, %edx