aWsm icon indicating copy to clipboard operation
aWsm copied to clipboard

Feature: Nontrapping Float-to-Int Conversions

Open bushidocodes opened this issue 3 years ago • 0 comments

  • i32.trunc_sat_f32_s
  • i32.trunc_sat_f32_u
  • i32.trunc_sat_f64_s
  • i32.trunc_sat_f64_u
  • i64.trunc_sat_f32_s
  • i64.trunc_sat_f32_u
  • i64.trunc_sat_f64_s
  • i64.trunc_sat_f64_u

Also need to verify that the alternative conversion instructions trap as expected

Reference: https://github.com/WebAssembly/nontrapping-float-to-int-conversions/blob/master/proposals/nontrapping-float-to-int-conversion/Overview.md

bushidocodes avatar Feb 17 '22 17:02 bushidocodes