From: Jim Grosbach Date: Fri, 17 Dec 2010 18:42:56 +0000 (+0000) Subject: Add bits 31-28 to the Thumb2 encoding of TBB/TBH. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f0db261e97f9c199e584b2a73095a7e36f4eb3cc;p=oota-llvm.git Add bits 31-28 to the Thumb2 encoding of TBB/TBH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122076 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 9c01725788a..a7261ff567f 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -3003,7 +3003,7 @@ def t2TBB : T2I<(outs), (ins GPR:$Rn, GPR:$Rm), IIC_Br, "tbb", "\t[$Rn, $Rm]", []> { bits<4> Rn; bits<4> Rm; - let Inst{27-20} = 0b10001101; + let Inst{31-20} = 0b111010001101; let Inst{19-16} = Rn; let Inst{15-5} = 0b11110000000; let Inst{4} = 0; // B form @@ -3014,7 +3014,7 @@ def t2TBH : T2I<(outs), (ins GPR:$Rn, GPR:$Rm), IIC_Br, "tbh", "\t[$Rn, $Rm, lsl #1]", []> { bits<4> Rn; bits<4> Rm; - let Inst{27-20} = 0b10001101; + let Inst{31-20} = 0b111010001101; let Inst{19-16} = Rn; let Inst{15-5} = 0b11110000000; let Inst{4} = 1; // H form