summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2011-08-29 22:06:28 +0000
committerKevin Enderby <enderby@apple.com>2011-08-29 22:06:28 +0000
commitfff64ca9cfdcb8e2fd2e124fcda1c1053523afc6 (patch)
treece63109943866721dcc45e24643cde0515118e37 /utils
parentf3704769bb2e8170769840528869ae5696545481 (diff)
downloadllvm-fff64ca9cfdcb8e2fd2e124fcda1c1053523afc6.tar.gz
llvm-fff64ca9cfdcb8e2fd2e124fcda1c1053523afc6.tar.bz2
llvm-fff64ca9cfdcb8e2fd2e124fcda1c1053523afc6.tar.xz
Fix the disassembly of the X86 crc32 instruction. Bug 10702 and rdar://8795217
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138771 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/X86RecognizableInstr.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp
index 3071d8e274..2604d42090 100644
--- a/utils/TableGen/X86RecognizableInstr.cpp
+++ b/utils/TableGen/X86RecognizableInstr.cpp
@@ -68,7 +68,7 @@ namespace X86Local {
DC = 7, DD = 8, DE = 9, DF = 10,
XD = 11, XS = 12,
T8 = 13, P_TA = 14,
- A6 = 15, A7 = 16
+ A6 = 15, A7 = 16, TF = 17
};
}
@@ -257,7 +257,7 @@ RecognizableInstr::RecognizableInstr(DisassemblerTables &tables,
}
void RecognizableInstr::processInstr(DisassemblerTables &tables,
- const CodeGenInstruction &insn,
+ const CodeGenInstruction &insn,
InstrUID uid)
{
// Ignore "asm parser only" instructions.
@@ -805,6 +805,7 @@ void RecognizableInstr::emitDecodePath(DisassemblerTables &tables) const {
opcodeToSet = Opcode;
break;
case X86Local::T8:
+ case X86Local::TF:
opcodeType = THREEBYTE_38;
if (needsModRMForDecode(Form))
filter = new ModFilter(isRegFormat(Form));