Remove JMP64pcrel32 (jmpq ). There are no tests for it. I'm pretty sure it won't...
authorCraig Topper <craig.topper@gmail.com>
Sat, 4 Jan 2014 05:09:27 +0000 (05:09 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 4 Jan 2014 05:09:27 +0000 (05:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198475 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrControl.td
utils/TableGen/X86RecognizableInstr.cpp

index 7d610e6ca45e4d6eb705624f440d9d718b252bd9..b9d5e803afe86308bf6cc3e62114956ebbda0abe 100644 (file)
@@ -52,11 +52,6 @@ let isBarrier = 1, isBranch = 1, isTerminator = 1, SchedRW = [WriteJump] in {
   let hasSideEffects = 0 in
   def JMP_1 : Ii8PCRel<0xEB, RawFrm, (outs), (ins brtarget8:$dst),
                        "jmp\t$dst", [], IIC_JMP_REL>;
-  // FIXME : Intel syntax for JMP64pcrel32 such that it is not ambiguious
-  // with JMP_1.
-  let hasSideEffects = 0 in
-  def JMP64pcrel32 : I<0xE9, RawFrm, (outs), (ins brtarget:$dst),
-                       "jmpq\t$dst", [], IIC_JMP_REL>;
 }
 
 // Conditional Branches.
index 1198e5a9779a111131d66a5f6bf122d814741730..2fa5a127a233b0efae0ef59986f5e98bdbf741e0 100644 (file)
@@ -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;