mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-05-09 00:54:19 +02:00
Implement main conversion instructions
This commit is contained in:
@@ -321,6 +321,22 @@ class Module {
|
||||
|
||||
// Conversion
|
||||
|
||||
Id OpConvertFToU(Id result_type, Id operand);
|
||||
|
||||
Id OpConvertFToS(Id result_type, Id operand);
|
||||
|
||||
Id OpConvertSToF(Id result_type, Id operand);
|
||||
|
||||
Id OpConvertUToF(Id result_type, Id operand);
|
||||
|
||||
Id OpUConvert(Id result_type, Id operand);
|
||||
|
||||
Id OpSConvert(Id result_type, Id operand);
|
||||
|
||||
Id OpFConvert(Id result_type, Id operand);
|
||||
|
||||
Id OpQuantizeToF16(Id result_type, Id operand);
|
||||
|
||||
/// Bit pattern-preserving type conversion.
|
||||
Id OpBitcast(Id result_type, Id operand);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user