mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 02:33:53 +00:00
T2TwoRegImm isn't right for t2SUBrSPi12. Use T2I instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121311 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
37474e6d68
commit
7685ff84ad
@ -1193,7 +1193,7 @@ def t2SUBrSPi : T2sTwoRegImm<(outs GPR:$Rd), (ins GPR:$sp, t2_so_imm:$imm),
|
|||||||
let Inst{19-16} = 0b1101; // Rn = sp
|
let Inst{19-16} = 0b1101; // Rn = sp
|
||||||
let Inst{15} = 0;
|
let Inst{15} = 0;
|
||||||
}
|
}
|
||||||
def t2SUBrSPi12 : T2TwoRegImm<(outs GPR:$Rd), (ins GPR:$sp, imm0_4095:$imm),
|
def t2SUBrSPi12 : T2I<(outs GPR:$Rd), (ins GPR:$sp, imm0_4095:$imm),
|
||||||
IIC_iALUi, "subw", "\t$Rd, $sp, $imm", []> {
|
IIC_iALUi, "subw", "\t$Rd, $sp, $imm", []> {
|
||||||
bits<4> Rd;
|
bits<4> Rd;
|
||||||
bits<12> imm;
|
bits<12> imm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user