mirror of
https://github.com/shadps4-emu/sirit.git
synced 2024-11-23 03:10:02 +00:00
Added OpUMulExtended
and OpSMulExtended
This commit is contained in:
parent
fc65ebb5b5
commit
505cc66a2b
@ -672,6 +672,12 @@ public:
|
||||
/// Floating-point multiplication of Operand 1 and Operand 2.
|
||||
Id OpFMul(Id result_type, Id operand_1, Id operand_2);
|
||||
|
||||
/// Full signed interger multiplication of Operand 1 and Operand 2.
|
||||
Id OpSMulExtended(Id result_type, Id operand_1, Id operand_2);
|
||||
|
||||
/// Full unsigned interger multiplication of Operand 1 and Operand 2.
|
||||
Id OpUMulExtended(Id result_type, Id operand_1, Id operand_2);
|
||||
|
||||
/// Unsigned-integer division of Operand 1 divided by Operand 2.
|
||||
Id OpUDiv(Id result_type, Id operand_1, Id operand_2);
|
||||
|
||||
|
@ -30,6 +30,8 @@ DEFINE_BINARY(OpFAdd, spv::Op::OpFAdd)
|
||||
DEFINE_BINARY(OpISub, spv::Op::OpISub)
|
||||
DEFINE_BINARY(OpFSub, spv::Op::OpFSub)
|
||||
DEFINE_BINARY(OpIMul, spv::Op::OpIMul)
|
||||
DEFINE_BINARY(OpUMulExtended, spv::Op::OpUMulExtended)
|
||||
DEFINE_BINARY(OpSMulExtended, spv::Op::OpSMulExtended)
|
||||
DEFINE_BINARY(OpFMul, spv::Op::OpFMul)
|
||||
DEFINE_BINARY(OpUDiv, spv::Op::OpUDiv)
|
||||
DEFINE_BINARY(OpSDiv, spv::Op::OpSDiv)
|
||||
|
Loading…
Reference in New Issue
Block a user