X86: Mark JMP{32,64}[mr] as requires 32-bit/64-bit mode. They are the same
authorDaniel Dunbar <daniel@zuster.org>
Mon, 19 Jul 2010 20:44:16 +0000 (20:44 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 19 Jul 2010 20:44:16 +0000 (20:44 +0000)
commit77e2dd7bb2bb5f28d389ba246d815cd9848ee53b
treeb16b34278967fc4a46e228ebc66e66a7abe7d4f9
parent519f179fa7c559629780140cfa356298f438e1e0
X86: Mark JMP{32,64}[mr] as requires 32-bit/64-bit mode. They are the same
instruction, we only want to allow the one for the current subtarget.
 - This also fixes suffix matching for jmp instructions, because it eliminates
   the ambiguity between 'jmpl' and 'jmpq'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108746 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/MC/AsmParser/X86/x86_32-new-encoder.s
test/MC/AsmParser/X86/x86_64-new-encoder.s