summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp
index 4f5b03d7801..c3330294d76 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp
@@ -800,11 +800,12 @@ void RecognizableInstr::emitDecodePath(DisassemblerTables &tables) const {
currentOpcode < opcodeToSet + 8;
++currentOpcode)
tables.setTableFields(opcodeType, insnContext(), currentOpcode, *filter,
- UID, Is32Bit, IgnoresVEX_L || EncodeRC,
+ UID, Is32Bit, OpPrefix == 0,
+ IgnoresVEX_L || EncodeRC,
VEX_WPrefix == X86Local::VEX_WIG, AddressSize);
} else {
tables.setTableFields(opcodeType, insnContext(), opcodeToSet, *filter, UID,
- Is32Bit, IgnoresVEX_L || EncodeRC,
+ Is32Bit, OpPrefix == 0, IgnoresVEX_L || EncodeRC,
VEX_WPrefix == X86Local::VEX_WIG, AddressSize);
}
OpenPOWER on IntegriCloud