diff options
author | Owen Anderson <resistor@mac.com> | 2011-08-12 19:41:29 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-08-12 19:41:29 +0000 |
commit | 6368119c251a0862b48fbafcd4d00430a7f6ea02 (patch) | |
tree | 9241169944705483184dde4de6c69278d27fba9f | |
parent | 92a36e65839e28f9a559f46c994b9532b2b9667f (diff) |
Specify fixed bit in the LDRBT encoding, which allows us to distinguish it from certain USAT16 encodings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137494 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 2a029ddb20..44acbdc705 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/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"; } |