From 1043e173bcb2b9b7947cd2c5f253075e6415df1c Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 12 Aug 2011 19:41:29 +0000 Subject: [PATCH] Specify fixed bit in the LDRBT encoding, which allows us to distinguish it from certain USAT16 encodings. llvm-svn: 137494 --- llvm/lib/Target/ARM/ARMInstrInfo.td | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index 2a029ddb200a..44acbdc70540 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"; }