mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
R600/SI: Specify SSrc operands
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195039 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f38be91a82
commit
15703e0a71
@ -1131,13 +1131,13 @@ let Defs = [SCC] in { // Carry out goes to SCC
|
||||
let isCommutable = 1 in {
|
||||
def S_ADD_U32 : SOP2_32 <0x00000000, "S_ADD_U32", []>;
|
||||
def S_ADD_I32 : SOP2_32 <0x00000002, "S_ADD_I32",
|
||||
[(set i32:$dst, (add i32:$src0, i32:$src1))]
|
||||
[(set i32:$dst, (add SSrc_32:$src0, SSrc_32:$src1))]
|
||||
>;
|
||||
} // End isCommutable = 1
|
||||
|
||||
def S_SUB_U32 : SOP2_32 <0x00000001, "S_SUB_U32", []>;
|
||||
def S_SUB_I32 : SOP2_32 <0x00000003, "S_SUB_I32",
|
||||
[(set i32:$dst, (sub i32:$src0, i32:$src1))]
|
||||
[(set i32:$dst, (sub SSrc_32:$src0, SSrc_32:$src1))]
|
||||
>;
|
||||
|
||||
let Uses = [SCC] in { // Carry in comes from SCC
|
||||
|
Loading…
x
Reference in New Issue
Block a user