1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s 2 3// CHECK: bound %eax, 3809469200(%edx,%eax,4) 4// CHECK: encoding: [0x62,0x84,0x82,0x10,0xe3,0x0f,0xe3] 5bound %eax, 3809469200(%edx,%eax,4) 6 7// CHECK: bound %eax, 485498096 8// CHECK: encoding: [0x62,0x05,0xf0,0x1c,0xf0,0x1c] 9bound %eax, 485498096 10 11// CHECK: bound %eax, 485498096(%edx,%eax,4) 12// CHECK: encoding: [0x62,0x84,0x82,0xf0,0x1c,0xf0,0x1c] 13bound %eax, 485498096(%edx,%eax,4) 14 15// CHECK: bound %eax, 485498096(%edx) 16// CHECK: encoding: [0x62,0x82,0xf0,0x1c,0xf0,0x1c] 17bound %eax, 485498096(%edx) 18 19// CHECK: bound %eax, 64(%edx,%eax) 20// CHECK: encoding: [0x62,0x44,0x02,0x40] 21bound %eax, 64(%edx,%eax) 22 23// CHECK: bound %eax, (%edx) 24// CHECK: encoding: [0x62,0x02] 25bound %eax, (%edx) 26 27// CHECK: enter $0, $0 28// CHECK: encoding: [0xc8,0x00,0x00,0x00] 29enter $0, $0 30 31// CHECK: imull $0, %eax, %eax 32// CHECK: encoding: [0x6b,0xc0,0x00] 33imull $0, %eax, %eax 34 35// CHECK: insb %dx, %es:(%edi) 36// CHECK: encoding: [0x6c] 37insb %dx, %es:(%edi) 38 39// CHECK: insl %dx, %es:(%edi) 40// CHECK: encoding: [0x6d] 41insl %dx, %es:(%edi) 42 43// CHECK: insw %dx, %es:(%edi) 44// CHECK: encoding: [0x66,0x6d] 45insw %dx, %es:(%edi) 46 47// CHECK: leave 48// CHECK: encoding: [0xc9] 49leave 50 51// CHECK: outsb %es:(%esi), %dx 52// CHECK: encoding: [0x26,0x6e] 53outsb %es:(%esi), %dx 54 55// CHECK: outsl %es:(%esi), %dx 56// CHECK: encoding: [0x26,0x6f] 57outsl %es:(%esi), %dx 58 59// CHECK: outsw %es:(%esi), %dx 60// CHECK: encoding: [0x66,0x26,0x6f] 61outsw %es:(%esi), %dx 62 63// CHECK: popal 64// CHECK: encoding: [0x61] 65popal 66 67// CHECK: popaw 68// CHECK: encoding: [0x66,0x61] 69popaw 70 71// CHECK: pushal 72// CHECK: encoding: [0x60] 73pushal 74 75// CHECK: pushaw 76// CHECK: encoding: [0x66,0x60] 77pushaw 78 79// CHECK: pushl $0 80// CHECK: encoding: [0x6a,0x00] 81pushl $0 82 83// CHECK: pushw $0 84// CHECK: encoding: [0x66,0x6a,0x00] 85pushw $0 86 87// CHECK: rclb $0, -485498096(%edx,%eax,4) 88// CHECK: encoding: [0xc0,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] 89rclb $0, -485498096(%edx,%eax,4) 90 91// CHECK: rclb $0, 485498096(%edx,%eax,4) 92// CHECK: encoding: [0xc0,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 93rclb $0, 485498096(%edx,%eax,4) 94 95// CHECK: rclb $0, 485498096(%edx) 96// CHECK: encoding: [0xc0,0x92,0xf0,0x1c,0xf0,0x1c,0x00] 97rclb $0, 485498096(%edx) 98 99// CHECK: rclb $0, 485498096 100// CHECK: encoding: [0xc0,0x15,0xf0,0x1c,0xf0,0x1c,0x00] 101rclb $0, 485498096 102 103// CHECK: rclb $0, 64(%edx,%eax) 104// CHECK: encoding: [0xc0,0x54,0x02,0x40,0x00] 105rclb $0, 64(%edx,%eax) 106 107// CHECK: rclb $0, (%edx) 108// CHECK: encoding: [0xc0,0x12,0x00] 109rclb $0, (%edx) 110 111// CHECK: rcll $0, -485498096(%edx,%eax,4) 112// CHECK: encoding: [0xc1,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] 113rcll $0, -485498096(%edx,%eax,4) 114 115// CHECK: rcll $0, 485498096(%edx,%eax,4) 116// CHECK: encoding: [0xc1,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 117rcll $0, 485498096(%edx,%eax,4) 118 119// CHECK: rcll $0, 485498096(%edx) 120// CHECK: encoding: [0xc1,0x92,0xf0,0x1c,0xf0,0x1c,0x00] 121rcll $0, 485498096(%edx) 122 123// CHECK: rcll $0, 485498096 124// CHECK: encoding: [0xc1,0x15,0xf0,0x1c,0xf0,0x1c,0x00] 125rcll $0, 485498096 126 127// CHECK: rcll $0, 64(%edx,%eax) 128// CHECK: encoding: [0xc1,0x54,0x02,0x40,0x00] 129rcll $0, 64(%edx,%eax) 130 131// CHECK: rcll $0, %eax 132// CHECK: encoding: [0xc1,0xd0,0x00] 133rcll $0, %eax 134 135// CHECK: rcll $0, (%edx) 136// CHECK: encoding: [0xc1,0x12,0x00] 137rcll $0, (%edx) 138 139// CHECK: rclw $0, -485498096(%edx,%eax,4) 140// CHECK: encoding: [0x66,0xc1,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] 141rclw $0, -485498096(%edx,%eax,4) 142 143// CHECK: rclw $0, 485498096(%edx,%eax,4) 144// CHECK: encoding: [0x66,0xc1,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 145rclw $0, 485498096(%edx,%eax,4) 146 147// CHECK: rclw $0, 485498096(%edx) 148// CHECK: encoding: [0x66,0xc1,0x92,0xf0,0x1c,0xf0,0x1c,0x00] 149rclw $0, 485498096(%edx) 150 151// CHECK: rclw $0, 485498096 152// CHECK: encoding: [0x66,0xc1,0x15,0xf0,0x1c,0xf0,0x1c,0x00] 153rclw $0, 485498096 154 155// CHECK: rclw $0, 64(%edx,%eax) 156// CHECK: encoding: [0x66,0xc1,0x54,0x02,0x40,0x00] 157rclw $0, 64(%edx,%eax) 158 159// CHECK: rclw $0, (%edx) 160// CHECK: encoding: [0x66,0xc1,0x12,0x00] 161rclw $0, (%edx) 162 163// CHECK: rcrb $0, -485498096(%edx,%eax,4) 164// CHECK: encoding: [0xc0,0x9c,0x82,0x10,0xe3,0x0f,0xe3,0x00] 165rcrb $0, -485498096(%edx,%eax,4) 166 167// CHECK: rcrb $0, 485498096(%edx,%eax,4) 168// CHECK: encoding: [0xc0,0x9c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 169rcrb $0, 485498096(%edx,%eax,4) 170 171// CHECK: rcrb $0, 485498096(%edx) 172// CHECK: encoding: [0xc0,0x9a,0xf0,0x1c,0xf0,0x1c,0x00] 173rcrb $0, 485498096(%edx) 174 175// CHECK: rcrb $0, 485498096 176// CHECK: encoding: [0xc0,0x1d,0xf0,0x1c,0xf0,0x1c,0x00] 177rcrb $0, 485498096 178 179// CHECK: rcrb $0, 64(%edx,%eax) 180// CHECK: encoding: [0xc0,0x5c,0x02,0x40,0x00] 181rcrb $0, 64(%edx,%eax) 182 183// CHECK: rcrb $0, (%edx) 184// CHECK: encoding: [0xc0,0x1a,0x00] 185rcrb $0, (%edx) 186 187// CHECK: rcrl $0, -485498096(%edx,%eax,4) 188// CHECK: encoding: [0xc1,0x9c,0x82,0x10,0xe3,0x0f,0xe3,0x00] 189rcrl $0, -485498096(%edx,%eax,4) 190 191// CHECK: rcrl $0, 485498096(%edx,%eax,4) 192// CHECK: encoding: [0xc1,0x9c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 193rcrl $0, 485498096(%edx,%eax,4) 194 195// CHECK: rcrl $0, 485498096(%edx) 196// CHECK: encoding: [0xc1,0x9a,0xf0,0x1c,0xf0,0x1c,0x00] 197rcrl $0, 485498096(%edx) 198 199// CHECK: rcrl $0, 485498096 200// CHECK: encoding: [0xc1,0x1d,0xf0,0x1c,0xf0,0x1c,0x00] 201rcrl $0, 485498096 202 203// CHECK: rcrl $0, 64(%edx,%eax) 204// CHECK: encoding: [0xc1,0x5c,0x02,0x40,0x00] 205rcrl $0, 64(%edx,%eax) 206 207// CHECK: rcrl $0, %eax 208// CHECK: encoding: [0xc1,0xd8,0x00] 209rcrl $0, %eax 210 211// CHECK: rcrl $0, (%edx) 212// CHECK: encoding: [0xc1,0x1a,0x00] 213rcrl $0, (%edx) 214 215// CHECK: rcrw $0, -485498096(%edx,%eax,4) 216// CHECK: encoding: [0x66,0xc1,0x9c,0x82,0x10,0xe3,0x0f,0xe3,0x00] 217rcrw $0, -485498096(%edx,%eax,4) 218 219// CHECK: rcrw $0, 485498096(%edx,%eax,4) 220// CHECK: encoding: [0x66,0xc1,0x9c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 221rcrw $0, 485498096(%edx,%eax,4) 222 223// CHECK: rcrw $0, 485498096(%edx) 224// CHECK: encoding: [0x66,0xc1,0x9a,0xf0,0x1c,0xf0,0x1c,0x00] 225rcrw $0, 485498096(%edx) 226 227// CHECK: rcrw $0, 485498096 228// CHECK: encoding: [0x66,0xc1,0x1d,0xf0,0x1c,0xf0,0x1c,0x00] 229rcrw $0, 485498096 230 231// CHECK: rcrw $0, 64(%edx,%eax) 232// CHECK: encoding: [0x66,0xc1,0x5c,0x02,0x40,0x00] 233rcrw $0, 64(%edx,%eax) 234 235// CHECK: rcrw $0, (%edx) 236// CHECK: encoding: [0x66,0xc1,0x1a,0x00] 237rcrw $0, (%edx) 238 239// CHECK: rep insb %dx, %es:(%edi) 240// CHECK: encoding: [0xf3,0x6c] 241rep insb %dx, %es:(%edi) 242 243// CHECK: rep insl %dx, %es:(%edi) 244// CHECK: encoding: [0xf3,0x6d] 245rep insl %dx, %es:(%edi) 246 247// CHECK: rep insw %dx, %es:(%edi) 248// CHECK: encoding: [0xf3,0x66,0x6d] 249rep insw %dx, %es:(%edi) 250 251// CHECK: repne insb %dx, %es:(%edi) 252// CHECK: encoding: [0xf2,0x6c] 253repne insb %dx, %es:(%edi) 254 255// CHECK: repne insl %dx, %es:(%edi) 256// CHECK: encoding: [0xf2,0x6d] 257repne insl %dx, %es:(%edi) 258 259// CHECK: repne insw %dx, %es:(%edi) 260// CHECK: encoding: [0xf2,0x66,0x6d] 261repne insw %dx, %es:(%edi) 262 263// CHECK: repne outsb %es:(%esi), %dx 264// CHECK: encoding: [0xf2,0x26,0x6e] 265repne outsb %es:(%esi), %dx 266 267// CHECK: repne outsl %es:(%esi), %dx 268// CHECK: encoding: [0xf2,0x26,0x6f] 269repne outsl %es:(%esi), %dx 270 271// CHECK: repne outsw %es:(%esi), %dx 272// CHECK: encoding: [0xf2,0x66,0x26,0x6f] 273repne outsw %es:(%esi), %dx 274 275// CHECK: rep outsb %es:(%esi), %dx 276// CHECK: encoding: [0xf3,0x26,0x6e] 277rep outsb %es:(%esi), %dx 278 279// CHECK: rep outsl %es:(%esi), %dx 280// CHECK: encoding: [0xf3,0x26,0x6f] 281rep outsl %es:(%esi), %dx 282 283// CHECK: rep outsw %es:(%esi), %dx 284// CHECK: encoding: [0xf3,0x66,0x26,0x6f] 285rep outsw %es:(%esi), %dx 286 287// CHECK: rolb $0, -485498096(%edx,%eax,4) 288// CHECK: encoding: [0xc0,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] 289rolb $0, -485498096(%edx,%eax,4) 290 291// CHECK: rolb $0, 485498096(%edx,%eax,4) 292// CHECK: encoding: [0xc0,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 293rolb $0, 485498096(%edx,%eax,4) 294 295// CHECK: rolb $0, 485498096(%edx) 296// CHECK: encoding: [0xc0,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 297rolb $0, 485498096(%edx) 298 299// CHECK: rolb $0, 485498096 300// CHECK: encoding: [0xc0,0x05,0xf0,0x1c,0xf0,0x1c,0x00] 301rolb $0, 485498096 302 303// CHECK: rolb $0, 64(%edx,%eax) 304// CHECK: encoding: [0xc0,0x44,0x02,0x40,0x00] 305rolb $0, 64(%edx,%eax) 306 307// CHECK: rolb $0, (%edx) 308// CHECK: encoding: [0xc0,0x02,0x00] 309rolb $0, (%edx) 310 311// CHECK: roll $0, -485498096(%edx,%eax,4) 312// CHECK: encoding: [0xc1,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] 313roll $0, -485498096(%edx,%eax,4) 314 315// CHECK: roll $0, 485498096(%edx,%eax,4) 316// CHECK: encoding: [0xc1,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 317roll $0, 485498096(%edx,%eax,4) 318 319// CHECK: roll $0, 485498096(%edx) 320// CHECK: encoding: [0xc1,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 321roll $0, 485498096(%edx) 322 323// CHECK: roll $0, 485498096 324// CHECK: encoding: [0xc1,0x05,0xf0,0x1c,0xf0,0x1c,0x00] 325roll $0, 485498096 326 327// CHECK: roll $0, 64(%edx,%eax) 328// CHECK: encoding: [0xc1,0x44,0x02,0x40,0x00] 329roll $0, 64(%edx,%eax) 330 331// CHECK: roll $0, %eax 332// CHECK: encoding: [0xc1,0xc0,0x00] 333roll $0, %eax 334 335// CHECK: roll $0, (%edx) 336// CHECK: encoding: [0xc1,0x02,0x00] 337roll $0, (%edx) 338 339// CHECK: rolw $0, -485498096(%edx,%eax,4) 340// CHECK: encoding: [0x66,0xc1,0x84,0x82,0x10,0xe3,0x0f,0xe3,0x00] 341rolw $0, -485498096(%edx,%eax,4) 342 343// CHECK: rolw $0, 485498096(%edx,%eax,4) 344// CHECK: encoding: [0x66,0xc1,0x84,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 345rolw $0, 485498096(%edx,%eax,4) 346 347// CHECK: rolw $0, 485498096(%edx) 348// CHECK: encoding: [0x66,0xc1,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 349rolw $0, 485498096(%edx) 350 351// CHECK: rolw $0, 485498096 352// CHECK: encoding: [0x66,0xc1,0x05,0xf0,0x1c,0xf0,0x1c,0x00] 353rolw $0, 485498096 354 355// CHECK: rolw $0, 64(%edx,%eax) 356// CHECK: encoding: [0x66,0xc1,0x44,0x02,0x40,0x00] 357rolw $0, 64(%edx,%eax) 358 359// CHECK: rolw $0, (%edx) 360// CHECK: encoding: [0x66,0xc1,0x02,0x00] 361rolw $0, (%edx) 362 363// CHECK: rorb $0, -485498096(%edx,%eax,4) 364// CHECK: encoding: [0xc0,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] 365rorb $0, -485498096(%edx,%eax,4) 366 367// CHECK: rorb $0, 485498096(%edx,%eax,4) 368// CHECK: encoding: [0xc0,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 369rorb $0, 485498096(%edx,%eax,4) 370 371// CHECK: rorb $0, 485498096(%edx) 372// CHECK: encoding: [0xc0,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] 373rorb $0, 485498096(%edx) 374 375// CHECK: rorb $0, 485498096 376// CHECK: encoding: [0xc0,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] 377rorb $0, 485498096 378 379// CHECK: rorb $0, 64(%edx,%eax) 380// CHECK: encoding: [0xc0,0x4c,0x02,0x40,0x00] 381rorb $0, 64(%edx,%eax) 382 383// CHECK: rorb $0, (%edx) 384// CHECK: encoding: [0xc0,0x0a,0x00] 385rorb $0, (%edx) 386 387// CHECK: rorl $0, -485498096(%edx,%eax,4) 388// CHECK: encoding: [0xc1,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] 389rorl $0, -485498096(%edx,%eax,4) 390 391// CHECK: rorl $0, 485498096(%edx,%eax,4) 392// CHECK: encoding: [0xc1,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 393rorl $0, 485498096(%edx,%eax,4) 394 395// CHECK: rorl $0, 485498096(%edx) 396// CHECK: encoding: [0xc1,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] 397rorl $0, 485498096(%edx) 398 399// CHECK: rorl $0, 485498096 400// CHECK: encoding: [0xc1,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] 401rorl $0, 485498096 402 403// CHECK: rorl $0, 64(%edx,%eax) 404// CHECK: encoding: [0xc1,0x4c,0x02,0x40,0x00] 405rorl $0, 64(%edx,%eax) 406 407// CHECK: rorl $0, %eax 408// CHECK: encoding: [0xc1,0xc8,0x00] 409rorl $0, %eax 410 411// CHECK: rorl $0, (%edx) 412// CHECK: encoding: [0xc1,0x0a,0x00] 413rorl $0, (%edx) 414 415// CHECK: rorw $0, -485498096(%edx,%eax,4) 416// CHECK: encoding: [0x66,0xc1,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] 417rorw $0, -485498096(%edx,%eax,4) 418 419// CHECK: rorw $0, 485498096(%edx,%eax,4) 420// CHECK: encoding: [0x66,0xc1,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 421rorw $0, 485498096(%edx,%eax,4) 422 423// CHECK: rorw $0, 485498096(%edx) 424// CHECK: encoding: [0x66,0xc1,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] 425rorw $0, 485498096(%edx) 426 427// CHECK: rorw $0, 485498096 428// CHECK: encoding: [0x66,0xc1,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] 429rorw $0, 485498096 430 431// CHECK: rorw $0, 64(%edx,%eax) 432// CHECK: encoding: [0x66,0xc1,0x4c,0x02,0x40,0x00] 433rorw $0, 64(%edx,%eax) 434 435// CHECK: rorw $0, (%edx) 436// CHECK: encoding: [0x66,0xc1,0x0a,0x00] 437rorw $0, (%edx) 438 439// CHECK: sarb $0, -485498096(%edx,%eax,4) 440// CHECK: encoding: [0xc0,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] 441sarb $0, -485498096(%edx,%eax,4) 442 443// CHECK: sarb $0, 485498096(%edx,%eax,4) 444// CHECK: encoding: [0xc0,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 445sarb $0, 485498096(%edx,%eax,4) 446 447// CHECK: sarb $0, 485498096(%edx) 448// CHECK: encoding: [0xc0,0xba,0xf0,0x1c,0xf0,0x1c,0x00] 449sarb $0, 485498096(%edx) 450 451// CHECK: sarb $0, 485498096 452// CHECK: encoding: [0xc0,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] 453sarb $0, 485498096 454 455// CHECK: sarb $0, 64(%edx,%eax) 456// CHECK: encoding: [0xc0,0x7c,0x02,0x40,0x00] 457sarb $0, 64(%edx,%eax) 458 459// CHECK: sarb $0, (%edx) 460// CHECK: encoding: [0xc0,0x3a,0x00] 461sarb $0, (%edx) 462 463// CHECK: sarl $0, -485498096(%edx,%eax,4) 464// CHECK: encoding: [0xc1,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] 465sarl $0, -485498096(%edx,%eax,4) 466 467// CHECK: sarl $0, 485498096(%edx,%eax,4) 468// CHECK: encoding: [0xc1,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 469sarl $0, 485498096(%edx,%eax,4) 470 471// CHECK: sarl $0, 485498096(%edx) 472// CHECK: encoding: [0xc1,0xba,0xf0,0x1c,0xf0,0x1c,0x00] 473sarl $0, 485498096(%edx) 474 475// CHECK: sarl $0, 485498096 476// CHECK: encoding: [0xc1,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] 477sarl $0, 485498096 478 479// CHECK: sarl $0, 64(%edx,%eax) 480// CHECK: encoding: [0xc1,0x7c,0x02,0x40,0x00] 481sarl $0, 64(%edx,%eax) 482 483// CHECK: sarl $0, %eax 484// CHECK: encoding: [0xc1,0xf8,0x00] 485sarl $0, %eax 486 487// CHECK: sarl $0, (%edx) 488// CHECK: encoding: [0xc1,0x3a,0x00] 489sarl $0, (%edx) 490 491// CHECK: sarw $0, -485498096(%edx,%eax,4) 492// CHECK: encoding: [0x66,0xc1,0xbc,0x82,0x10,0xe3,0x0f,0xe3,0x00] 493sarw $0, -485498096(%edx,%eax,4) 494 495// CHECK: sarw $0, 485498096(%edx,%eax,4) 496// CHECK: encoding: [0x66,0xc1,0xbc,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 497sarw $0, 485498096(%edx,%eax,4) 498 499// CHECK: sarw $0, 485498096(%edx) 500// CHECK: encoding: [0x66,0xc1,0xba,0xf0,0x1c,0xf0,0x1c,0x00] 501sarw $0, 485498096(%edx) 502 503// CHECK: sarw $0, 485498096 504// CHECK: encoding: [0x66,0xc1,0x3d,0xf0,0x1c,0xf0,0x1c,0x00] 505sarw $0, 485498096 506 507// CHECK: sarw $0, 64(%edx,%eax) 508// CHECK: encoding: [0x66,0xc1,0x7c,0x02,0x40,0x00] 509sarw $0, 64(%edx,%eax) 510 511// CHECK: sarw $0, (%edx) 512// CHECK: encoding: [0x66,0xc1,0x3a,0x00] 513sarw $0, (%edx) 514 515// CHECK: shlb $0, -485498096(%edx,%eax,4) 516// CHECK: encoding: [0xc0,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] 517shlb $0, -485498096(%edx,%eax,4) 518 519// CHECK: shlb $0, 485498096(%edx,%eax,4) 520// CHECK: encoding: [0xc0,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 521shlb $0, 485498096(%edx,%eax,4) 522 523// CHECK: shlb $0, 485498096(%edx) 524// CHECK: encoding: [0xc0,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] 525shlb $0, 485498096(%edx) 526 527// CHECK: shlb $0, 485498096 528// CHECK: encoding: [0xc0,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 529shlb $0, 485498096 530 531// CHECK: shlb $0, 64(%edx,%eax) 532// CHECK: encoding: [0xc0,0x64,0x02,0x40,0x00] 533shlb $0, 64(%edx,%eax) 534 535// CHECK: shlb $0, (%edx) 536// CHECK: encoding: [0xc0,0x22,0x00] 537shlb $0, (%edx) 538 539// CHECK: shll $0, -485498096(%edx,%eax,4) 540// CHECK: encoding: [0xc1,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] 541shll $0, -485498096(%edx,%eax,4) 542 543// CHECK: shll $0, 485498096(%edx,%eax,4) 544// CHECK: encoding: [0xc1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 545shll $0, 485498096(%edx,%eax,4) 546 547// CHECK: shll $0, 485498096(%edx) 548// CHECK: encoding: [0xc1,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] 549shll $0, 485498096(%edx) 550 551// CHECK: shll $0, 485498096 552// CHECK: encoding: [0xc1,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 553shll $0, 485498096 554 555// CHECK: shll $0, 64(%edx,%eax) 556// CHECK: encoding: [0xc1,0x64,0x02,0x40,0x00] 557shll $0, 64(%edx,%eax) 558 559// CHECK: shll $0, %eax 560// CHECK: encoding: [0xc1,0xe0,0x00] 561shll $0, %eax 562 563// CHECK: shll $0, (%edx) 564// CHECK: encoding: [0xc1,0x22,0x00] 565shll $0, (%edx) 566 567// CHECK: shlw $0, -485498096(%edx,%eax,4) 568// CHECK: encoding: [0x66,0xc1,0xa4,0x82,0x10,0xe3,0x0f,0xe3,0x00] 569shlw $0, -485498096(%edx,%eax,4) 570 571// CHECK: shlw $0, 485498096(%edx,%eax,4) 572// CHECK: encoding: [0x66,0xc1,0xa4,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 573shlw $0, 485498096(%edx,%eax,4) 574 575// CHECK: shlw $0, 485498096(%edx) 576// CHECK: encoding: [0x66,0xc1,0xa2,0xf0,0x1c,0xf0,0x1c,0x00] 577shlw $0, 485498096(%edx) 578 579// CHECK: shlw $0, 485498096 580// CHECK: encoding: [0x66,0xc1,0x25,0xf0,0x1c,0xf0,0x1c,0x00] 581shlw $0, 485498096 582 583// CHECK: shlw $0, 64(%edx,%eax) 584// CHECK: encoding: [0x66,0xc1,0x64,0x02,0x40,0x00] 585shlw $0, 64(%edx,%eax) 586 587// CHECK: shlw $0, (%edx) 588// CHECK: encoding: [0x66,0xc1,0x22,0x00] 589shlw $0, (%edx) 590 591// CHECK: shrb $0, -485498096(%edx,%eax,4) 592// CHECK: encoding: [0xc0,0xac,0x82,0x10,0xe3,0x0f,0xe3,0x00] 593shrb $0, -485498096(%edx,%eax,4) 594 595// CHECK: shrb $0, 485498096(%edx,%eax,4) 596// CHECK: encoding: [0xc0,0xac,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 597shrb $0, 485498096(%edx,%eax,4) 598 599// CHECK: shrb $0, 485498096(%edx) 600// CHECK: encoding: [0xc0,0xaa,0xf0,0x1c,0xf0,0x1c,0x00] 601shrb $0, 485498096(%edx) 602 603// CHECK: shrb $0, 485498096 604// CHECK: encoding: [0xc0,0x2d,0xf0,0x1c,0xf0,0x1c,0x00] 605shrb $0, 485498096 606 607// CHECK: shrb $0, 64(%edx,%eax) 608// CHECK: encoding: [0xc0,0x6c,0x02,0x40,0x00] 609shrb $0, 64(%edx,%eax) 610 611// CHECK: shrb $0, (%edx) 612// CHECK: encoding: [0xc0,0x2a,0x00] 613shrb $0, (%edx) 614 615// CHECK: shrl $0, -485498096(%edx,%eax,4) 616// CHECK: encoding: [0xc1,0xac,0x82,0x10,0xe3,0x0f,0xe3,0x00] 617shrl $0, -485498096(%edx,%eax,4) 618 619// CHECK: shrl $0, 485498096(%edx,%eax,4) 620// CHECK: encoding: [0xc1,0xac,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 621shrl $0, 485498096(%edx,%eax,4) 622 623// CHECK: shrl $0, 485498096(%edx) 624// CHECK: encoding: [0xc1,0xaa,0xf0,0x1c,0xf0,0x1c,0x00] 625shrl $0, 485498096(%edx) 626 627// CHECK: shrl $0, 485498096 628// CHECK: encoding: [0xc1,0x2d,0xf0,0x1c,0xf0,0x1c,0x00] 629shrl $0, 485498096 630 631// CHECK: shrl $0, 64(%edx,%eax) 632// CHECK: encoding: [0xc1,0x6c,0x02,0x40,0x00] 633shrl $0, 64(%edx,%eax) 634 635// CHECK: shrl $0, %eax 636// CHECK: encoding: [0xc1,0xe8,0x00] 637shrl $0, %eax 638 639// CHECK: shrl $0, (%edx) 640// CHECK: encoding: [0xc1,0x2a,0x00] 641shrl $0, (%edx) 642 643// CHECK: shrw $0, -485498096(%edx,%eax,4) 644// CHECK: encoding: [0x66,0xc1,0xac,0x82,0x10,0xe3,0x0f,0xe3,0x00] 645shrw $0, -485498096(%edx,%eax,4) 646 647// CHECK: shrw $0, 485498096(%edx,%eax,4) 648// CHECK: encoding: [0x66,0xc1,0xac,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 649shrw $0, 485498096(%edx,%eax,4) 650 651// CHECK: shrw $0, 485498096(%edx) 652// CHECK: encoding: [0x66,0xc1,0xaa,0xf0,0x1c,0xf0,0x1c,0x00] 653shrw $0, 485498096(%edx) 654 655// CHECK: shrw $0, 485498096 656// CHECK: encoding: [0x66,0xc1,0x2d,0xf0,0x1c,0xf0,0x1c,0x00] 657shrw $0, 485498096 658 659// CHECK: shrw $0, 64(%edx,%eax) 660// CHECK: encoding: [0x66,0xc1,0x6c,0x02,0x40,0x00] 661shrw $0, 64(%edx,%eax) 662 663// CHECK: shrw $0, (%edx) 664// CHECK: encoding: [0x66,0xc1,0x2a,0x00] 665shrw $0, (%edx) 666 667