mirror of
https://github.com/fluencelabs/interface-types
synced 2024-12-04 15:20:20 +00:00
feat(interface-types) Implement s64-to-i32x
and u64-to-i32x
Actually, `s64-to-i32` and `u64-to-i32` already error when overflow happens.
This commit is contained in:
parent
c617b1fa16
commit
db99d2cabd
@ -233,10 +233,8 @@ where
|
||||
Instruction::U16ToI32 => instructions::u16_to_i32(),
|
||||
Instruction::S32ToI32 => instructions::s32_to_i32(),
|
||||
Instruction::U32ToI32 => instructions::u32_to_i32(),
|
||||
Instruction::S64ToI32 => instructions::s64_to_i32(),
|
||||
//Instruction::S64ToI32X
|
||||
Instruction::U64ToI32 => instructions::u64_to_i32(),
|
||||
//Instruction::U64ToI32X
|
||||
Instruction::S64ToI32 | Instruction::S64ToI32X => instructions::s64_to_i32(),
|
||||
Instruction::U64ToI32 | Instruction::U64ToI32X => instructions::u64_to_i32(),
|
||||
Instruction::S8ToI64 => instructions::s8_to_i64(),
|
||||
Instruction::U8ToI64 => instructions::u8_to_i64(),
|
||||
Instruction::S16ToI64 => instructions::s16_to_i64(),
|
||||
|
Loading…
Reference in New Issue
Block a user