From: Owen Anderson Date: Fri, 12 Aug 2011 19:41:29 +0000 (+0000) Subject: Specify fixed bit in the LDRBT encoding, which allows us to distinguish it from certa... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6368119c251a0862b48fbafcd4d00430a7f6ea02;p=oota-llvm.git 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 --- diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 2a029ddb200..44acbdc7054 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"; }