1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: andnl -485498096(%edx,%eax,4), %edx, %edx
4// CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x94,0x82,0x10,0xe3,0x0f,0xe3]
5andnl -485498096(%edx,%eax,4), %edx, %edx
6
7// CHECK: andnl 485498096(%edx,%eax,4), %edx, %edx
8// CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
9andnl 485498096(%edx,%eax,4), %edx, %edx
10
11// CHECK: andnl 485498096(%edx), %edx, %edx
12// CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x92,0xf0,0x1c,0xf0,0x1c]
13andnl 485498096(%edx), %edx, %edx
14
15// CHECK: andnl 485498096, %edx, %edx
16// CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x15,0xf0,0x1c,0xf0,0x1c]
17andnl 485498096, %edx, %edx
18
19// CHECK: andnl 64(%edx,%eax), %edx, %edx
20// CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x54,0x02,0x40]
21andnl 64(%edx,%eax), %edx, %edx
22
23// CHECK: andnl (%edx), %edx, %edx
24// CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x12]
25andnl (%edx), %edx, %edx
26
27// CHECK: andnl %edx, %edx, %edx
28// CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0xd2]
29andnl %edx, %edx, %edx
30
31// CHECK: bextrl %edx, -485498096(%edx,%eax,4), %edx
32// CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3]
33bextrl %edx, -485498096(%edx,%eax,4), %edx
34
35// CHECK: bextrl %edx, 485498096(%edx,%eax,4), %edx
36// CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
37bextrl %edx, 485498096(%edx,%eax,4), %edx
38
39// CHECK: bextrl %edx, 485498096(%edx), %edx
40// CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x92,0xf0,0x1c,0xf0,0x1c]
41bextrl %edx, 485498096(%edx), %edx
42
43// CHECK: bextrl %edx, 485498096, %edx
44// CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x15,0xf0,0x1c,0xf0,0x1c]
45bextrl %edx, 485498096, %edx
46
47// CHECK: bextrl %edx, 64(%edx,%eax), %edx
48// CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x54,0x02,0x40]
49bextrl %edx, 64(%edx,%eax), %edx
50
51// CHECK: bextrl %edx, (%edx), %edx
52// CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x12]
53bextrl %edx, (%edx), %edx
54
55// CHECK: bextrl %edx, %edx, %edx
56// CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0xd2]
57bextrl %edx, %edx, %edx
58
59// CHECK: blsil -485498096(%edx,%eax,4), %edx
60// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x9c,0x82,0x10,0xe3,0x0f,0xe3]
61blsil -485498096(%edx,%eax,4), %edx
62
63// CHECK: blsil 485498096(%edx,%eax,4), %edx
64// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]
65blsil 485498096(%edx,%eax,4), %edx
66
67// CHECK: blsil 485498096(%edx), %edx
68// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x9a,0xf0,0x1c,0xf0,0x1c]
69blsil 485498096(%edx), %edx
70
71// CHECK: blsil 485498096, %edx
72// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x1d,0xf0,0x1c,0xf0,0x1c]
73blsil 485498096, %edx
74
75// CHECK: blsil 64(%edx,%eax), %edx
76// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x5c,0x02,0x40]
77blsil 64(%edx,%eax), %edx
78
79// CHECK: blsil (%edx), %edx
80// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x1a]
81blsil (%edx), %edx
82
83// CHECK: blsil %edx, %edx
84// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0xda]
85blsil %edx, %edx
86
87// CHECK: blsmskl -485498096(%edx,%eax,4), %edx
88// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x94,0x82,0x10,0xe3,0x0f,0xe3]
89blsmskl -485498096(%edx,%eax,4), %edx
90
91// CHECK: blsmskl 485498096(%edx,%eax,4), %edx
92// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
93blsmskl 485498096(%edx,%eax,4), %edx
94
95// CHECK: blsmskl 485498096(%edx), %edx
96// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x92,0xf0,0x1c,0xf0,0x1c]
97blsmskl 485498096(%edx), %edx
98
99// CHECK: blsmskl 485498096, %edx
100// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x15,0xf0,0x1c,0xf0,0x1c]
101blsmskl 485498096, %edx
102
103// CHECK: blsmskl 64(%edx,%eax), %edx
104// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x54,0x02,0x40]
105blsmskl 64(%edx,%eax), %edx
106
107// CHECK: blsmskl (%edx), %edx
108// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x12]
109blsmskl (%edx), %edx
110
111// CHECK: blsmskl %edx, %edx
112// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0xd2]
113blsmskl %edx, %edx
114
115// CHECK: blsrl -485498096(%edx,%eax,4), %edx
116// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
117blsrl -485498096(%edx,%eax,4), %edx
118
119// CHECK: blsrl 485498096(%edx,%eax,4), %edx
120// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
121blsrl 485498096(%edx,%eax,4), %edx
122
123// CHECK: blsrl 485498096(%edx), %edx
124// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x8a,0xf0,0x1c,0xf0,0x1c]
125blsrl 485498096(%edx), %edx
126
127// CHECK: blsrl 485498096, %edx
128// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x0d,0xf0,0x1c,0xf0,0x1c]
129blsrl 485498096, %edx
130
131// CHECK: blsrl 64(%edx,%eax), %edx
132// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x4c,0x02,0x40]
133blsrl 64(%edx,%eax), %edx
134
135// CHECK: blsrl (%edx), %edx
136// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x0a]
137blsrl (%edx), %edx
138
139// CHECK: blsrl %edx, %edx
140// CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0xca]
141blsrl %edx, %edx
142
143