summaryrefslogtreecommitdiff
path: root/utils
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
commit030ceadd69220af926d83857a353e82a2891c380 (patch)
tree2897c6f91a224f66be3f9b0a538c2c7868945a87 /utils
parent15b3169062dc90a7ce263c0fec98511c957c1083 (diff)
downloadllvm-030ceadd69220af926d83857a353e82a2891c380.tar.gz
llvm-030ceadd69220af926d83857a353e82a2891c380.tar.bz2
llvm-030ceadd69220af926d83857a353e82a2891c380.tar.xz
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/X86RecognizableInstr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp
index 1198e5a977..2fa5a127a2 100644
--- a/utils/TableGen/X86RecognizableInstr.cpp
+++ b/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;