aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-07-07 23:45:10 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-07-07 23:45:10 +0000
commit0fc0ade0951f8c0e3adb8899c5878d225e010b97 (patch)
treea79790b19df36978d830b26409525c6c3c258cce
parentf81b57694b3c34a79b1464ffd21e6768c8d22662 (diff)
downloadexternal_llvm-0fc0ade0951f8c0e3adb8899c5878d225e010b97.zip
external_llvm-0fc0ade0951f8c0e3adb8899c5878d225e010b97.tar.gz
external_llvm-0fc0ade0951f8c0e3adb8899c5878d225e010b97.tar.bz2
Also statically set bit 25 for BR_JT instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74974 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 5daddb2..6d812d6 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -697,7 +697,7 @@ let isBranch = 1, isTerminator = 1, Itinerary = IIC_Br in {
[(ARMbrjt GPR:$target, tjumptable:$jt, imm:$id)]> {
let Inst{20} = 0; // S Bit
let Inst{24-21} = 0b1101;
- let Inst{27-26} = {0,0};
+ let Inst{27-25} = 0b000;
}
def BR_JTm : JTI<(outs),
(ins addrmode2:$target, jtblock_operand:$jt, i32imm:$id),
@@ -708,7 +708,7 @@ let isBranch = 1, isTerminator = 1, Itinerary = IIC_Br in {
let Inst{21} = 0; // W bit
let Inst{22} = 0; // B bit
let Inst{24} = 1; // P bit
- let Inst{27-26} = {0,1};
+ let Inst{27-25} = 0b011;
}
def BR_JTadd : JTI<(outs),
(ins GPR:$target, GPR:$idx, jtblock_operand:$jt, i32imm:$id),
@@ -717,7 +717,7 @@ let isBranch = 1, isTerminator = 1, Itinerary = IIC_Br in {
imm:$id)]> {
let Inst{20} = 0; // S bit
let Inst{24-21} = 0b0100;
- let Inst{27-26} = {0,0};
+ let Inst{27-25} = 0b000;
}
} // isNotDuplicable = 1, isIndirectBranch = 1
} // isBarrier = 1