// Copyright Advanced Micro Devices, Inc., or its affiliates. // SPDX-License-Identifier: MIT #include namespace rocRoller { Instruction ScalarAddInt32(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr lhs, Register::ValuePtr rhs, std::string comment = ""); Instruction ScalarAddUInt32(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr lhs, Register::ValuePtr rhs, std::string comment = ""); Instruction ScalarAddUInt32CarryInOut(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr lhs, Register::ValuePtr rhs, std::string comment = ""); Instruction VectorAddUInt32(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr lhs, Register::ValuePtr rhs, std::string comment = ""); Instruction VectorAddUInt32CarryOut(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr lhs, Register::ValuePtr rhs, std::string comment = ""); Instruction VectorAddUInt32CarryOut(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr carry, Register::ValuePtr lhs, Register::ValuePtr rhs, std::string comment = ""); Instruction VectorAddUInt32CarryInOut(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr carryOut, Register::ValuePtr carryIn, Register::ValuePtr lhs, Register::ValuePtr rhs, std::string comment = ""); Instruction VectorAddUInt32CarryInOut(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr lhs, Register::ValuePtr rhs, std::string comment = ""); Instruction VectorAdd3UInt32(ContextPtr ctx, Register::ValuePtr dest, Register::ValuePtr lhs, Register::ValuePtr rhs1, Register::ValuePtr rhs2, std::string comment = ""); }