summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-08-12 19:41:29 +0000
committerOwen Anderson <resistor@mac.com>2011-08-12 19:41:29 +0000
commit1043e173bcb2b9b7947cd2c5f253075e6415df1c (patch)
treee989eb871d34eae827c13e6c34c74f38e1d900aa /llvm/lib
parent68eb4bb4214682936d8798586a2ffbb368299e62 (diff)
downloadbcm5719-llvm-1043e173bcb2b9b7947cd2c5f253075e6415df1c.tar.gz
bcm5719-llvm-1043e173bcb2b9b7947cd2c5f253075e6415df1c.zip
Specify fixed bit in the LDRBT encoding, which allows us to distinguish it from certain USAT16 encodings.
llvm-svn: 137494
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td
index 2a029ddb200..44acbdc7054 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.td
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.td
@@ -2164,7 +2164,9 @@ def LDRBT_POST_REG : AI2ldstidx<1, 1, 0, (outs GPR:$Rt, GPR:$Rn_wb),
let Inst{23} = offset{12};
let Inst{21} = 1; // overwrite
let Inst{19-16} = addr;
- let Inst{11-0} = offset{11-0};
+ let Inst{11-5} = offset{11-5};
+ let Inst{4} = 0;
+ let Inst{3-0} = offset{3-0};
let DecoderMethod = "DecodeAddrMode2IdxInstruction";
}
OpenPOWER on IntegriCloud