mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user