mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
adc and sbb need an incoming flag to ensure it reads the carry flag
from add / sub. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25444 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8312ab54cf
commit
41b6dc8dbe
@ -63,8 +63,9 @@ def X86addflag : SDNode<"X86ISD::ADD_FLAG", SDTIntBinOp ,
|
||||
def X86subflag : SDNode<"X86ISD::SUB_FLAG", SDTIntBinOp,
|
||||
[SDNPOutFlag]>;
|
||||
def X86adc : SDNode<"X86ISD::ADC" , SDTIntBinOp ,
|
||||
[SDNPCommutative, SDNPAssociative]>;
|
||||
def X86sbb : SDNode<"X86ISD::SBB" , SDTIntBinOp>;
|
||||
[SDNPCommutative, SDNPAssociative, SDNPInFlag]>;
|
||||
def X86sbb : SDNode<"X86ISD::SBB" , SDTIntBinOp,
|
||||
[SDNPInFlag]>;
|
||||
|
||||
def X86shld : SDNode<"X86ISD::SHLD", SDTIntShiftDOp>;
|
||||
def X86shrd : SDNode<"X86ISD::SHRD", SDTIntShiftDOp>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user