mirror of
https://github.com/yuzu-emu/sirit.git
synced 2024-11-25 19:55:42 +01:00
arithmetic: Add IAddCarry
This commit is contained in:
parent
a712959f1e
commit
414fc4dbd2
@ -596,6 +596,9 @@ public:
|
|||||||
/// Floating-point reminder operation of Operand 1 modulo Operand 2.
|
/// Floating-point reminder operation of Operand 1 modulo Operand 2.
|
||||||
Id OpFRem(Id result_type, Id operand_1, Id operand_2);
|
Id OpFRem(Id result_type, Id operand_1, Id operand_2);
|
||||||
|
|
||||||
|
/// Result is the unsigned integer addition of Operand 1 and Operand 2, including its carry.
|
||||||
|
Id OpIAddCarry(Id result_type, Id operand_1, Id operand_2);
|
||||||
|
|
||||||
// Extensions
|
// Extensions
|
||||||
|
|
||||||
/// Execute an instruction in an imported set of extended instructions.
|
/// Execute an instruction in an imported set of extended instructions.
|
||||||
|
@ -52,5 +52,6 @@ DEFINE_BINARY(OpSMod, spv::Op::OpSMod)
|
|||||||
DEFINE_BINARY(OpFMod, spv::Op::OpFMod)
|
DEFINE_BINARY(OpFMod, spv::Op::OpFMod)
|
||||||
DEFINE_BINARY(OpSRem, spv::Op::OpSRem)
|
DEFINE_BINARY(OpSRem, spv::Op::OpSRem)
|
||||||
DEFINE_BINARY(OpFRem, spv::Op::OpFRem)
|
DEFINE_BINARY(OpFRem, spv::Op::OpFRem)
|
||||||
|
DEFINE_BINARY(OpIAddCarry, spv::Op::OpIAddCarry)
|
||||||
|
|
||||||
} // namespace Sirit
|
} // namespace Sirit
|
||||||
|
Loading…
Reference in New Issue
Block a user