2009-12-22 07:01:12 +00:00
|
|
|
# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s
|
2009-12-22 06:37:58 +00:00
|
|
|
|
|
|
|
# CHECK: int $33
|
|
|
|
0xCD 0x21
|
|
|
|
|
|
|
|
# CHECK: int $33
|
|
|
|
0xCD 0x21
|
|
|
|
|
2012-02-27 01:54:29 +00:00
|
|
|
# CHECK: jrcxz -127
|
|
|
|
0xe3 0x81
|
|
|
|
|
|
|
|
# CHECK: jecxz -127
|
|
|
|
0x67 0xe3 0x81
|
2009-12-22 06:37:58 +00:00
|
|
|
|
|
|
|
# CHECK: addb %al, (%rax)
|
2009-12-22 06:56:51 +00:00
|
|
|
0 0
|
2009-12-22 06:37:58 +00:00
|
|
|
|
|
|
|
# CHECK: callq -1234
|
|
|
|
0xe8 0x2e 0xfb 0xff 0xff
|
|
|
|
|
2010-02-12 23:46:48 +00:00
|
|
|
# CHECK: lfence
|
|
|
|
0x0f 0xae 0xe8
|
|
|
|
|
|
|
|
# CHECK: mfence
|
|
|
|
0x0f 0xae 0xf0
|
|
|
|
|
|
|
|
# CHECK: monitor
|
|
|
|
0x0f 0x01 0xc8
|
|
|
|
|
|
|
|
# CHECK: mwait
|
|
|
|
0x0f 0x01 0xc9
|
|
|
|
|
|
|
|
# CHECK: vmcall
|
|
|
|
0x0f 0x01 0xc1
|
2010-02-13 00:41:14 +00:00
|
|
|
|
2012-02-19 01:39:49 +00:00
|
|
|
# CHECK: vmfunc
|
|
|
|
0x0f 0x01 0xd4
|
|
|
|
|
2010-02-13 00:41:14 +00:00
|
|
|
# CHECK: vmlaunch
|
|
|
|
0x0f 0x01 0xc2
|
|
|
|
|
|
|
|
# CHECK: vmresume
|
|
|
|
0x0f 0x01 0xc3
|
|
|
|
|
|
|
|
# CHECK: vmxoff
|
|
|
|
0x0f 0x01 0xc4
|
|
|
|
|
|
|
|
# CHECK: swapgs
|
2010-02-13 03:42:24 +00:00
|
|
|
0x0f 0x01 0xf8
|
|
|
|
|
|
|
|
# CHECK: rdtscp
|
2010-03-08 22:17:26 +00:00
|
|
|
0x0f 0x01 0xf9
|
|
|
|
|
|
|
|
# CHECK: vmxon
|
|
|
|
0xf3 0x0f 0xc7 0x30
|
|
|
|
|
|
|
|
# CHECK: vmptrld
|
|
|
|
0x0f 0xc7 0x30
|
|
|
|
|
|
|
|
# CHECK: vmptrst
|
|
|
|
0x0f 0xc7 0x38
|
2010-04-17 17:22:06 +00:00
|
|
|
|
2012-02-18 08:19:49 +00:00
|
|
|
# CHECK: vmrun
|
|
|
|
0x0f 0x01 0xd8
|
|
|
|
|
|
|
|
# CHECK: vmmcall
|
|
|
|
0x0f 0x01 0xd9
|
|
|
|
|
|
|
|
# CHECK: vmload
|
|
|
|
0x0f 0x01 0xda
|
|
|
|
|
|
|
|
# CHECK: vmsave
|
|
|
|
0x0f 0x01 0xdb
|
|
|
|
|
|
|
|
# CHECK: stgi
|
|
|
|
0x0f 0x01 0xdc
|
|
|
|
|
|
|
|
# CHECK: clgi
|
|
|
|
0x0f 0x01 0xdd
|
|
|
|
|
|
|
|
# CHECK: skinit
|
|
|
|
0x0f 0x01 0xde
|
|
|
|
|
|
|
|
# CHECK: invlpga
|
|
|
|
0x0f 0x01 0xdf
|
|
|
|
|
2010-04-17 17:22:06 +00:00
|
|
|
# CHECK: movl $0, -4(%rbp)
|
|
|
|
0xc7 0x45 0xfc 0x00 0x00 0x00 0x00
|
2010-05-06 20:59:00 +00:00
|
|
|
|
|
|
|
# CHECK: movq %cr0, %rcx
|
|
|
|
0x0f 0x20 0xc1
|
2010-07-13 04:23:55 +00:00
|
|
|
|
|
|
|
# CHECK: leal 4(%rsp), %ecx
|
2010-10-05 00:21:40 +00:00
|
|
|
0x8d 0x4c 0x24 0x04
|
|
|
|
|
|
|
|
# CHECK: enter $1, $2
|
|
|
|
0xc8 0x01 0x00 0x02
|
2010-10-22 01:24:11 +00:00
|
|
|
|
|
|
|
# CHECK: movw $47416, -66(%rbp)
|
|
|
|
0x66 0xc7 0x45 0xbe 0x38 0xb9
|
2011-03-15 01:32:46 +00:00
|
|
|
|
|
|
|
# CHECK: vaddpd %ymm13, %ymm1, %ymm0
|
|
|
|
0xc4 0xc1 0x75 0x58 0xc5
|
|
|
|
|
|
|
|
# CHECK: vaddps %ymm3, %ymm1, %ymm0
|
|
|
|
0xc5 0xf4 0x58 0xc3
|
2011-08-19 05:28:50 +00:00
|
|
|
|
|
|
|
# CHECK: vandpd %ymm13, %ymm1, %ymm0
|
|
|
|
0xc4 0xc1 0x75 0x54 0xc5
|
|
|
|
|
|
|
|
# CHECK: vandps %ymm3, %ymm1, %ymm0
|
|
|
|
0xc5 0xf4 0x54 0xc3
|
2011-08-25 06:57:46 +00:00
|
|
|
|
|
|
|
# CHECK: vzeroall
|
|
|
|
0xc5 0xfc 0x77
|
|
|
|
|
|
|
|
# CHECK: vcvtps2pd %xmm0, %ymm0
|
|
|
|
0xc5 0xfc 0x5a 0xc0
|
2011-08-25 07:42:00 +00:00
|
|
|
|
|
|
|
# CHECK: vandps (%rdx), %xmm1, %xmm7
|
|
|
|
0xc5 0xf0 0x54 0x3a
|
2011-08-26 04:49:29 +00:00
|
|
|
|
2013-01-06 20:39:29 +00:00
|
|
|
# CHECK: vcvtss2si %xmm0, %eax
|
2011-08-26 04:49:29 +00:00
|
|
|
0xc5 0xfa 0x2d 0xc0
|
|
|
|
|
2013-01-06 20:39:29 +00:00
|
|
|
# CHECK: vcvtsd2si %xmm0, %eax
|
2011-08-26 04:49:29 +00:00
|
|
|
0xc5 0xfb 0x2d 0xc0
|
|
|
|
|
2013-01-06 20:39:29 +00:00
|
|
|
# CHECK: vcvtsd2si %xmm0, %rax
|
2011-08-26 04:49:29 +00:00
|
|
|
0xc4 0xe1 0xfb 0x2d 0xc0
|
2011-08-30 07:09:35 +00:00
|
|
|
|
Various x86 disassembler fixes.
Add VEX_LIG to scalar FMA4 instructions.
Use VEX_LIG in some of the inheriting checks in disassembler table generator.
Make use of VEX_L_W, VEX_L_W_XS, VEX_L_W_XD contexts.
Don't let VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE inherit from their non-L forms unless VEX_LIG is set.
Let VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE inherit from all of their non-L or non-W cases.
Increase ranking on VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE so they get chosen over non-L/non-W forms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191649 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-30 02:46:36 +00:00
|
|
|
# CHECK: vcvtsd2si %xmm0, %rax
|
|
|
|
0xc4 0xe1 0xff 0x2d 0xc0
|
|
|
|
|
2011-08-30 07:09:35 +00:00
|
|
|
# CHECK: vmaskmovpd %xmm0, %xmm1, (%rax)
|
|
|
|
0xc4 0xe2 0x71 0x2f 0x00
|
2011-09-02 04:17:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovapd %xmm0, %xmm2
|
|
|
|
0xc5 0xf9 0x28 0xd0
|
2011-09-02 20:01:23 +00:00
|
|
|
|
|
|
|
# Check X86 immediates print as signed values by default. radr://8795217
|
|
|
|
# CHECK: andq $-16, %rsp
|
|
|
|
0x48 0x83 0xe4 0xf0
|
|
|
|
|
|
|
|
# Check these special case instructions that the immediate is not sign-extend.
|
|
|
|
# CHECK: blendps $129, %xmm2, %xmm1
|
|
|
|
0x66 0x0f 0x3a 0x0c 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: blendpd $129, %xmm2, %xmm1
|
|
|
|
0x66 0x0f 0x3a 0x0d 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: pblendw $129, %xmm2, %xmm1
|
|
|
|
0x66 0x0f 0x3a 0x0e 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: mpsadbw $129, %xmm2, %xmm1
|
|
|
|
0x66 0x0f 0x3a 0x42 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: dpps $129, %xmm2, %xmm1
|
|
|
|
0x66 0x0f 0x3a 0x40 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: dppd $129, %xmm2, %xmm1
|
|
|
|
0x66 0x0f 0x3a 0x41 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: insertps $129, %xmm2, %xmm1
|
|
|
|
0x66 0x0f 0x3a 0x21 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: vblendps $129, %ymm2, %ymm5, %ymm1
|
|
|
|
0xc4 0xe3 0x55 0x0c 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: vblendps $129, (%rax), %ymm5, %ymm1
|
|
|
|
0xc4 0xe3 0x55 0x0c 0x08 0x81
|
|
|
|
|
|
|
|
# CHECK: vblendpd $129, %ymm2, %ymm5, %ymm1
|
|
|
|
0xc4 0xe3 0x55 0x0d 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: vblendpd $129, (%rax), %ymm5, %ymm1
|
|
|
|
0xc4 0xe3 0x55 0x0d 0x08 0x81
|
|
|
|
|
|
|
|
# CHECK: vpblendw $129, %xmm2, %xmm5, %xmm1
|
|
|
|
0xc4 0xe3 0x51 0x0e 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: vmpsadbw $129, %xmm2, %xmm5, %xmm1
|
|
|
|
0xc4 0xe3 0x51 0x42 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: vdpps $129, %ymm2, %ymm5, %ymm1
|
|
|
|
0xc4 0xe3 0x55 0x40 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: vdpps $129, (%rax), %ymm5, %ymm1
|
|
|
|
0xc4 0xe3 0x55 0x40 0x08 0x81
|
|
|
|
|
|
|
|
# CHECK: vdppd $129, %xmm2, %xmm5, %xmm1
|
|
|
|
0xc4 0xe3 0x51 0x41 0xca 0x81
|
|
|
|
|
|
|
|
# CHECK: vinsertps $129, %xmm3, %xmm2, %xmm1
|
|
|
|
0xc4 0xe3 0x69 0x21 0xcb 0x81
|
2011-09-11 20:23:20 +00:00
|
|
|
|
|
|
|
# CHECK: pause
|
|
|
|
0xf3 0x90
|
2011-09-11 21:41:45 +00:00
|
|
|
|
|
|
|
# CHECK: addl %eax, %edi
|
|
|
|
0x01 0xc7
|
|
|
|
|
|
|
|
# CHECK: addl %edi, %eax
|
|
|
|
0x03 0xc7
|
|
|
|
|
|
|
|
# CHECK: movl %eax, %edi
|
|
|
|
0x89 0xc7
|
|
|
|
|
|
|
|
# CHECK: movl %edi, %eax
|
|
|
|
0x8b 0xc7
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: movups %xmm1, %xmm0
|
|
|
|
0x0f 0x10 0xc1
|
|
|
|
|
|
|
|
# CHECK: movups %xmm0, %xmm1
|
|
|
|
0x0f 0x11 0xc1
|
|
|
|
|
|
|
|
# CHECK: movaps %xmm1, %xmm0
|
|
|
|
0x0f 0x28 0xc1
|
|
|
|
|
|
|
|
# CHECK: movaps %xmm0, %xmm1
|
|
|
|
0x0f 0x29 0xc1
|
|
|
|
|
|
|
|
# CHECK: movupd %xmm1, %xmm0
|
|
|
|
0x66 0x0f 0x10 0xc1
|
|
|
|
|
|
|
|
# CHECK: movupd %xmm0, %xmm1
|
|
|
|
0x66 0x0f 0x11 0xc1
|
|
|
|
|
|
|
|
# CHECK: movapd %xmm1, %xmm0
|
|
|
|
0x66 0x0f 0x28 0xc1
|
|
|
|
|
|
|
|
# CHECK: movapd %xmm0, %xmm1
|
|
|
|
0x66 0x0f 0x29 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovups %xmm1, %xmm0
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xf8 0x10 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovups %xmm0, %xmm1
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xf8 0x11 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovaps %xmm1, %xmm0
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xf8 0x28 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovaps %xmm0, %xmm1
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xf8 0x29 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovupd %xmm1, %xmm0
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xf9 0x10 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovupd %xmm0, %xmm1
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xf9 0x11 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovapd %xmm1, %xmm0
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xf9 0x28 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovapd %xmm0, %xmm1
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xf9 0x29 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovups %ymm1, %ymm0
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xfc 0x10 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovups %ymm0, %ymm1
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xfc 0x11 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
Various x86 disassembler fixes.
Add VEX_LIG to scalar FMA4 instructions.
Use VEX_LIG in some of the inheriting checks in disassembler table generator.
Make use of VEX_L_W, VEX_L_W_XS, VEX_L_W_XD contexts.
Don't let VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE inherit from their non-L forms unless VEX_LIG is set.
Let VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE inherit from all of their non-L or non-W cases.
Increase ranking on VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE so they get chosen over non-L/non-W forms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191649 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-30 02:46:36 +00:00
|
|
|
# CHECK: vmovups %ymm0, %ymm1
|
|
|
|
0xc4 0xe1 0xfc 0x11 0xc1
|
|
|
|
|
2011-09-11 23:19:54 +00:00
|
|
|
# CHECK: vmovaps %ymm1, %ymm0
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xfc 0x28 0xc1
|
2011-09-11 23:19:54 +00:00
|
|
|
|
|
|
|
# CHECK: vmovaps %ymm0, %ymm1
|
2011-09-13 06:54:58 +00:00
|
|
|
0xc5 0xfc 0x29 0xc1
|
|
|
|
|
|
|
|
# CHECK: movdqa %xmm1, %xmm0
|
|
|
|
0x66 0x0f 0x6f 0xc1
|
|
|
|
|
|
|
|
# CHECK: movdqa %xmm0, %xmm1
|
|
|
|
0x66 0x0f 0x7f 0xc1
|
|
|
|
|
|
|
|
# CHECK: movdqu %xmm1, %xmm0
|
|
|
|
0xf3 0x0f 0x6f 0xc1
|
|
|
|
|
|
|
|
# CHECK: movdqu %xmm0, %xmm1
|
|
|
|
0xf3 0x0f 0x7f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovdqa %xmm1, %xmm0
|
|
|
|
0xc5 0xf9 0x6f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovdqa %xmm0, %xmm1
|
|
|
|
0xc5 0xf9 0x7f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovdqa %ymm1, %ymm0
|
|
|
|
0xc5 0xfd 0x6f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovdqa %ymm0, %ymm1
|
|
|
|
0xc5 0xfd 0x7f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovdqu %xmm1, %xmm0
|
|
|
|
0xc5 0xfa 0x6f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovdqu %xmm0, %xmm1
|
|
|
|
0xc5 0xfa 0x7f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovdqu %ymm1, %ymm0
|
|
|
|
0xc5 0xfe 0x6f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vmovdqu %ymm0, %ymm1
|
|
|
|
0xc5 0xfe 0x7f 0xc1
|
2011-09-14 05:55:28 +00:00
|
|
|
|
|
|
|
# CHECK: vblendvps %xmm4, %xmm1, %xmm2, %xmm3
|
|
|
|
0xc4 0xe3 0x69 0x4a 0xd9 0x41
|
2011-09-14 06:41:26 +00:00
|
|
|
|
|
|
|
# CHECK: vroundpd $0, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x79 0x09 0xc0 0x00
|
|
|
|
|
|
|
|
# CHECK: vroundps $0, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x79 0x08 0xc0 0x00
|
|
|
|
|
|
|
|
# CHECK: vroundpd $0, %ymm0, %ymm0
|
|
|
|
0xc4 0xe3 0x7d 0x09 0xc0 0x00
|
|
|
|
|
|
|
|
# CHECK: vroundps $0, %ymm0, %ymm0
|
|
|
|
0xc4 0xe3 0x7d 0x08 0xc0 0x00
|
|
|
|
|
|
|
|
# CHECK: vroundss $0, %xmm0, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x79 0x0a 0xc0 0x00
|
|
|
|
|
|
|
|
# CHECK: vroundsd $0, %xmm0, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x79 0x0b 0xc0 0x00
|
2011-10-01 19:54:56 +00:00
|
|
|
|
|
|
|
# CHECK: crc32b %al, %eax
|
|
|
|
0xf2 0x0f 0x38 0xf0 0xc0
|
|
|
|
|
|
|
|
# CHECK: crc32w %ax, %eax
|
|
|
|
0x66 0xf2 0x0f 0x38 0xf1 0xc0
|
|
|
|
|
|
|
|
# CHECK: crc32l %eax, %eax
|
|
|
|
0xf2 0x0f 0x38 0xf1 0xc0
|
|
|
|
|
|
|
|
# CHECK: crc32q %rax, %rax
|
|
|
|
0xf2 0x48 0x0f 0x38 0xf1 0xc0
|
2011-10-01 21:20:14 +00:00
|
|
|
|
|
|
|
# CHECK: invept (%rax), %rax
|
|
|
|
0x66 0x0f 0x38 0x80 0x00
|
|
|
|
|
|
|
|
# CHECK: invvpid (%rax), %rax
|
|
|
|
0x66 0x0f 0x38 0x81 0x00
|
2011-10-02 16:56:09 +00:00
|
|
|
|
2011-10-16 07:05:40 +00:00
|
|
|
# CHECK: invpcid (%rax), %rax
|
|
|
|
0x66 0x0f 0x38 0x82 0x00
|
|
|
|
|
2011-10-02 21:08:12 +00:00
|
|
|
# CHECK: nop
|
|
|
|
0x90
|
|
|
|
|
2011-10-02 16:56:09 +00:00
|
|
|
# CHECK: xchgl %r8d, %eax
|
|
|
|
0x41 0x90
|
2011-10-02 21:08:12 +00:00
|
|
|
|
|
|
|
# CHECK: xchgq %r8, %rax
|
|
|
|
0x49 0x90
|
|
|
|
|
2014-01-01 15:29:32 +00:00
|
|
|
# CHECK: xchgl %r9d, %eax
|
|
|
|
0x41 0x91
|
|
|
|
|
|
|
|
# CHECK: xchgq %r9, %rax
|
|
|
|
0x49 0x91
|
|
|
|
|
|
|
|
# CHECK: xchgl %ecx, %eax
|
|
|
|
0x91
|
|
|
|
|
|
|
|
# CHECK: xchgq %rcx, %rax
|
|
|
|
0x48 0x91
|
|
|
|
|
2011-10-02 21:08:12 +00:00
|
|
|
# CHECK: addb $0, %al
|
|
|
|
0x04 0x00
|
|
|
|
|
|
|
|
# CHECK: addw $0, %ax
|
|
|
|
0x66 0x05 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: addl $0, %eax
|
|
|
|
0x05 0x00 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: addq $0, %rax
|
|
|
|
0x48 0x05 0x00 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: adcb $0, %al
|
|
|
|
0x14 0x00
|
|
|
|
|
|
|
|
# CHECK: adcw $0, %ax
|
|
|
|
0x66 0x15 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: adcl $0, %eax
|
|
|
|
0x15 0x00 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: adcq $0, %rax
|
|
|
|
0x48 0x15 0x00 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: cmpb $0, %al
|
|
|
|
0x3c 0x00
|
|
|
|
|
|
|
|
# CHECK: cmpw $0, %ax
|
|
|
|
0x66 0x3d 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: cmpl $0, %eax
|
|
|
|
0x3d 0x00 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: cmpq $0, %rax
|
|
|
|
0x48 0x3d 0x00 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: testb $0, %al
|
|
|
|
0xa8 0x00
|
|
|
|
|
|
|
|
# CHECK: testw $0, %ax
|
|
|
|
0x66 0xa9 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: testl $0, %eax
|
|
|
|
0xa9 0x00 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: testq $0, %rax
|
|
|
|
0x48 0xa9 0x00 0x00 0x00 0x00
|
2011-10-03 08:14:29 +00:00
|
|
|
|
|
|
|
# CHECK: vaddps %xmm3, %xmm15, %xmm0
|
|
|
|
0xc4 0xe1 0x00 0x58 0xc3
|
2011-10-03 17:28:23 +00:00
|
|
|
|
|
|
|
# CHECK: movbel (%rax), %eax
|
|
|
|
0x0f 0x38 0xf0 0x00
|
|
|
|
|
|
|
|
# CHECK: movbel %eax, (%rax)
|
|
|
|
0x0f 0x38 0xf1 0x00
|
|
|
|
|
|
|
|
# CHECK: movbew (%rax), %ax
|
|
|
|
0x66 0x0f 0x38 0xf0 0x00
|
|
|
|
|
|
|
|
# CHECK: movbew %ax, (%rax)
|
|
|
|
0x66 0x0f 0x38 0xf1 0x00
|
|
|
|
|
|
|
|
# CHECK: movbeq (%rax), %rax
|
|
|
|
0x48 0x0f 0x38 0xf0 0x00
|
|
|
|
|
|
|
|
# CHECK: movbeq %rax, (%rax)
|
|
|
|
0x48 0x0f 0x38 0xf1 0x00
|
|
|
|
|
|
|
|
# CHECK: rdrandw %ax
|
|
|
|
0x66 0x0f 0xc7 0xf0
|
|
|
|
|
|
|
|
# CHECK: rdrandl %eax
|
|
|
|
0x0f 0xc7 0xf0
|
|
|
|
|
|
|
|
# CHECK: rdrandq %rax
|
|
|
|
0x48 0x0f 0xc7 0xf0
|
2011-10-04 06:30:42 +00:00
|
|
|
|
|
|
|
# CHECK: vroundss $0, %xmm0, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x7d 0x0a 0xc0 0x00
|
|
|
|
|
|
|
|
# CHECK: vroundsd $0, %xmm0, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x7d 0x0b 0xc0 0x00
|
|
|
|
|
2013-01-06 20:39:29 +00:00
|
|
|
# CHECK: vcvtsd2si %xmm0, %eax
|
2011-10-04 06:30:42 +00:00
|
|
|
0xc4 0xe1 0x7f 0x2d 0xc0
|
|
|
|
|
2013-01-06 20:39:29 +00:00
|
|
|
# CHECK: vcvtsd2si %xmm0, %rax
|
2011-10-04 06:30:42 +00:00
|
|
|
0xc4 0xe1 0xff 0x2d 0xc0
|
|
|
|
|
|
|
|
# CHECK: vucomisd %xmm1, %xmm0
|
|
|
|
0xc5 0xfd 0x2e 0xc1
|
|
|
|
|
|
|
|
# CHECK: vucomiss %xmm1, %xmm0
|
|
|
|
0xc5 0xfc 0x2e 0xc1
|
|
|
|
|
|
|
|
# CHECK: vcomisd %xmm1, %xmm0
|
|
|
|
0xc5 0xfd 0x2f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vcomiss %xmm1, %xmm0
|
|
|
|
0xc5 0xfc 0x2f 0xc1
|
|
|
|
|
|
|
|
# CHECK: vaddss %xmm1, %xmm0, %xmm0
|
|
|
|
0xc5 0xfe 0x58 0xc1
|
2011-10-07 05:53:50 +00:00
|
|
|
|
|
|
|
# CHECK: xsave (%rax)
|
|
|
|
0x0f 0xae 0x20
|
|
|
|
|
|
|
|
# CHECK: xrstor (%rax)
|
|
|
|
0x0f 0xae 0x28
|
|
|
|
|
|
|
|
# CHECK: xsaveopt (%rax)
|
|
|
|
0x0f 0xae 0x30
|
2011-10-07 07:02:24 +00:00
|
|
|
|
2011-10-09 07:31:39 +00:00
|
|
|
# CHECK: rdfsbasel %eax
|
2011-10-07 07:02:24 +00:00
|
|
|
0xf3 0x0f 0xae 0xc0
|
|
|
|
|
2011-10-09 07:31:39 +00:00
|
|
|
# CHECK: rdgsbasel %eax
|
2011-10-07 07:02:24 +00:00
|
|
|
0xf3 0x0f 0xae 0xc8
|
|
|
|
|
2011-10-09 07:31:39 +00:00
|
|
|
# CHECK: wrfsbasel %eax
|
2011-10-07 07:02:24 +00:00
|
|
|
0xf3 0x0f 0xae 0xd0
|
|
|
|
|
2011-10-09 07:31:39 +00:00
|
|
|
# CHECK: wrgsbasel %eax
|
2011-10-07 07:02:24 +00:00
|
|
|
0xf3 0x0f 0xae 0xd8
|
|
|
|
|
2011-10-09 07:31:39 +00:00
|
|
|
# CHECK: rdfsbaseq %rax
|
2011-10-07 07:02:24 +00:00
|
|
|
0xf3 0x48 0x0f 0xae 0xc0
|
|
|
|
|
2011-10-09 07:31:39 +00:00
|
|
|
# CHECK: rdgsbaseq %rax
|
2011-10-07 07:02:24 +00:00
|
|
|
0xf3 0x48 0x0f 0xae 0xc8
|
|
|
|
|
2011-10-09 07:31:39 +00:00
|
|
|
# CHECK: wrfsbaseq %rax
|
2011-10-07 07:02:24 +00:00
|
|
|
0xf3 0x48 0x0f 0xae 0xd0
|
|
|
|
|
2011-10-09 07:31:39 +00:00
|
|
|
# CHECK: wrgsbaseq %rax
|
2011-10-07 07:02:24 +00:00
|
|
|
0xf3 0x48 0x0f 0xae 0xd8
|
2011-10-09 07:31:39 +00:00
|
|
|
|
|
|
|
# CHECK: vcvtph2ps %xmm0, %xmm0
|
|
|
|
0xc4 0xe2 0x79 0x13 0xc0
|
|
|
|
|
|
|
|
# CHECK: vcvtph2ps (%rax), %xmm0
|
|
|
|
0xc4 0xe2 0x79 0x13 0x00
|
|
|
|
|
|
|
|
# CHECK: vcvtph2ps %xmm0, %ymm0
|
|
|
|
0xc4 0xe2 0x7d 0x13 0xc0
|
|
|
|
|
|
|
|
# CHECK: vcvtph2ps (%rax), %ymm0
|
|
|
|
0xc4 0xe2 0x7d 0x13 0x00
|
|
|
|
|
|
|
|
# CHECK: vcvtps2ph $0, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x79 0x1d 0xc0 0x00
|
|
|
|
|
|
|
|
# CHECK: vcvtps2ph $0, %xmm0, (%rax)
|
|
|
|
0xc4 0xe3 0x79 0x1d 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: vcvtps2ph $0, %ymm0, %xmm0
|
|
|
|
0xc4 0xe3 0x7d 0x1d 0xc0 0x00
|
|
|
|
|
|
|
|
# CHECK: vcvtps2ph $0, %ymm0, (%rax)
|
|
|
|
0xc4 0xe3 0x7d 0x1d 0x00 0x00
|
2011-10-11 04:34:23 +00:00
|
|
|
|
|
|
|
# CHECK: popcntl %eax, %eax
|
|
|
|
0xf3 0x0f 0xb8 0xc0
|
|
|
|
|
|
|
|
# CHECK: popcntw %ax, %ax
|
|
|
|
0x66 0xf3 0x0f 0xb8 0xc0
|
|
|
|
|
|
|
|
# CHECK: popcntq %rax, %rax
|
|
|
|
0xf3 0x48 0x0f 0xb8 0xc0
|
2011-10-11 06:44:02 +00:00
|
|
|
|
|
|
|
# CHECK: lzcntl %eax, %eax
|
|
|
|
0xf3 0x0f 0xbd 0xc0
|
|
|
|
|
|
|
|
# CHECK: lzcntw %ax, %ax
|
|
|
|
0x66 0xf3 0x0f 0xbd 0xc0
|
|
|
|
|
|
|
|
# CHECK: lzcntq %rax, %rax
|
|
|
|
0xf3 0x48 0x0f 0xbd 0xc0
|
2011-10-14 03:21:46 +00:00
|
|
|
|
|
|
|
# CHECK: tzcntl %eax, %eax
|
|
|
|
0xf3 0x0f 0xbc 0xc0
|
|
|
|
|
|
|
|
# CHECK: tzcntw %ax, %ax
|
|
|
|
0x66 0xf3 0x0f 0xbc 0xc0
|
|
|
|
|
|
|
|
# CHECK: tzcntq %rax, %rax
|
|
|
|
0xf3 0x48 0x0f 0xbc 0xc0
|
2011-10-14 07:06:56 +00:00
|
|
|
|
|
|
|
# CHECK: andnl %ecx, %r15d, %eax
|
|
|
|
0xc4 0xe2 0x00 0xf2 0xc1
|
|
|
|
|
|
|
|
# CHECK: andnq %rax, %r15, %rax
|
|
|
|
0xc4 0xe2 0x80 0xf2 0xc0
|
|
|
|
|
|
|
|
# CHECK: andnl (%rax), %r15d, %eax
|
|
|
|
0xc4 0xe2 0x00 0xf2 0x00
|
|
|
|
|
|
|
|
# CHECK: andnq (%rax), %r15, %rax
|
|
|
|
0xc4 0xe2 0x80 0xf2 0x00
|
2011-10-15 20:46:47 +00:00
|
|
|
|
|
|
|
# CHECK: blsrl (%rax), %r15d
|
|
|
|
0xc4 0xe2 0x00 0xf3 0x08
|
|
|
|
|
|
|
|
# CHECK: blsrq (%rax), %r15
|
|
|
|
0xc4 0xe2 0x80 0xf3 0x08
|
|
|
|
|
|
|
|
# CHECK: blsmskl (%rax), %r15d
|
|
|
|
0xc4 0xe2 0x00 0xf3 0x10
|
|
|
|
|
|
|
|
# CHECK: blsmskq (%rax), %r15
|
|
|
|
0xc4 0xe2 0x80 0xf3 0x10
|
|
|
|
|
|
|
|
# CHECK: blsil (%rax), %r15d
|
|
|
|
0xc4 0xe2 0x00 0xf3 0x18
|
|
|
|
|
|
|
|
# CHECK: blsiq (%rax), %r15
|
|
|
|
0xc4 0xe2 0x80 0xf3 0x18
|
2011-10-16 03:51:13 +00:00
|
|
|
|
|
|
|
# CHECK: bextrl %r12d, (%rax), %r10d
|
|
|
|
0xc4 0x62 0x18 0xf7 0x10
|
|
|
|
|
|
|
|
# CHECK: bextrl %r12d, %r11d, %r10d
|
|
|
|
0xc4 0x42 0x18 0xf7 0xd3
|
|
|
|
|
|
|
|
# CHECK: bextrq %r12, (%rax), %r10
|
|
|
|
0xc4 0x62 0x98 0xf7 0x10
|
|
|
|
|
|
|
|
# CHECK: bextrq %r12, %r11, %r10
|
|
|
|
0xc4 0x42 0x98 0xf7 0xd3
|
2011-10-16 07:55:05 +00:00
|
|
|
|
|
|
|
# CHECK: bzhil %r12d, (%rax), %r10d
|
|
|
|
0xc4 0x62 0x18 0xf5 0x10
|
|
|
|
|
|
|
|
# CHECK: bzhil %r12d, %r11d, %r10d
|
|
|
|
0xc4 0x42 0x18 0xf5 0xd3
|
|
|
|
|
|
|
|
# CHECK: bzhiq %r12, (%rax), %r10
|
|
|
|
0xc4 0x62 0x98 0xf5 0x10
|
|
|
|
|
|
|
|
# CHECK: bzhiq %r12, %r11, %r10
|
|
|
|
0xc4 0x42 0x98 0xf5 0xd3
|
2011-10-16 16:50:08 +00:00
|
|
|
|
2011-10-19 07:48:35 +00:00
|
|
|
# CHECK: pextl %r12d, %r11d, %r10d
|
2011-10-16 16:50:08 +00:00
|
|
|
0xc4 0x42 0x22 0xf5 0xd4
|
|
|
|
|
2011-10-19 07:48:35 +00:00
|
|
|
# CHECK: pextl (%rax), %r11d, %r10d
|
2011-10-16 16:50:08 +00:00
|
|
|
0xc4 0x62 0x22 0xf5 0x10
|
|
|
|
|
2011-10-19 07:48:35 +00:00
|
|
|
# CHECK: pextq %r12, %r11, %r10
|
2011-10-16 16:50:08 +00:00
|
|
|
0xc4 0x42 0xa2 0xf5 0xd4
|
|
|
|
|
2011-10-19 07:48:35 +00:00
|
|
|
# CHECK: pextq (%rax), %r11, %r10
|
2011-10-16 16:50:08 +00:00
|
|
|
0xc4 0x62 0xa2 0xf5 0x10
|
|
|
|
|
|
|
|
# CHECK: pdepl %r12d, %r11d, %r10d
|
|
|
|
0xc4 0x42 0x23 0xf5 0xd4
|
|
|
|
|
|
|
|
# CHECK: pdepl (%rax), %r11d, %r10d
|
|
|
|
0xc4 0x62 0x23 0xf5 0x10
|
|
|
|
|
|
|
|
# CHECK: pdepq %r12, %r11, %r10
|
|
|
|
0xc4 0x42 0xa3 0xf5 0xd4
|
|
|
|
|
|
|
|
# CHECK: pdepq (%rax), %r11, %r10
|
|
|
|
0xc4 0x62 0xa3 0xf5 0x10
|
2011-10-23 00:33:32 +00:00
|
|
|
|
|
|
|
# CHECK: mulxl %r12d, %r11d, %r10d
|
|
|
|
0xc4 0x42 0x23 0xf6 0xd4
|
|
|
|
|
|
|
|
# CHECK: mulxl (%rax), %r11d, %r10d
|
|
|
|
0xc4 0x62 0x23 0xf6 0x10
|
|
|
|
|
|
|
|
# CHECK: mulxq %r12, %r11, %r10
|
|
|
|
0xc4 0x42 0xa3 0xf6 0xd4
|
|
|
|
|
|
|
|
# CHECK: mulxq (%rax), %r11, %r10
|
|
|
|
0xc4 0x62 0xa3 0xf6 0x10
|
2011-10-23 07:34:00 +00:00
|
|
|
|
|
|
|
# CHECK: rorxl $1, %r12d, %r10d
|
|
|
|
0xc4 0x43 0x7b 0xf0 0xd4 0x01
|
|
|
|
|
|
|
|
# CHECK: rorxl $31, (%rax), %r10d
|
|
|
|
0xc4 0x63 0x7b 0xf0 0x10 0x1f
|
|
|
|
|
|
|
|
# CHECK: rorxq $1, %r12, %r10
|
|
|
|
0xc4 0x43 0xfb 0xf0 0xd4 0x01
|
|
|
|
|
|
|
|
# CHECK: rorxq $63, (%rax), %r10
|
|
|
|
0xc4 0x63 0xfb 0xf0 0x10 0x3f
|
2011-10-23 22:18:24 +00:00
|
|
|
|
|
|
|
# CHECK: shlxl %r12d, (%rax), %r10d
|
|
|
|
0xc4 0x62 0x19 0xf7 0x10
|
|
|
|
|
|
|
|
# CHECK: shlxl %r12d, %r11d, %r10d
|
|
|
|
0xc4 0x42 0x19 0xf7 0xd3
|
|
|
|
|
|
|
|
# CHECK: shlxq %r12, (%rax), %r10
|
|
|
|
0xc4 0x62 0x99 0xf7 0x10
|
|
|
|
|
|
|
|
# CHECK: shlxq %r12, %r11, %r10
|
|
|
|
0xc4 0x42 0x99 0xf7 0xd3
|
|
|
|
|
|
|
|
# CHECK: sarxl %r12d, (%rax), %r10d
|
|
|
|
0xc4 0x62 0x1a 0xf7 0x10
|
|
|
|
|
|
|
|
# CHECK: sarxl %r12d, %r11d, %r10d
|
|
|
|
0xc4 0x42 0x1a 0xf7 0xd3
|
|
|
|
|
|
|
|
# CHECK: sarxq %r12, (%rax), %r10
|
|
|
|
0xc4 0x62 0x9a 0xf7 0x10
|
|
|
|
|
|
|
|
# CHECK: sarxq %r12, %r11, %r10
|
|
|
|
0xc4 0x42 0x9a 0xf7 0xd3
|
|
|
|
|
|
|
|
# CHECK: shrxl %r12d, (%rax), %r10d
|
|
|
|
0xc4 0x62 0x1b 0xf7 0x10
|
|
|
|
|
|
|
|
# CHECK: shrxl %r12d, %r11d, %r10d
|
|
|
|
0xc4 0x42 0x1b 0xf7 0xd3
|
|
|
|
|
|
|
|
# CHECK: shrxq %r12, (%rax), %r10
|
|
|
|
0xc4 0x62 0x9b 0xf7 0x10
|
|
|
|
|
|
|
|
# CHECK: shrxq %r12, %r11, %r10
|
|
|
|
0xc4 0x42 0x9b 0xf7 0xd3
|
2011-12-29 20:03:14 +00:00
|
|
|
|
|
|
|
# CHECK: vfmadd132ps %xmm11, %xmm12, %xmm10
|
|
|
|
0xc4 0x42 0x19 0x98 0xd3
|
|
|
|
|
|
|
|
# CHECK: vfmadd132pd %xmm11, %xmm12, %xmm10
|
|
|
|
0xc4 0x42 0x99 0x98 0xd3
|
|
|
|
|
|
|
|
# CHECK: vfmadd132ps %ymm11, %ymm12, %ymm10
|
|
|
|
0xc4 0x42 0x1d 0x98 0xd3
|
|
|
|
|
|
|
|
# CHECK: vfmadd132pd %ymm11, %ymm12, %ymm10
|
|
|
|
0xc4 0x42 0x9d 0x98 0xd3
|
|
|
|
|
|
|
|
# CHECK: vfmadd132ps (%rax), %xmm12, %xmm10
|
|
|
|
0xc4 0x62 0x19 0x98 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmadd132pd (%rax), %xmm12, %xmm10
|
|
|
|
0xc4 0x62 0x99 0x98 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmadd132ps (%rax), %ymm12, %ymm10
|
|
|
|
0xc4 0x62 0x1d 0x98 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmadd132pd (%rax), %ymm12, %ymm10
|
|
|
|
0xc4 0x62 0x9d 0x98 0x10
|
2011-12-29 20:43:40 +00:00
|
|
|
|
|
|
|
# CHECK: vfmadd132ss %xmm11, %xmm12, %xmm10
|
|
|
|
0xc4 0x42 0x19 0x99 0xd3
|
|
|
|
|
|
|
|
# CHECK: vfmadd132sd %xmm11, %xmm12, %xmm10
|
|
|
|
0xc4 0x42 0x99 0x99 0xd3
|
|
|
|
|
|
|
|
# CHECK: vfmadd132ss (%rax), %xmm12, %xmm10
|
|
|
|
0xc4 0x62 0x19 0x99 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmadd132sd (%rax), %xmm12, %xmm10
|
|
|
|
0xc4 0x62 0x99 0x99 0x10
|
2011-12-30 05:20:36 +00:00
|
|
|
|
2011-12-30 06:23:39 +00:00
|
|
|
# CHECK: vfmaddss (%rcx), %xmm1, %xmm0, %xmm0
|
2011-12-30 05:20:36 +00:00
|
|
|
0xc4 0xe3 0xf9 0x6a 0x01 0x10
|
|
|
|
|
2011-12-30 06:23:39 +00:00
|
|
|
# CHECK: vfmaddss %xmm1, (%rcx), %xmm0, %xmm0
|
2011-12-30 05:20:36 +00:00
|
|
|
0xc4 0xe3 0x79 0x6a 0x01 0x10
|
2011-12-30 06:23:39 +00:00
|
|
|
|
Various x86 disassembler fixes.
Add VEX_LIG to scalar FMA4 instructions.
Use VEX_LIG in some of the inheriting checks in disassembler table generator.
Make use of VEX_L_W, VEX_L_W_XS, VEX_L_W_XD contexts.
Don't let VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE inherit from their non-L forms unless VEX_LIG is set.
Let VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE inherit from all of their non-L or non-W cases.
Increase ranking on VEX_L_W, VEX_L_W_XS, VEX_L_W_XD, VEX_L_W_OPSIZE so they get chosen over non-L/non-W forms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191649 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-30 02:46:36 +00:00
|
|
|
# CHECK: vfmaddss (%rcx), %xmm1, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0xfd 0x6a 0x01 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddss %xmm1, (%rcx), %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x7d 0x6a 0x01 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddss %xmm2, %xmm1, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0xf9 0x6a 0xc2 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddss %xmm1, %xmm2, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x79 0x6a 0xc2 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddss %xmm2, %xmm1, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0xfd 0x6a 0xc2 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddss %xmm1, %xmm2, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x7d 0x6a 0xc2 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddps (%rcx), %xmm1, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0xf9 0x68 0x01 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddps %xmm1, (%rcx), %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x79 0x68 0x01 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddps %xmm1, %xmm2, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0x79 0x68 0xc2 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddps %xmm2, %xmm1, %xmm0, %xmm0
|
|
|
|
0xc4 0xe3 0xf9 0x68 0xc2 0x10
|
|
|
|
|
2013-09-30 02:50:51 +00:00
|
|
|
# CHECK: vfmaddps (%rcx), %ymm1, %ymm0, %ymm0
|
|
|
|
0xc4 0xe3 0xfd 0x68 0x01 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddps %ymm1, (%rcx), %ymm0, %ymm0
|
|
|
|
0xc4 0xe3 0x7d 0x68 0x01 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddps %ymm1, %ymm2, %ymm0, %ymm0
|
|
|
|
0xc4 0xe3 0x7d 0x68 0xc2 0x10
|
|
|
|
|
|
|
|
# CHECK: vfmaddps %ymm2, %ymm1, %ymm0, %ymm0
|
|
|
|
0xc4 0xe3 0xfd 0x68 0xc2 0x10
|
|
|
|
|
2013-10-03 05:17:48 +00:00
|
|
|
# CHECK: vpermil2ps $0, %xmm4, %xmm3, %xmm2, %xmm1
|
|
|
|
0xc4 0xe3 0x69 0x48 0xcb 0x40
|
|
|
|
|
2011-12-30 06:23:39 +00:00
|
|
|
# CHECK: vpermil2ps $1, 4(%rax), %xmm2, %xmm3, %xmm0
|
|
|
|
0xc4 0xe3 0xe1 0x48 0x40 0x04 0x21
|
2012-03-09 17:52:49 +00:00
|
|
|
|
2013-10-03 05:17:48 +00:00
|
|
|
# CHECK: vpermil2ps $2, (%rax), %ymm1, %ymm5, %ymm6
|
|
|
|
0xc4 0xe3 0xd5 0x48 0x30 0x12
|
|
|
|
|
|
|
|
# CHECK: vpermil2ps $3, %xmm1, (%rax), %xmm3, %xmm4
|
|
|
|
0xc4 0xe3 0x61 0x48 0x20 0x13
|
|
|
|
|
|
|
|
# CHECK: vpermil2ps $0, %ymm4, %ymm4, %ymm2, %ymm2
|
|
|
|
0xc4 0xe3 0x6d 0x48 0xd4 0x40
|
|
|
|
|
|
|
|
# CHECK: vpermil2pd $1, %ymm1, 4(%rax), %ymm1, %ymm0
|
|
|
|
0xc4 0xe3 0x75 0x49 0x40 0x04 0x11
|
|
|
|
|
2012-06-26 19:47:59 +00:00
|
|
|
# CHECK: vgatherdpd %xmm0, (%rdi,%xmm1,2), %xmm2
|
2012-07-10 06:38:33 +00:00
|
|
|
0xc4 0xe2 0xf9 0x92 0x14 0x4f
|
2012-06-26 19:47:59 +00:00
|
|
|
|
2012-06-29 00:54:20 +00:00
|
|
|
# CHECK: vgatherdpd %ymm0, (%rdi,%xmm1,2), %ymm2
|
2012-07-10 06:38:33 +00:00
|
|
|
0xc4 0xe2 0xfd 0x92 0x14 0x4f
|
2012-06-29 00:54:20 +00:00
|
|
|
|
|
|
|
# CHECK: vgatherqps %xmm8, (%r15,%xmm9,2), %xmm10
|
2012-07-10 06:38:33 +00:00
|
|
|
0xc4 0x02 0x39 0x93 0x14 0x4f
|
2012-06-29 00:54:20 +00:00
|
|
|
|
|
|
|
# CHECK: vgatherqps %xmm8, (%r15,%ymm9,2), %xmm10
|
2012-07-10 06:38:33 +00:00
|
|
|
0xc4 0x02 0x3d 0x93 0x14 0x4f
|
2012-06-26 19:47:59 +00:00
|
|
|
|
2012-06-29 00:54:20 +00:00
|
|
|
# CHECK: vpgatherdq %xmm0, (%rdi,%xmm1,2), %xmm2
|
2012-07-10 06:38:33 +00:00
|
|
|
0xc4 0xe2 0xf9 0x90 0x14 0x4f
|
2012-06-29 00:54:20 +00:00
|
|
|
|
|
|
|
# CHECK: vpgatherdq %ymm0, (%rdi,%xmm1,2), %ymm2
|
2012-07-10 06:38:33 +00:00
|
|
|
0xc4 0xe2 0xfd 0x90 0x14 0x4f
|
2012-06-29 00:54:20 +00:00
|
|
|
|
|
|
|
# CHECK: vpgatherqd %xmm8, (%r15,%xmm9,2), %xmm10
|
2012-07-10 06:38:33 +00:00
|
|
|
0xc4 0x02 0x39 0x91 0x14 0x4f
|
2012-06-29 00:54:20 +00:00
|
|
|
|
|
|
|
# CHECK: vpgatherqd %xmm8, (%r15,%ymm9,2), %xmm10
|
2012-07-10 06:38:33 +00:00
|
|
|
0xc4 0x02 0x3d 0x91 0x14 0x4f
|
2012-06-29 00:54:20 +00:00
|
|
|
|
2012-03-09 17:52:49 +00:00
|
|
|
# rdar://8812056 lldb doesn't print the x86 lock prefix when disassembling
|
|
|
|
# CHECK: lock
|
2012-03-12 21:38:09 +00:00
|
|
|
# CHECK-NEXT: xaddq %rcx, %rbx
|
2012-03-09 17:52:49 +00:00
|
|
|
0xf0 0x48 0x0f 0xc1 0xcb
|
2013-03-25 18:59:38 +00:00
|
|
|
|
|
|
|
# rdar://13493622 lldb doesn't print the x86 rep/repne prefix when disassembling
|
|
|
|
# CHECK: repne
|
2013-07-23 01:50:47 +00:00
|
|
|
# CHECK-NEXT: movsl
|
2013-03-25 18:59:38 +00:00
|
|
|
0xf2 0xa5
|
|
|
|
# CHECK: repne
|
|
|
|
# CHECK-NEXT: movsq
|
|
|
|
0xf2 0x48 0xa5
|
|
|
|
# CHECK: repne
|
|
|
|
# CHECK-NEXT: movb $0, (%rax)
|
|
|
|
0xf2 0xc6 0x0 0x0
|
2013-06-20 22:32:18 +00:00
|
|
|
|
|
|
|
# rdar://11019859 Support 2013 Haswell RTM instructions and HLE prefixes
|
|
|
|
# CHECK: xrelease
|
2013-03-25 18:59:38 +00:00
|
|
|
# CHECK-NEXT: lock
|
|
|
|
# CHECK-NEXT: incl (%rax)
|
|
|
|
0xf3 0xf0 0xff 0x00
|
2013-06-20 22:32:18 +00:00
|
|
|
|
|
|
|
# CHECK: xrelease
|
|
|
|
# CHECK-NEXT: xchgl %ebx, %eax
|
|
|
|
0xf3 0x93
|
|
|
|
# CHECK: xrelease
|
|
|
|
# CHECK-NEXT: xchgl %ebx, (%rax)
|
|
|
|
0xf3 0x87 0x18
|
|
|
|
# CHECK: xrelease
|
|
|
|
# CHECK-NEXT: movb %al, (%rbx)
|
|
|
|
0xf3 0x88 0x03
|
|
|
|
# CHECK: xrelease
|
|
|
|
# CHECK-NEXT: movl %eax, (%rbx)
|
|
|
|
0xf3 0x89 0x03
|
|
|
|
# CHECK: xrelease
|
|
|
|
# CHECK-NEXT: movb $1, (%rbx)
|
|
|
|
0xf3 0xc6 0x03 0x01
|
|
|
|
# CHECK: xrelease
|
|
|
|
# CHECK-NEXT: movl $1, (%rbx)
|
|
|
|
0xf3 0xc7 0x03 0x01 0x00 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: xacquire
|
|
|
|
# CHECK-NEXT: xchgl %ebx, %eax
|
|
|
|
0xf2 0x93
|
|
|
|
# CHECK: xacquire
|
|
|
|
# CHECK-NEXT: xchgl %ebx, (%rax)
|
|
|
|
0xf2 0x87 0x18
|
2013-10-03 05:17:48 +00:00
|
|
|
|
|
|
|
# CHECK: bextr $2814, %edi, %eax
|
|
|
|
0x8f 0xea 0x78 0x10 0xc7 0xfe 0x0a 0x00 0x00
|
|
|
|
|
|
|
|
# CHECK: blci %rdi, %rax
|
|
|
|
0x8f 0xe9 0xf8 0x02 0xf7
|
|
|
|
|
|
|
|
# CHECK: vpcmov %xmm1, %xmm2, %xmm3, %xmm4
|
|
|
|
0x8f 0xe8 0x60 0xa2 0xe2 0x10
|
|
|
|
|
|
|
|
# CHECK: vpcmov (%rax), %xmm2, %xmm3, %xmm4
|
|
|
|
0x8f 0xe8 0xe0 0xa2 0x20 0x20
|
|
|
|
|
|
|
|
# CHECK: vpcmov %xmm1, (%rax), %xmm3, %xmm4
|
|
|
|
0x8f 0xe8 0x60 0xa2 0x20 0x10
|
|
|
|
|
|
|
|
# CHECK: vpcmov %ymm1, %ymm2, %ymm3, %ymm4
|
|
|
|
0x8f 0xe8 0x64 0xa2 0xe2 0x10
|
|
|
|
|
|
|
|
# CHECK: vpcmov (%rax), %ymm2, %ymm3, %ymm4
|
|
|
|
0x8f 0xe8 0xe4 0xa2 0x20 0x20
|
|
|
|
|
|
|
|
# CHECK: vpcmov %ymm1, (%rax), %ymm3, %ymm4
|
|
|
|
0x8f 0xe8 0x64 0xa2 0x20 0x10
|
|
|
|
|
|
|
|
# CHECK: vpcomb $55, %xmm6, %xmm4, %xmm2
|
|
|
|
0x8f 0xe8 0x58 0xcc 0xd6 0x37
|
|
|
|
|
|
|
|
# CHECK: vpcomb $56, 8(%rax), %xmm3, %xmm2
|
|
|
|
0x8f 0xe8 0x60 0xcc 0x50 0x08 0x38
|
|
|
|
|
|
|
|
# CHECK: vpmacsdd %xmm4, %xmm6, %xmm4, %xmm2
|
|
|
|
0x8f 0xe8 0x58 0x9e 0xd6 0x40
|
|
|
|
# CHECK: vpmacsdd %xmm4, (%rax,%rcx), %xmm4, %xmm3
|
|
|
|
0x8f 0xe8 0x58 0x9e 0x1c 0x08 0x40
|
|
|
|
|
|
|
|
# CHECK: vprotd (%rax), %xmm0, %xmm3
|
|
|
|
0x8f 0xe9 0xf8 0x92 0x18
|
|
|
|
# CHECK: vprotd %xmm2, (%rax,%rcx), %xmm4
|
|
|
|
0x8f 0xe9 0x68 0x92 0x24 0x08
|
|
|
|
# CHECK: vprotd %xmm5, %xmm3, %xmm2
|
|
|
|
0x8f 0xe9 0x50 0x92 0xd3
|
|
|
|
# CHECK: vprotd $43, (%rcx), %xmm6
|
|
|
|
0x8f 0xe8 0x78 0xc2 0x31 0x2b
|
|
|
|
# CHECK: vprotd $44, (%rax,%rcx), %xmm7
|
|
|
|
0x8f 0xe8 0x78 0xc2 0x3c 0x08 0x2c
|
|
|
|
# CHECK: vprotd $45, %xmm4, %xmm4
|
|
|
|
0x8f 0xe8 0x78 0xc2 0xe4 0x2d
|
|
|
|
|
|
|
|
# CHECK: vfrczps 4(%rax), %xmm3
|
|
|
|
0x8f 0xe9 0x78 0x80 0x58 0x04
|
|
|
|
# CHECK: vfrczps %xmm6, %xmm5
|
|
|
|
0x8f 0xe9 0x78 0x80 0xee
|
|
|
|
# CHECK: vfrczps (%rcx), %xmm1
|
|
|
|
0x8f 0xe9 0x78 0x80 0x09
|
|
|
|
# CHECK: vfrczps %ymm2, %ymm4
|
|
|
|
0x8f 0xe9 0x7c 0x80 0xe2
|