mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
Thumb2: RSB source register should be rGRP not GPRnopc.
t2RSB defined the operand correctly, but tRSBS didn't. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4c8f909cdf
commit
b551f0cc78
@ -668,16 +668,16 @@ let hasPostISelHook = 1, Defs = [CPSR] in {
|
||||
multiclass T2I_rbin_s_is<PatFrag opnode> {
|
||||
// shifted imm
|
||||
def ri : t2PseudoInst<(outs rGPR:$Rd),
|
||||
(ins GPRnopc:$Rn, t2_so_imm:$imm, pred:$p),
|
||||
(ins rGPR:$Rn, t2_so_imm:$imm, pred:$p),
|
||||
4, IIC_iALUi,
|
||||
[(set rGPR:$Rd, CPSR, (opnode t2_so_imm:$imm,
|
||||
GPRnopc:$Rn))]>;
|
||||
rGPR:$Rn))]>;
|
||||
// shifted register
|
||||
def rs : t2PseudoInst<(outs rGPR:$Rd),
|
||||
(ins GPRnopc:$Rn, t2_so_reg:$ShiftedRm, pred:$p),
|
||||
(ins rGPR:$Rn, t2_so_reg:$ShiftedRm, pred:$p),
|
||||
4, IIC_iALUsi,
|
||||
[(set rGPR:$Rd, CPSR, (opnode t2_so_reg:$ShiftedRm,
|
||||
GPRnopc:$Rn))]>;
|
||||
rGPR:$Rn))]>;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user