1# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s 2 3# CHECK: int $33 40xCD 0x21 5 6# CHECK: int $33 70xCD 0x21 8 9# CHECK: jrcxz -127 100xe3 0x81 11 12# CHECK: jecxz -127 130x67 0xe3 0x81 14 15# CHECK: addb %al, (%rax) 160 0 17 18# CHECK: callq -1234 190xe8 0x2e 0xfb 0xff 0xff 20 21# CHECK: lfence 220x0f 0xae 0xe8 23 24# CHECK: mfence 250x0f 0xae 0xf0 26 27# CHECK: monitor 280x0f 0x01 0xc8 29 30# CHECK: mwait 310x0f 0x01 0xc9 32 33# CHECK: vmcall 340x0f 0x01 0xc1 35 36# CHECK: vmfunc 370x0f 0x01 0xd4 38 39# CHECK: vmlaunch 400x0f 0x01 0xc2 41 42# CHECK: vmresume 430x0f 0x01 0xc3 44 45# CHECK: vmxoff 460x0f 0x01 0xc4 47 48# CHECK: swapgs 490x0f 0x01 0xf8 50 51# CHECK: rdtscp 520x0f 0x01 0xf9 53 54# CHECK: vmxon 550xf3 0x0f 0xc7 0x30 56 57# CHECK: vmptrld 580x0f 0xc7 0x30 59 60# CHECK: vmptrst 610x0f 0xc7 0x38 62 63# CHECK: vmrun 640x0f 0x01 0xd8 65 66# CHECK: vmmcall 670x0f 0x01 0xd9 68 69# CHECK: vmload 700x0f 0x01 0xda 71 72# CHECK: vmsave 730x0f 0x01 0xdb 74 75# CHECK: stgi 760x0f 0x01 0xdc 77 78# CHECK: clgi 790x0f 0x01 0xdd 80 81# CHECK: skinit 820x0f 0x01 0xde 83 84# CHECK: invlpga 850x0f 0x01 0xdf 86 87# CHECK: movl $0, -4(%rbp) 880xc7 0x45 0xfc 0x00 0x00 0x00 0x00 89 90# CHECK: movq %cr0, %rcx 910x0f 0x20 0xc1 92 93# CHECK: leal 4(%rsp), %ecx 940x8d 0x4c 0x24 0x04 95 96# CHECK: enter $1, $2 970xc8 0x01 0x00 0x02 98 99# CHECK: movw $47416, -66(%rbp) 1000x66 0xc7 0x45 0xbe 0x38 0xb9 101 102# CHECK: vaddpd %ymm13, %ymm1, %ymm0 1030xc4 0xc1 0x75 0x58 0xc5 104 105# CHECK: vaddps %ymm3, %ymm1, %ymm0 1060xc5 0xf4 0x58 0xc3 107 108# CHECK: vandpd %ymm13, %ymm1, %ymm0 1090xc4 0xc1 0x75 0x54 0xc5 110 111# CHECK: vandps %ymm3, %ymm1, %ymm0 1120xc5 0xf4 0x54 0xc3 113 114# CHECK: vzeroall 1150xc5 0xfc 0x77 116 117# CHECK: vcvtps2pd %xmm0, %ymm0 1180xc5 0xfc 0x5a 0xc0 119 120# CHECK: vandps (%rdx), %xmm1, %xmm7 1210xc5 0xf0 0x54 0x3a 122 123# CHECK: vcvtss2sil %xmm0, %eax 1240xc5 0xfa 0x2d 0xc0 125 126# CHECK: vcvtsd2sil %xmm0, %eax 1270xc5 0xfb 0x2d 0xc0 128 129# CHECK: vcvtsd2siq %xmm0, %rax 1300xc4 0xe1 0xfb 0x2d 0xc0 131 132# CHECK: vmaskmovpd %xmm0, %xmm1, (%rax) 1330xc4 0xe2 0x71 0x2f 0x00 134 135# CHECK: vmovapd %xmm0, %xmm2 1360xc5 0xf9 0x28 0xd0 137 138# Check X86 immediates print as signed values by default. radr://8795217 139# CHECK: andq $-16, %rsp 1400x48 0x83 0xe4 0xf0 141 142# Check these special case instructions that the immediate is not sign-extend. 143# CHECK: blendps $129, %xmm2, %xmm1 1440x66 0x0f 0x3a 0x0c 0xca 0x81 145 146# CHECK: blendpd $129, %xmm2, %xmm1 1470x66 0x0f 0x3a 0x0d 0xca 0x81 148 149# CHECK: pblendw $129, %xmm2, %xmm1 1500x66 0x0f 0x3a 0x0e 0xca 0x81 151 152# CHECK: mpsadbw $129, %xmm2, %xmm1 1530x66 0x0f 0x3a 0x42 0xca 0x81 154 155# CHECK: dpps $129, %xmm2, %xmm1 1560x66 0x0f 0x3a 0x40 0xca 0x81 157 158# CHECK: dppd $129, %xmm2, %xmm1 1590x66 0x0f 0x3a 0x41 0xca 0x81 160 161# CHECK: insertps $129, %xmm2, %xmm1 1620x66 0x0f 0x3a 0x21 0xca 0x81 163 164# CHECK: vblendps $129, %ymm2, %ymm5, %ymm1 1650xc4 0xe3 0x55 0x0c 0xca 0x81 166 167# CHECK: vblendps $129, (%rax), %ymm5, %ymm1 1680xc4 0xe3 0x55 0x0c 0x08 0x81 169 170# CHECK: vblendpd $129, %ymm2, %ymm5, %ymm1 1710xc4 0xe3 0x55 0x0d 0xca 0x81 172 173# CHECK: vblendpd $129, (%rax), %ymm5, %ymm1 1740xc4 0xe3 0x55 0x0d 0x08 0x81 175 176# CHECK: vpblendw $129, %xmm2, %xmm5, %xmm1 1770xc4 0xe3 0x51 0x0e 0xca 0x81 178 179# CHECK: vmpsadbw $129, %xmm2, %xmm5, %xmm1 1800xc4 0xe3 0x51 0x42 0xca 0x81 181 182# CHECK: vdpps $129, %ymm2, %ymm5, %ymm1 1830xc4 0xe3 0x55 0x40 0xca 0x81 184 185# CHECK: vdpps $129, (%rax), %ymm5, %ymm1 1860xc4 0xe3 0x55 0x40 0x08 0x81 187 188# CHECK: vdppd $129, %xmm2, %xmm5, %xmm1 1890xc4 0xe3 0x51 0x41 0xca 0x81 190 191# CHECK: vinsertps $129, %xmm3, %xmm2, %xmm1 1920xc4 0xe3 0x69 0x21 0xcb 0x81 193 194# CHECK: pause 1950xf3 0x90 196 197# CHECK: addl %eax, %edi 1980x01 0xc7 199 200# CHECK: addl %edi, %eax 2010x03 0xc7 202 203# CHECK: movl %eax, %edi 2040x89 0xc7 205 206# CHECK: movl %edi, %eax 2070x8b 0xc7 208 209# CHECK: movups %xmm1, %xmm0 2100x0f 0x10 0xc1 211 212# CHECK: movups %xmm0, %xmm1 2130x0f 0x11 0xc1 214 215# CHECK: movaps %xmm1, %xmm0 2160x0f 0x28 0xc1 217 218# CHECK: movaps %xmm0, %xmm1 2190x0f 0x29 0xc1 220 221# CHECK: movupd %xmm1, %xmm0 2220x66 0x0f 0x10 0xc1 223 224# CHECK: movupd %xmm0, %xmm1 2250x66 0x0f 0x11 0xc1 226 227# CHECK: movapd %xmm1, %xmm0 2280x66 0x0f 0x28 0xc1 229 230# CHECK: movapd %xmm0, %xmm1 2310x66 0x0f 0x29 0xc1 232 233# CHECK: vmovups %xmm1, %xmm0 2340xc5 0xf8 0x10 0xc1 235 236# CHECK: vmovups %xmm0, %xmm1 2370xc5 0xf8 0x11 0xc1 238 239# CHECK: vmovaps %xmm1, %xmm0 2400xc5 0xf8 0x28 0xc1 241 242# CHECK: vmovaps %xmm0, %xmm1 2430xc5 0xf8 0x29 0xc1 244 245# CHECK: vmovupd %xmm1, %xmm0 2460xc5 0xf9 0x10 0xc1 247 248# CHECK: vmovupd %xmm0, %xmm1 2490xc5 0xf9 0x11 0xc1 250 251# CHECK: vmovapd %xmm1, %xmm0 2520xc5 0xf9 0x28 0xc1 253 254# CHECK: vmovapd %xmm0, %xmm1 2550xc5 0xf9 0x29 0xc1 256 257# CHECK: vmovups %ymm1, %ymm0 2580xc5 0xfc 0x10 0xc1 259 260# CHECK: vmovups %ymm0, %ymm1 2610xc5 0xfc 0x11 0xc1 262 263# CHECK: vmovaps %ymm1, %ymm0 2640xc5 0xfc 0x28 0xc1 265 266# CHECK: vmovaps %ymm0, %ymm1 2670xc5 0xfc 0x29 0xc1 268 269# CHECK: movdqa %xmm1, %xmm0 2700x66 0x0f 0x6f 0xc1 271 272# CHECK: movdqa %xmm0, %xmm1 2730x66 0x0f 0x7f 0xc1 274 275# CHECK: movdqu %xmm1, %xmm0 2760xf3 0x0f 0x6f 0xc1 277 278# CHECK: movdqu %xmm0, %xmm1 2790xf3 0x0f 0x7f 0xc1 280 281# CHECK: vmovdqa %xmm1, %xmm0 2820xc5 0xf9 0x6f 0xc1 283 284# CHECK: vmovdqa %xmm0, %xmm1 2850xc5 0xf9 0x7f 0xc1 286 287# CHECK: vmovdqa %ymm1, %ymm0 2880xc5 0xfd 0x6f 0xc1 289 290# CHECK: vmovdqa %ymm0, %ymm1 2910xc5 0xfd 0x7f 0xc1 292 293# CHECK: vmovdqu %xmm1, %xmm0 2940xc5 0xfa 0x6f 0xc1 295 296# CHECK: vmovdqu %xmm0, %xmm1 2970xc5 0xfa 0x7f 0xc1 298 299# CHECK: vmovdqu %ymm1, %ymm0 3000xc5 0xfe 0x6f 0xc1 301 302# CHECK: vmovdqu %ymm0, %ymm1 3030xc5 0xfe 0x7f 0xc1 304 305# CHECK: vblendvps %xmm4, %xmm1, %xmm2, %xmm3 3060xc4 0xe3 0x69 0x4a 0xd9 0x41 307 308# CHECK: vroundpd $0, %xmm0, %xmm0 3090xc4 0xe3 0x79 0x09 0xc0 0x00 310 311# CHECK: vroundps $0, %xmm0, %xmm0 3120xc4 0xe3 0x79 0x08 0xc0 0x00 313 314# CHECK: vroundpd $0, %ymm0, %ymm0 3150xc4 0xe3 0x7d 0x09 0xc0 0x00 316 317# CHECK: vroundps $0, %ymm0, %ymm0 3180xc4 0xe3 0x7d 0x08 0xc0 0x00 319 320# CHECK: vroundss $0, %xmm0, %xmm0, %xmm0 3210xc4 0xe3 0x79 0x0a 0xc0 0x00 322 323# CHECK: vroundsd $0, %xmm0, %xmm0, %xmm0 3240xc4 0xe3 0x79 0x0b 0xc0 0x00 325 326# CHECK: crc32b %al, %eax 3270xf2 0x0f 0x38 0xf0 0xc0 328 329# CHECK: crc32w %ax, %eax 3300x66 0xf2 0x0f 0x38 0xf1 0xc0 331 332# CHECK: crc32l %eax, %eax 3330xf2 0x0f 0x38 0xf1 0xc0 334 335# CHECK: crc32q %rax, %rax 3360xf2 0x48 0x0f 0x38 0xf1 0xc0 337 338# CHECK: invept (%rax), %rax 3390x66 0x0f 0x38 0x80 0x00 340 341# CHECK: invvpid (%rax), %rax 3420x66 0x0f 0x38 0x81 0x00 343 344# CHECK: invpcid (%rax), %rax 3450x66 0x0f 0x38 0x82 0x00 346 347# CHECK: nop 3480x90 349 350# CHECK: xchgl %r8d, %eax 3510x41 0x90 352 353# CHECK: xchgq %r8, %rax 3540x49 0x90 355 356# CHECK: addb $0, %al 3570x04 0x00 358 359# CHECK: addw $0, %ax 3600x66 0x05 0x00 0x00 361 362# CHECK: addl $0, %eax 3630x05 0x00 0x00 0x00 0x00 364 365# CHECK: addq $0, %rax 3660x48 0x05 0x00 0x00 0x00 0x00 367 368# CHECK: adcb $0, %al 3690x14 0x00 370 371# CHECK: adcw $0, %ax 3720x66 0x15 0x00 0x00 373 374# CHECK: adcl $0, %eax 3750x15 0x00 0x00 0x00 0x00 376 377# CHECK: adcq $0, %rax 3780x48 0x15 0x00 0x00 0x00 0x00 379 380# CHECK: cmpb $0, %al 3810x3c 0x00 382 383# CHECK: cmpw $0, %ax 3840x66 0x3d 0x00 0x00 385 386# CHECK: cmpl $0, %eax 3870x3d 0x00 0x00 0x00 0x00 388 389# CHECK: cmpq $0, %rax 3900x48 0x3d 0x00 0x00 0x00 0x00 391 392# CHECK: testb $0, %al 3930xa8 0x00 394 395# CHECK: testw $0, %ax 3960x66 0xa9 0x00 0x00 397 398# CHECK: testl $0, %eax 3990xa9 0x00 0x00 0x00 0x00 400 401# CHECK: testq $0, %rax 4020x48 0xa9 0x00 0x00 0x00 0x00 403 404# CHECK: vaddps %xmm3, %xmm15, %xmm0 4050xc4 0xe1 0x00 0x58 0xc3 406 407# CHECK: movbel (%rax), %eax 4080x0f 0x38 0xf0 0x00 409 410# CHECK: movbel %eax, (%rax) 4110x0f 0x38 0xf1 0x00 412 413# CHECK: movbew (%rax), %ax 4140x66 0x0f 0x38 0xf0 0x00 415 416# CHECK: movbew %ax, (%rax) 4170x66 0x0f 0x38 0xf1 0x00 418 419# CHECK: movbeq (%rax), %rax 4200x48 0x0f 0x38 0xf0 0x00 421 422# CHECK: movbeq %rax, (%rax) 4230x48 0x0f 0x38 0xf1 0x00 424 425# CHECK: rdrandw %ax 4260x66 0x0f 0xc7 0xf0 427 428# CHECK: rdrandl %eax 4290x0f 0xc7 0xf0 430 431# CHECK: rdrandq %rax 4320x48 0x0f 0xc7 0xf0 433 434# CHECK: vroundss $0, %xmm0, %xmm0, %xmm0 4350xc4 0xe3 0x7d 0x0a 0xc0 0x00 436 437# CHECK: vroundsd $0, %xmm0, %xmm0, %xmm0 4380xc4 0xe3 0x7d 0x0b 0xc0 0x00 439 440# CHECK: vcvtsd2sil %xmm0, %eax 4410xc4 0xe1 0x7f 0x2d 0xc0 442 443# CHECK: vcvtsd2siq %xmm0, %rax 4440xc4 0xe1 0xff 0x2d 0xc0 445 446# CHECK: vucomisd %xmm1, %xmm0 4470xc5 0xfd 0x2e 0xc1 448 449# CHECK: vucomiss %xmm1, %xmm0 4500xc5 0xfc 0x2e 0xc1 451 452# CHECK: vcomisd %xmm1, %xmm0 4530xc5 0xfd 0x2f 0xc1 454 455# CHECK: vcomiss %xmm1, %xmm0 4560xc5 0xfc 0x2f 0xc1 457 458# CHECK: vaddss %xmm1, %xmm0, %xmm0 4590xc5 0xfe 0x58 0xc1 460 461# CHECK: xsave (%rax) 4620x0f 0xae 0x20 463 464# CHECK: xrstor (%rax) 4650x0f 0xae 0x28 466 467# CHECK: xsaveopt (%rax) 4680x0f 0xae 0x30 469 470# CHECK: rdfsbasel %eax 4710xf3 0x0f 0xae 0xc0 472 473# CHECK: rdgsbasel %eax 4740xf3 0x0f 0xae 0xc8 475 476# CHECK: wrfsbasel %eax 4770xf3 0x0f 0xae 0xd0 478 479# CHECK: wrgsbasel %eax 4800xf3 0x0f 0xae 0xd8 481 482# CHECK: rdfsbaseq %rax 4830xf3 0x48 0x0f 0xae 0xc0 484 485# CHECK: rdgsbaseq %rax 4860xf3 0x48 0x0f 0xae 0xc8 487 488# CHECK: wrfsbaseq %rax 4890xf3 0x48 0x0f 0xae 0xd0 490 491# CHECK: wrgsbaseq %rax 4920xf3 0x48 0x0f 0xae 0xd8 493 494# CHECK: vcvtph2ps %xmm0, %xmm0 4950xc4 0xe2 0x79 0x13 0xc0 496 497# CHECK: vcvtph2ps (%rax), %xmm0 4980xc4 0xe2 0x79 0x13 0x00 499 500# CHECK: vcvtph2ps %xmm0, %ymm0 5010xc4 0xe2 0x7d 0x13 0xc0 502 503# CHECK: vcvtph2ps (%rax), %ymm0 5040xc4 0xe2 0x7d 0x13 0x00 505 506# CHECK: vcvtps2ph $0, %xmm0, %xmm0 5070xc4 0xe3 0x79 0x1d 0xc0 0x00 508 509# CHECK: vcvtps2ph $0, %xmm0, (%rax) 5100xc4 0xe3 0x79 0x1d 0x00 0x00 511 512# CHECK: vcvtps2ph $0, %ymm0, %xmm0 5130xc4 0xe3 0x7d 0x1d 0xc0 0x00 514 515# CHECK: vcvtps2ph $0, %ymm0, (%rax) 5160xc4 0xe3 0x7d 0x1d 0x00 0x00 517 518# CHECK: popcntl %eax, %eax 5190xf3 0x0f 0xb8 0xc0 520 521# CHECK: popcntw %ax, %ax 5220x66 0xf3 0x0f 0xb8 0xc0 523 524# CHECK: popcntq %rax, %rax 5250xf3 0x48 0x0f 0xb8 0xc0 526 527# CHECK: lzcntl %eax, %eax 5280xf3 0x0f 0xbd 0xc0 529 530# CHECK: lzcntw %ax, %ax 5310x66 0xf3 0x0f 0xbd 0xc0 532 533# CHECK: lzcntq %rax, %rax 5340xf3 0x48 0x0f 0xbd 0xc0 535 536# CHECK: tzcntl %eax, %eax 5370xf3 0x0f 0xbc 0xc0 538 539# CHECK: tzcntw %ax, %ax 5400x66 0xf3 0x0f 0xbc 0xc0 541 542# CHECK: tzcntq %rax, %rax 5430xf3 0x48 0x0f 0xbc 0xc0 544 545# CHECK: andnl %ecx, %r15d, %eax 5460xc4 0xe2 0x00 0xf2 0xc1 547 548# CHECK: andnq %rax, %r15, %rax 5490xc4 0xe2 0x80 0xf2 0xc0 550 551# CHECK: andnl (%rax), %r15d, %eax 5520xc4 0xe2 0x00 0xf2 0x00 553 554# CHECK: andnq (%rax), %r15, %rax 5550xc4 0xe2 0x80 0xf2 0x00 556 557# CHECK: blsrl (%rax), %r15d 5580xc4 0xe2 0x00 0xf3 0x08 559 560# CHECK: blsrq (%rax), %r15 5610xc4 0xe2 0x80 0xf3 0x08 562 563# CHECK: blsmskl (%rax), %r15d 5640xc4 0xe2 0x00 0xf3 0x10 565 566# CHECK: blsmskq (%rax), %r15 5670xc4 0xe2 0x80 0xf3 0x10 568 569# CHECK: blsil (%rax), %r15d 5700xc4 0xe2 0x00 0xf3 0x18 571 572# CHECK: blsiq (%rax), %r15 5730xc4 0xe2 0x80 0xf3 0x18 574 575# CHECK: bextrl %r12d, (%rax), %r10d 5760xc4 0x62 0x18 0xf7 0x10 577 578# CHECK: bextrl %r12d, %r11d, %r10d 5790xc4 0x42 0x18 0xf7 0xd3 580 581# CHECK: bextrq %r12, (%rax), %r10 5820xc4 0x62 0x98 0xf7 0x10 583 584# CHECK: bextrq %r12, %r11, %r10 5850xc4 0x42 0x98 0xf7 0xd3 586 587# CHECK: bzhil %r12d, (%rax), %r10d 5880xc4 0x62 0x18 0xf5 0x10 589 590# CHECK: bzhil %r12d, %r11d, %r10d 5910xc4 0x42 0x18 0xf5 0xd3 592 593# CHECK: bzhiq %r12, (%rax), %r10 5940xc4 0x62 0x98 0xf5 0x10 595 596# CHECK: bzhiq %r12, %r11, %r10 5970xc4 0x42 0x98 0xf5 0xd3 598 599# CHECK: pextl %r12d, %r11d, %r10d 6000xc4 0x42 0x22 0xf5 0xd4 601 602# CHECK: pextl (%rax), %r11d, %r10d 6030xc4 0x62 0x22 0xf5 0x10 604 605# CHECK: pextq %r12, %r11, %r10 6060xc4 0x42 0xa2 0xf5 0xd4 607 608# CHECK: pextq (%rax), %r11, %r10 6090xc4 0x62 0xa2 0xf5 0x10 610 611# CHECK: pdepl %r12d, %r11d, %r10d 6120xc4 0x42 0x23 0xf5 0xd4 613 614# CHECK: pdepl (%rax), %r11d, %r10d 6150xc4 0x62 0x23 0xf5 0x10 616 617# CHECK: pdepq %r12, %r11, %r10 6180xc4 0x42 0xa3 0xf5 0xd4 619 620# CHECK: pdepq (%rax), %r11, %r10 6210xc4 0x62 0xa3 0xf5 0x10 622 623# CHECK: mulxl %r12d, %r11d, %r10d 6240xc4 0x42 0x23 0xf6 0xd4 625 626# CHECK: mulxl (%rax), %r11d, %r10d 6270xc4 0x62 0x23 0xf6 0x10 628 629# CHECK: mulxq %r12, %r11, %r10 6300xc4 0x42 0xa3 0xf6 0xd4 631 632# CHECK: mulxq (%rax), %r11, %r10 6330xc4 0x62 0xa3 0xf6 0x10 634 635# CHECK: rorxl $1, %r12d, %r10d 6360xc4 0x43 0x7b 0xf0 0xd4 0x01 637 638# CHECK: rorxl $31, (%rax), %r10d 6390xc4 0x63 0x7b 0xf0 0x10 0x1f 640 641# CHECK: rorxq $1, %r12, %r10 6420xc4 0x43 0xfb 0xf0 0xd4 0x01 643 644# CHECK: rorxq $63, (%rax), %r10 6450xc4 0x63 0xfb 0xf0 0x10 0x3f 646 647# CHECK: shlxl %r12d, (%rax), %r10d 6480xc4 0x62 0x19 0xf7 0x10 649 650# CHECK: shlxl %r12d, %r11d, %r10d 6510xc4 0x42 0x19 0xf7 0xd3 652 653# CHECK: shlxq %r12, (%rax), %r10 6540xc4 0x62 0x99 0xf7 0x10 655 656# CHECK: shlxq %r12, %r11, %r10 6570xc4 0x42 0x99 0xf7 0xd3 658 659# CHECK: sarxl %r12d, (%rax), %r10d 6600xc4 0x62 0x1a 0xf7 0x10 661 662# CHECK: sarxl %r12d, %r11d, %r10d 6630xc4 0x42 0x1a 0xf7 0xd3 664 665# CHECK: sarxq %r12, (%rax), %r10 6660xc4 0x62 0x9a 0xf7 0x10 667 668# CHECK: sarxq %r12, %r11, %r10 6690xc4 0x42 0x9a 0xf7 0xd3 670 671# CHECK: shrxl %r12d, (%rax), %r10d 6720xc4 0x62 0x1b 0xf7 0x10 673 674# CHECK: shrxl %r12d, %r11d, %r10d 6750xc4 0x42 0x1b 0xf7 0xd3 676 677# CHECK: shrxq %r12, (%rax), %r10 6780xc4 0x62 0x9b 0xf7 0x10 679 680# CHECK: shrxq %r12, %r11, %r10 6810xc4 0x42 0x9b 0xf7 0xd3 682 683# CHECK: vfmadd132ps %xmm11, %xmm12, %xmm10 6840xc4 0x42 0x19 0x98 0xd3 685 686# CHECK: vfmadd132pd %xmm11, %xmm12, %xmm10 6870xc4 0x42 0x99 0x98 0xd3 688 689# CHECK: vfmadd132ps %ymm11, %ymm12, %ymm10 6900xc4 0x42 0x1d 0x98 0xd3 691 692# CHECK: vfmadd132pd %ymm11, %ymm12, %ymm10 6930xc4 0x42 0x9d 0x98 0xd3 694 695# CHECK: vfmadd132ps (%rax), %xmm12, %xmm10 6960xc4 0x62 0x19 0x98 0x10 697 698# CHECK: vfmadd132pd (%rax), %xmm12, %xmm10 6990xc4 0x62 0x99 0x98 0x10 700 701# CHECK: vfmadd132ps (%rax), %ymm12, %ymm10 7020xc4 0x62 0x1d 0x98 0x10 703 704# CHECK: vfmadd132pd (%rax), %ymm12, %ymm10 7050xc4 0x62 0x9d 0x98 0x10 706 707# CHECK: vfmadd132ss %xmm11, %xmm12, %xmm10 7080xc4 0x42 0x19 0x99 0xd3 709 710# CHECK: vfmadd132sd %xmm11, %xmm12, %xmm10 7110xc4 0x42 0x99 0x99 0xd3 712 713# CHECK: vfmadd132ss (%rax), %xmm12, %xmm10 7140xc4 0x62 0x19 0x99 0x10 715 716# CHECK: vfmadd132sd (%rax), %xmm12, %xmm10 7170xc4 0x62 0x99 0x99 0x10 718 719# CHECK: vfmaddss (%rcx), %xmm1, %xmm0, %xmm0 7200xc4 0xe3 0xf9 0x6a 0x01 0x10 721 722# CHECK: vfmaddss %xmm1, (%rcx), %xmm0, %xmm0 7230xc4 0xe3 0x79 0x6a 0x01 0x10 724 725# CHECK: vpermil2ps $1, 4(%rax), %xmm2, %xmm3, %xmm0 7260xc4 0xe3 0xe1 0x48 0x40 0x04 0x21 727 728# CHECK: vgatherdpd %xmm0, (%rdi,%xmm1,2), %xmm2 7290xc4 0xe2 0xf9 0x92 0x14 0x4f 730 731# CHECK: vgatherdpd %ymm0, (%rdi,%xmm1,2), %ymm2 7320xc4 0xe2 0xfd 0x92 0x14 0x4f 733 734# CHECK: vgatherqps %xmm8, (%r15,%xmm9,2), %xmm10 7350xc4 0x02 0x39 0x93 0x14 0x4f 736 737# CHECK: vgatherqps %xmm8, (%r15,%ymm9,2), %xmm10 7380xc4 0x02 0x3d 0x93 0x14 0x4f 739 740# CHECK: vpgatherdq %xmm0, (%rdi,%xmm1,2), %xmm2 7410xc4 0xe2 0xf9 0x90 0x14 0x4f 742 743# CHECK: vpgatherdq %ymm0, (%rdi,%xmm1,2), %ymm2 7440xc4 0xe2 0xfd 0x90 0x14 0x4f 745 746# CHECK: vpgatherqd %xmm8, (%r15,%xmm9,2), %xmm10 7470xc4 0x02 0x39 0x91 0x14 0x4f 748 749# CHECK: vpgatherqd %xmm8, (%r15,%ymm9,2), %xmm10 7500xc4 0x02 0x3d 0x91 0x14 0x4f 751 752# rdar://8812056 lldb doesn't print the x86 lock prefix when disassembling 753# CHECK: lock 754# CHECK-NEXT: xaddq %rcx, %rbx 7550xf0 0x48 0x0f 0xc1 0xcb 756