llvm.org GIT mirror llvm / 983b09a
[X86][Disassembler] Ignore EVEX.X extension of modrm.rm to 5-bits when modrm.rm encodes a k-register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333727 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 2 years ago
2 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
14781478 case TYPE_XMM: \
14791479 return prefix##_XMM0 + index; \
14801480 case TYPE_VK: \
1481 index &= 0xf; \
14811482 if (index > 7) \
14821483 *valid = 0; \
14831484 return prefix##_K0 + index; \
580580 #CHECK: vaddps (%rax), %xmm16, %xmm1
581581 0x62 0xb1 0x7c 0x00 0x58 0x08
582582
583 # Make sure we ignore EVEX.X when modrm.rm encodes a GPR.
583584 #CHECK: vcvtusi2sdq %rax, %xmm1, %xmm1
584585 0x62 0xb1 0xf7 0x08 0x7b 0xc8
586
587 # Make sure we ignore EVEX.X when modrm.rm encodes a k-register.
588 #CHECK: vpmovm2b %k0, %xmm0
589 0x62,0xb2,0x7e,0x08,0x28,0xc0