1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s 2 3// CHECK: clts 4// CHECK: encoding: [0x0f,0x06] 5clts 6 7// CHECK: larl 3809469200(%edx,%eax,4), %eax 8// CHECK: encoding: [0x0f,0x02,0x84,0x82,0x10,0xe3,0x0f,0xe3] 9larl 3809469200(%edx,%eax,4), %eax 10 11// CHECK: larl 485498096, %eax 12// CHECK: encoding: [0x0f,0x02,0x05,0xf0,0x1c,0xf0,0x1c] 13larl 485498096, %eax 14 15// CHECK: larl 485498096(%edx,%eax,4), %eax 16// CHECK: encoding: [0x0f,0x02,0x84,0x82,0xf0,0x1c,0xf0,0x1c] 17larl 485498096(%edx,%eax,4), %eax 18 19// CHECK: larl 485498096(%edx), %eax 20// CHECK: encoding: [0x0f,0x02,0x82,0xf0,0x1c,0xf0,0x1c] 21larl 485498096(%edx), %eax 22 23// CHECK: larl 64(%edx,%eax), %eax 24// CHECK: encoding: [0x0f,0x02,0x44,0x02,0x40] 25larl 64(%edx,%eax), %eax 26 27// CHECK: larl %eax, %eax 28// CHECK: encoding: [0x0f,0x02,0xc0] 29larl %eax, %eax 30 31// CHECK: larl (%edx), %eax 32// CHECK: encoding: [0x0f,0x02,0x02] 33larl (%edx), %eax 34 35// CHECK: lldtw -485498096(%edx,%eax,4) 36// CHECK: encoding: [0x0f,0x00,0x94,0x82,0x10,0xe3,0x0f,0xe3] 37lldtw -485498096(%edx,%eax,4) 38 39// CHECK: lldtw 485498096(%edx,%eax,4) 40// CHECK: encoding: [0x0f,0x00,0x94,0x82,0xf0,0x1c,0xf0,0x1c] 41lldtw 485498096(%edx,%eax,4) 42 43// CHECK: lldtw 485498096(%edx) 44// CHECK: encoding: [0x0f,0x00,0x92,0xf0,0x1c,0xf0,0x1c] 45lldtw 485498096(%edx) 46 47// CHECK: lldtw 485498096 48// CHECK: encoding: [0x0f,0x00,0x15,0xf0,0x1c,0xf0,0x1c] 49lldtw 485498096 50 51// CHECK: lldtw 64(%edx,%eax) 52// CHECK: encoding: [0x0f,0x00,0x54,0x02,0x40] 53lldtw 64(%edx,%eax) 54 55// CHECK: lldtw (%edx) 56// CHECK: encoding: [0x0f,0x00,0x12] 57lldtw (%edx) 58 59// CHECK: lmsww -485498096(%edx,%eax,4) 60// CHECK: encoding: [0x0f,0x01,0xb4,0x82,0x10,0xe3,0x0f,0xe3] 61lmsww -485498096(%edx,%eax,4) 62 63// CHECK: lmsww 485498096(%edx,%eax,4) 64// CHECK: encoding: [0x0f,0x01,0xb4,0x82,0xf0,0x1c,0xf0,0x1c] 65lmsww 485498096(%edx,%eax,4) 66 67// CHECK: lmsww 485498096(%edx) 68// CHECK: encoding: [0x0f,0x01,0xb2,0xf0,0x1c,0xf0,0x1c] 69lmsww 485498096(%edx) 70 71// CHECK: lmsww 485498096 72// CHECK: encoding: [0x0f,0x01,0x35,0xf0,0x1c,0xf0,0x1c] 73lmsww 485498096 74 75// CHECK: lmsww 64(%edx,%eax) 76// CHECK: encoding: [0x0f,0x01,0x74,0x02,0x40] 77lmsww 64(%edx,%eax) 78 79// CHECK: lmsww (%edx) 80// CHECK: encoding: [0x0f,0x01,0x32] 81lmsww (%edx) 82 83// CHECK: lsll 3809469200(%edx,%eax,4), %eax 84// CHECK: encoding: [0x0f,0x03,0x84,0x82,0x10,0xe3,0x0f,0xe3] 85lsll 3809469200(%edx,%eax,4), %eax 86 87// CHECK: lsll 485498096, %eax 88// CHECK: encoding: [0x0f,0x03,0x05,0xf0,0x1c,0xf0,0x1c] 89lsll 485498096, %eax 90 91// CHECK: lsll 485498096(%edx,%eax,4), %eax 92// CHECK: encoding: [0x0f,0x03,0x84,0x82,0xf0,0x1c,0xf0,0x1c] 93lsll 485498096(%edx,%eax,4), %eax 94 95// CHECK: lsll 485498096(%edx), %eax 96// CHECK: encoding: [0x0f,0x03,0x82,0xf0,0x1c,0xf0,0x1c] 97lsll 485498096(%edx), %eax 98 99// CHECK: lsll 64(%edx,%eax), %eax 100// CHECK: encoding: [0x0f,0x03,0x44,0x02,0x40] 101lsll 64(%edx,%eax), %eax 102 103// CHECK: lsll %eax, %eax 104// CHECK: encoding: [0x0f,0x03,0xc0] 105lsll %eax, %eax 106 107// CHECK: lsll (%edx), %eax 108// CHECK: encoding: [0x0f,0x03,0x02] 109lsll (%edx), %eax 110 111// CHECK: ltrw -485498096(%edx,%eax,4) 112// CHECK: encoding: [0x0f,0x00,0x9c,0x82,0x10,0xe3,0x0f,0xe3] 113ltrw -485498096(%edx,%eax,4) 114 115// CHECK: ltrw 485498096(%edx,%eax,4) 116// CHECK: encoding: [0x0f,0x00,0x9c,0x82,0xf0,0x1c,0xf0,0x1c] 117ltrw 485498096(%edx,%eax,4) 118 119// CHECK: ltrw 485498096(%edx) 120// CHECK: encoding: [0x0f,0x00,0x9a,0xf0,0x1c,0xf0,0x1c] 121ltrw 485498096(%edx) 122 123// CHECK: ltrw 485498096 124// CHECK: encoding: [0x0f,0x00,0x1d,0xf0,0x1c,0xf0,0x1c] 125ltrw 485498096 126 127// CHECK: ltrw 64(%edx,%eax) 128// CHECK: encoding: [0x0f,0x00,0x5c,0x02,0x40] 129ltrw 64(%edx,%eax) 130 131// CHECK: ltrw (%edx) 132// CHECK: encoding: [0x0f,0x00,0x1a] 133ltrw (%edx) 134 135// CHECK: sldtw %ax 136// CHECK: encoding: [0x66,0x0f,0x00,0xc0] 137sldtw %ax 138 139// CHECK: sldtl %eax 140// CHECK: encoding: [0x0f,0x00,0xc0] 141sldtl %eax 142 143// CHECK: sldtw -485498096(%edx,%eax,4) 144// CHECK: encoding: [0x0f,0x00,0x84,0x82,0x10,0xe3,0x0f,0xe3] 145sldtw -485498096(%edx,%eax,4) 146 147// CHECK: sldtw 485498096(%edx,%eax,4) 148// CHECK: encoding: [0x0f,0x00,0x84,0x82,0xf0,0x1c,0xf0,0x1c] 149sldtw 485498096(%edx,%eax,4) 150 151// CHECK: sldtw 485498096(%edx) 152// CHECK: encoding: [0x0f,0x00,0x82,0xf0,0x1c,0xf0,0x1c] 153sldtw 485498096(%edx) 154 155// CHECK: sldtw 485498096 156// CHECK: encoding: [0x0f,0x00,0x05,0xf0,0x1c,0xf0,0x1c] 157sldtw 485498096 158 159// CHECK: sldtw 64(%edx,%eax) 160// CHECK: encoding: [0x0f,0x00,0x44,0x02,0x40] 161sldtw 64(%edx,%eax) 162 163// CHECK: sldtw (%edx) 164// CHECK: encoding: [0x0f,0x00,0x02] 165sldtw (%edx) 166 167// CHECK: smswl %eax 168// CHECK: encoding: [0x0f,0x01,0xe0] 169smswl %eax 170 171// CHECK: smsww -485498096(%edx,%eax,4) 172// CHECK: encoding: [0x0f,0x01,0xa4,0x82,0x10,0xe3,0x0f,0xe3] 173smsww -485498096(%edx,%eax,4) 174 175// CHECK: smsww 485498096(%edx,%eax,4) 176// CHECK: encoding: [0x0f,0x01,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] 177smsww 485498096(%edx,%eax,4) 178 179// CHECK: smsww 485498096(%edx) 180// CHECK: encoding: [0x0f,0x01,0xa2,0xf0,0x1c,0xf0,0x1c] 181smsww 485498096(%edx) 182 183// CHECK: smsww 485498096 184// CHECK: encoding: [0x0f,0x01,0x25,0xf0,0x1c,0xf0,0x1c] 185smsww 485498096 186 187// CHECK: smsww 64(%edx,%eax) 188// CHECK: encoding: [0x0f,0x01,0x64,0x02,0x40] 189smsww 64(%edx,%eax) 190 191// CHECK: smsww (%edx) 192// CHECK: encoding: [0x0f,0x01,0x22] 193smsww (%edx) 194 195// CHECK: strl %eax 196// CHECK: encoding: [0x0f,0x00,0xc8] 197strl %eax 198 199// CHECK: strw -485498096(%edx,%eax,4) 200// CHECK: encoding: [0x0f,0x00,0x8c,0x82,0x10,0xe3,0x0f,0xe3] 201strw -485498096(%edx,%eax,4) 202 203// CHECK: strw 485498096(%edx,%eax,4) 204// CHECK: encoding: [0x0f,0x00,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] 205strw 485498096(%edx,%eax,4) 206 207// CHECK: strw 485498096(%edx) 208// CHECK: encoding: [0x0f,0x00,0x8a,0xf0,0x1c,0xf0,0x1c] 209strw 485498096(%edx) 210 211// CHECK: strw 485498096 212// CHECK: encoding: [0x0f,0x00,0x0d,0xf0,0x1c,0xf0,0x1c] 213strw 485498096 214 215// CHECK: strw 64(%edx,%eax) 216// CHECK: encoding: [0x0f,0x00,0x4c,0x02,0x40] 217strw 64(%edx,%eax) 218 219// CHECK: strw (%edx) 220// CHECK: encoding: [0x0f,0x00,0x0a] 221strw (%edx) 222 223// CHECK: verr -485498096(%edx,%eax,4) 224// CHECK: encoding: [0x0f,0x00,0xa4,0x82,0x10,0xe3,0x0f,0xe3] 225verr -485498096(%edx,%eax,4) 226 227// CHECK: verr 485498096(%edx,%eax,4) 228// CHECK: encoding: [0x0f,0x00,0xa4,0x82,0xf0,0x1c,0xf0,0x1c] 229verr 485498096(%edx,%eax,4) 230 231// CHECK: verr 485498096(%edx) 232// CHECK: encoding: [0x0f,0x00,0xa2,0xf0,0x1c,0xf0,0x1c] 233verr 485498096(%edx) 234 235// CHECK: verr 485498096 236// CHECK: encoding: [0x0f,0x00,0x25,0xf0,0x1c,0xf0,0x1c] 237verr 485498096 238 239// CHECK: verr 64(%edx,%eax) 240// CHECK: encoding: [0x0f,0x00,0x64,0x02,0x40] 241verr 64(%edx,%eax) 242 243// CHECK: verr (%edx) 244// CHECK: encoding: [0x0f,0x00,0x22] 245verr (%edx) 246 247// CHECK: verw -485498096(%edx,%eax,4) 248// CHECK: encoding: [0x0f,0x00,0xac,0x82,0x10,0xe3,0x0f,0xe3] 249verw -485498096(%edx,%eax,4) 250 251// CHECK: verw 485498096(%edx,%eax,4) 252// CHECK: encoding: [0x0f,0x00,0xac,0x82,0xf0,0x1c,0xf0,0x1c] 253verw 485498096(%edx,%eax,4) 254 255// CHECK: verw 485498096(%edx) 256// CHECK: encoding: [0x0f,0x00,0xaa,0xf0,0x1c,0xf0,0x1c] 257verw 485498096(%edx) 258 259// CHECK: verw 485498096 260// CHECK: encoding: [0x0f,0x00,0x2d,0xf0,0x1c,0xf0,0x1c] 261verw 485498096 262 263// CHECK: verw 64(%edx,%eax) 264// CHECK: encoding: [0x0f,0x00,0x6c,0x02,0x40] 265verw 64(%edx,%eax) 266 267// CHECK: verw (%edx) 268// CHECK: encoding: [0x0f,0x00,0x2a] 269verw (%edx) 270 271