mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-29 16:04:33 +00:00
VEX_PREFIX_66 doesn't need to set the hasOpSize flag since VEX instructions don't use the size fields it controls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad6662f202
commit
4b42f26ab5
@ -490,8 +490,6 @@ static int readPrefixes(struct InternalInstruction* insn) {
|
||||
| (bFromEVEX2of4(insn->vectorExtensionPrefix[1]) << 0);
|
||||
}
|
||||
|
||||
hasOpSize = (VEX_PREFIX_66 == ppFromEVEX3of4(insn->vectorExtensionPrefix[2]));
|
||||
|
||||
dbgprintf(insn, "Found EVEX prefix 0x%hhx 0x%hhx 0x%hhx 0x%hhx",
|
||||
insn->vectorExtensionPrefix[0], insn->vectorExtensionPrefix[1],
|
||||
insn->vectorExtensionPrefix[2], insn->vectorExtensionPrefix[3]);
|
||||
@ -529,15 +527,6 @@ static int readPrefixes(struct InternalInstruction* insn) {
|
||||
| (bFromVEX2of3(insn->vectorExtensionPrefix[1]) << 0);
|
||||
}
|
||||
|
||||
switch (ppFromVEX3of3(insn->vectorExtensionPrefix[2]))
|
||||
{
|
||||
default:
|
||||
break;
|
||||
case VEX_PREFIX_66:
|
||||
hasOpSize = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
dbgprintf(insn, "Found VEX prefix 0x%hhx 0x%hhx 0x%hhx",
|
||||
insn->vectorExtensionPrefix[0], insn->vectorExtensionPrefix[1],
|
||||
insn->vectorExtensionPrefix[2]);
|
||||
|
Loading…
Reference in New Issue
Block a user