VEX_PREFIX_66 doesn't need to set the hasOpSize flag since VEX instructions don't use the size fields it controls.

llvm-svn: 199470
This commit is contained in:
Craig Topper 2014-01-17 07:11:45 +00:00
parent 4ec59174fd
commit 5a44496988
1 changed files with 0 additions and 11 deletions

View File

@ -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]);