summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-02-25 19:05:29 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-02-25 19:05:29 +0000
commit871e5b0926fc032f690c30ab559077ab863604f2 (patch)
tree7a77464433d4e0a7322d39a8f8b752aade9f2547 /llvm/lib
parenta2fbc944588bbeb329b9ab14b330defa82061586 (diff)
downloadbcm5719-llvm-871e5b0926fc032f690c30ab559077ab863604f2.tar.gz
bcm5719-llvm-871e5b0926fc032f690c30ab559077ab863604f2.zip
Added the 32-bit Thumb instructions (BXJ) for disassembly only.
llvm-svn: 97163
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb2.td11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index ab8ea989bc6..ec664abb569 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb2.td
@@ -1939,6 +1939,17 @@ def t2IT : Thumb2XI<(outs), (ins it_pred:$cc, it_mask:$mask),
let Inst{15-8} = 0b10111111;
}
+// Branch and Exchange Jazelle -- for disassembly only
+// Rm = Inst{19-16}
+def t2BXJ : T2I<(outs), (ins GPR:$func), NoItinerary, "bxj", "\t$func",
+ [/* For disassembly only; pattern left blank */]> {
+ let Inst{31-27} = 0b11110;
+ let Inst{26} = 0;
+ let Inst{25-20} = 0b111100;
+ let Inst{15-14} = 0b10;
+ let Inst{12} = 0;
+}
+
//===----------------------------------------------------------------------===//
// Non-Instruction Patterns
//
OpenPOWER on IntegriCloud