mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Similar to r85280, do not clear the "S" bit for RSBri and RSBrs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bdf45cbe15
commit
90d7dcfdd9
@ -1099,7 +1099,6 @@ defm SBC : AI1_adde_sube_irs<0b0110, "sbc",
|
||||
def RSBri : AsI1<0b0011, (outs GPR:$dst), (ins GPR:$a, so_imm:$b), DPFrm,
|
||||
IIC_iALUi, "rsb", "\t$dst, $a, $b",
|
||||
[(set GPR:$dst, (sub so_imm:$b, GPR:$a))]> {
|
||||
let Inst{20} = 0;
|
||||
let Inst{25} = 1;
|
||||
}
|
||||
|
||||
@ -1108,7 +1107,6 @@ def RSBrs : AsI1<0b0011, (outs GPR:$dst), (ins GPR:$a, so_reg:$b), DPSoRegFrm,
|
||||
[(set GPR:$dst, (sub so_reg:$b, GPR:$a))]> {
|
||||
let Inst{4} = 1;
|
||||
let Inst{7} = 0;
|
||||
let Inst{20} = 0;
|
||||
let Inst{25} = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user