[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / X86 / BMI1-32.s
blobfdc8b85e7813ce443d96fd95d5527c3fcf8d83da
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: andnl -485498096(%edx,%eax,4), %edx, %edx
4 // CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x94,0x82,0x10,0xe3,0x0f,0xe3]
5 andnl -485498096(%edx,%eax,4), %edx, %edx
7 // CHECK: andnl 485498096(%edx,%eax,4), %edx, %edx
8 // CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
9 andnl 485498096(%edx,%eax,4), %edx, %edx
11 // CHECK: andnl 485498096(%edx), %edx, %edx
12 // CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x92,0xf0,0x1c,0xf0,0x1c]
13 andnl 485498096(%edx), %edx, %edx
15 // CHECK: andnl 485498096, %edx, %edx
16 // CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x15,0xf0,0x1c,0xf0,0x1c]
17 andnl 485498096, %edx, %edx
19 // CHECK: andnl 64(%edx,%eax), %edx, %edx
20 // CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x54,0x02,0x40]
21 andnl 64(%edx,%eax), %edx, %edx
23 // CHECK: andnl (%edx), %edx, %edx
24 // CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0x12]
25 andnl (%edx), %edx, %edx
27 // CHECK: andnl %edx, %edx, %edx
28 // CHECK: encoding: [0xc4,0xe2,0x68,0xf2,0xd2]
29 andnl %edx, %edx, %edx
31 // CHECK: bextrl %edx, -485498096(%edx,%eax,4), %edx
32 // CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3]
33 bextrl %edx, -485498096(%edx,%eax,4), %edx
35 // CHECK: bextrl %edx, 485498096(%edx,%eax,4), %edx
36 // CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
37 bextrl %edx, 485498096(%edx,%eax,4), %edx
39 // CHECK: bextrl %edx, 485498096(%edx), %edx
40 // CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x92,0xf0,0x1c,0xf0,0x1c]
41 bextrl %edx, 485498096(%edx), %edx
43 // CHECK: bextrl %edx, 485498096, %edx
44 // CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x15,0xf0,0x1c,0xf0,0x1c]
45 bextrl %edx, 485498096, %edx
47 // CHECK: bextrl %edx, 64(%edx,%eax), %edx
48 // CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x54,0x02,0x40]
49 bextrl %edx, 64(%edx,%eax), %edx
51 // CHECK: bextrl %edx, (%edx), %edx
52 // CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0x12]
53 bextrl %edx, (%edx), %edx
55 // CHECK: bextrl %edx, %edx, %edx
56 // CHECK: encoding: [0xc4,0xe2,0x68,0xf7,0xd2]
57 bextrl %edx, %edx, %edx
59 // CHECK: blsil -485498096(%edx,%eax,4), %edx
60 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x9c,0x82,0x10,0xe3,0x0f,0xe3]
61 blsil -485498096(%edx,%eax,4), %edx
63 // CHECK: blsil 485498096(%edx,%eax,4), %edx
64 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]
65 blsil 485498096(%edx,%eax,4), %edx
67 // CHECK: blsil 485498096(%edx), %edx
68 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x9a,0xf0,0x1c,0xf0,0x1c]
69 blsil 485498096(%edx), %edx
71 // CHECK: blsil 485498096, %edx
72 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x1d,0xf0,0x1c,0xf0,0x1c]
73 blsil 485498096, %edx
75 // CHECK: blsil 64(%edx,%eax), %edx
76 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x5c,0x02,0x40]
77 blsil 64(%edx,%eax), %edx
79 // CHECK: blsil (%edx), %edx
80 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x1a]
81 blsil (%edx), %edx
83 // CHECK: blsil %edx, %edx
84 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0xda]
85 blsil %edx, %edx
87 // CHECK: blsmskl -485498096(%edx,%eax,4), %edx
88 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x94,0x82,0x10,0xe3,0x0f,0xe3]
89 blsmskl -485498096(%edx,%eax,4), %edx
91 // CHECK: blsmskl 485498096(%edx,%eax,4), %edx
92 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
93 blsmskl 485498096(%edx,%eax,4), %edx
95 // CHECK: blsmskl 485498096(%edx), %edx
96 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x92,0xf0,0x1c,0xf0,0x1c]
97 blsmskl 485498096(%edx), %edx
99 // CHECK: blsmskl 485498096, %edx
100 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x15,0xf0,0x1c,0xf0,0x1c]
101 blsmskl 485498096, %edx
103 // CHECK: blsmskl 64(%edx,%eax), %edx
104 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x54,0x02,0x40]
105 blsmskl 64(%edx,%eax), %edx
107 // CHECK: blsmskl (%edx), %edx
108 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x12]
109 blsmskl (%edx), %edx
111 // CHECK: blsmskl %edx, %edx
112 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0xd2]
113 blsmskl %edx, %edx
115 // CHECK: blsrl -485498096(%edx,%eax,4), %edx
116 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
117 blsrl -485498096(%edx,%eax,4), %edx
119 // CHECK: blsrl 485498096(%edx,%eax,4), %edx
120 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
121 blsrl 485498096(%edx,%eax,4), %edx
123 // CHECK: blsrl 485498096(%edx), %edx
124 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x8a,0xf0,0x1c,0xf0,0x1c]
125 blsrl 485498096(%edx), %edx
127 // CHECK: blsrl 485498096, %edx
128 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x0d,0xf0,0x1c,0xf0,0x1c]
129 blsrl 485498096, %edx
131 // CHECK: blsrl 64(%edx,%eax), %edx
132 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x4c,0x02,0x40]
133 blsrl 64(%edx,%eax), %edx
135 // CHECK: blsrl (%edx), %edx
136 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0x0a]
137 blsrl (%edx), %edx
139 // CHECK: blsrl %edx, %edx
140 // CHECK: encoding: [0xc4,0xe2,0x68,0xf3,0xca]
141 blsrl %edx, %edx