mirror of
https://github.com/yuzu-emu/sirit.git
synced 2024-11-25 17:05:42 +01:00
Add OpFDiv
This commit is contained in:
parent
27a0b4f17e
commit
c502cfd4b2
@ -292,6 +292,9 @@ class Module {
|
||||
/// Unsigned-integer division of Operand 1 divided by Operand 2.
|
||||
Id OpUDiv(Id result_type, Id operand_1, Id operand_2);
|
||||
|
||||
/// Floating-point division of Operand 1 divided by Operand 2.
|
||||
Id OpFDiv(Id result_type, Id operand_1, Id operand_2);
|
||||
|
||||
/// Integer addition of Operand 1 and Operand 2.
|
||||
Id OpIAdd(Id result_type, Id operand_1, Id operand_2);
|
||||
|
||||
|
@ -29,6 +29,7 @@ namespace Sirit {
|
||||
DEFINE_UNARY(OpFNegate, spv::Op::OpFNegate);
|
||||
|
||||
DEFINE_BINARY(OpUDiv, spv::Op::OpUDiv)
|
||||
DEFINE_BINARY(OpFDiv, spv::Op::OpFDiv)
|
||||
DEFINE_BINARY(OpIAdd, spv::Op::OpIAdd)
|
||||
|
||||
} // namespace Sirit
|
Loading…
Reference in New Issue
Block a user