mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
[Disasm][AVX512] Implement decoding of top bit for non-destructive reg fields
V' bit in the P2 byte of the EVEX prefix provides the top bit of the NDD and NDS register fields. This was simply not used in the decoder until now. Fixes <rdar://problem/17402661> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211565 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1620,7 +1620,8 @@ static int readVVVV(struct InternalInstruction* insn) {
|
||||
|
||||
int vvvv;
|
||||
if (insn->vectorExtensionType == TYPE_EVEX)
|
||||
vvvv = vvvvFromEVEX3of4(insn->vectorExtensionPrefix[2]);
|
||||
vvvv = (v2FromEVEX4of4(insn->vectorExtensionPrefix[3]) << 4 |
|
||||
vvvvFromEVEX3of4(insn->vectorExtensionPrefix[2]));
|
||||
else if (insn->vectorExtensionType == TYPE_VEX_3B)
|
||||
vvvv = vvvvFromVEX3of3(insn->vectorExtensionPrefix[2]);
|
||||
else if (insn->vectorExtensionType == TYPE_VEX_2B)
|
||||
|
Reference in New Issue
Block a user