summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-01-04 05:09:27 +0000
committerCraig Topper <craig.topper@gmail.com>2014-01-04 05:09:27 +0000
commit1da8582322c3af21c9d2bdf66909c1029e70782e (patch)
treec2ef64e4bc3333e20bfcbb2ed364752a8ff0d65d /llvm/utils/TableGen/X86RecognizableInstr.cpp
parenteb68f6a9de3c782e93321e48422b4ac2b4f9a6be (diff)
downloadbcm5719-llvm-1da8582322c3af21c9d2bdf66909c1029e70782e.tar.gz
bcm5719-llvm-1da8582322c3af21c9d2bdf66909c1029e70782e.zip
Remove JMP64pcrel32 (jmpq ). There are no tests for it. I'm pretty sure it won't be emitted correctly since it was set to NoImm. And I can't prove that gas accepts 'jmpq' with an immediate either. Remove the special case for it from the disassembler table generator.
llvm-svn: 198475
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp
index 1198e5a9779..2fa5a127a23 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp
@@ -275,8 +275,7 @@ RecognizableInstr::RecognizableInstr(DisassemblerTables &tables,
}
}
// FIXME: These instructions aren't marked as 64-bit in any way
- Is64Bit |= Rec->getName() == "JMP64pcrel32" ||
- Rec->getName().find("MOV64") != Name.npos ||
+ Is64Bit |= Rec->getName().find("MOV64") != Name.npos ||
Rec->getName().find("PUSH64") != Name.npos ||
Rec->getName().find("POP64") != Name.npos;
OpenPOWER on IntegriCloud