Merge remote-tracking branch 'origin/GP-2311_HasNoDescend'

This commit is contained in:
Ryan Kurtz 2023-09-21 07:23:52 -04:00
commit fdc96b5f7d
4 changed files with 78 additions and 26 deletions

View file

@ -1266,7 +1266,7 @@ Datatype *TypeOpIntSub::getOutputToken(const PcodeOp *op,CastStrategy *castStrat
TypeOpIntCarry::TypeOpIntCarry(TypeFactory *t)
: TypeOpFunc(t,CPUI_INT_CARRY,"CARRY",TYPE_BOOL,TYPE_UINT)
{
opflags = PcodeOp::binary;
opflags = PcodeOp::binary | PcodeOp::commutative;
addlflags = arithmetic_op;
behave = new OpBehaviorIntCarry();
}
@ -1282,7 +1282,7 @@ string TypeOpIntCarry::getOperatorName(const PcodeOp *op) const
TypeOpIntScarry::TypeOpIntScarry(TypeFactory *t)
: TypeOpFunc(t,CPUI_INT_SCARRY,"SCARRY",TYPE_BOOL,TYPE_INT)
{
opflags = PcodeOp::binary;
opflags = PcodeOp::binary | PcodeOp::commutative;
behave = new OpBehaviorIntScarry();
}