aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2009-07-22 01:05:20 +0000
committerSean Callanan <scallanan@apple.com>2009-07-22 01:05:20 +0000
commitc0608151eda404a3c5609ec55e8f18fdfb6c65bc (patch)
tree6a9d61693359d99b64b70ef17d121ba0d3003399
parent8523043feee8ebc0beca32a3bb75eefabfa8df81 (diff)
downloadexternal_llvm-c0608151eda404a3c5609ec55e8f18fdfb6c65bc.zip
external_llvm-c0608151eda404a3c5609ec55e8f18fdfb6c65bc.tar.gz
external_llvm-c0608151eda404a3c5609ec55e8f18fdfb6c65bc.tar.bz2
Added the unconditional JMP with an 8-bit relocation for the
assembler / disassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76712 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86InstrInfo.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index e83f6aa..eaafe0a 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -518,8 +518,10 @@ let isBranch = 1, isTerminator = 1 in
class IBr<bits<8> opcode, dag ins, string asm, list<dag> pattern> :
I<opcode, RawFrm, (outs), ins, asm, pattern>;
-let isBranch = 1, isBarrier = 1 in
+let isBranch = 1, isBarrier = 1 in {
def JMP : IBr<0xE9, (ins brtarget:$dst), "jmp\t$dst", [(br bb:$dst)]>;
+ def JMP8 : IBr<0xEB, (ins brtarget8:$dst), "jmp\t$dst", []>;
+}
// Indirect branches
let isBranch = 1, isTerminator = 1, isBarrier = 1, isIndirectBranch = 1 in {