mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
R600/SI: Match adde/sube to S_ADDC_U32/S_SUBB_U32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195036 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f53b7841a1
commit
62f35fb926
@ -1142,10 +1142,12 @@ def S_SUB_I32 : SOP2_32 <0x00000003, "S_SUB_I32",
|
||||
|
||||
let Uses = [SCC] in { // Carry in comes from SCC
|
||||
let isCommutable = 1 in {
|
||||
def S_ADDC_U32 : SOP2_32 <0x00000004, "S_ADDC_U32", []>;
|
||||
def S_ADDC_U32 : SOP2_32 <0x00000004, "S_ADDC_U32",
|
||||
[(set i32:$dst, (adde (i32 SSrc_32:$src0), (i32 SSrc_32:$src1)))]>;
|
||||
} // End isCommutable = 1
|
||||
|
||||
def S_SUBB_U32 : SOP2_32 <0x00000005, "S_SUBB_U32", []>;
|
||||
def S_SUBB_U32 : SOP2_32 <0x00000005, "S_SUBB_U32",
|
||||
[(set i32:$dst, (sube (i32 SSrc_32:$src0), (i32 SSrc_32:$src1)))]>;
|
||||
} // End Uses = [SCC]
|
||||
} // End Defs = [SCC]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user