webassemblyjs icon indicating copy to clipboard operation
webassemblyjs copied to clipboard

Implement `convert` instructions

Open xtuc opened this issue 7 years ago • 0 comments

Explicit conversion:

  • [ ] f32.convert_s
  • [ ] f32.convert_u
  • [ ] f32.convert_s
  • [ ] f32.convert_u
  • [ ] f64.convert_s
  • [ ] f64.convert_u
  • [ ] f64.convert_s
  • [ ] f64.convert_u

Implicit conversion:

  • [ ] f32.demote
  • [ ] f64.promote

See specification here: https://webassembly.github.io/spec/core/exec/numerics.html#op-convert-s

xtuc avatar Jan 06 '18 17:01 xtuc