WebAssembly / simd

Branch of the spec repo scoped to discussion of SIMD in WebAssembly
Other
530 stars 43 forks source link

Implement floating-point rounding in interpreter #344

Closed ngzhian closed 4 years ago

ngzhian commented 4 years ago

Implement f32x4 and f64x2 ceil, floor, trunc, nearest. They have the same behavior as the f32 and f64 instructions.

Also implemented to encoding and decoding.

Created new tests and test generation scripts for these new instructions.