The proposal in #1 doesn't include vectorized versions of the floating-point round-to-integer instructions: - `f32x4.ceil(x: v128) -> v128` - `f32x4.floor(x: v128) -> v128` - `f32x4.trunc(x: v128) -> v128` - `f32x4.nearest(x: v128) -> v128` - `f64x2.ceil(x: v128) -> v128` - `f64x2.floor(x: v128) -> v128` - `f64x2.trunc(x: v128) -> v128` - `f64x2.nearest(x: v128) -> v128` It seems these instructions would be just as useful in vectorized floating-point code as they are in scalar code. Are these instructions widely available in SIMD instruction sets we care about?
The proposal in #1 doesn't include vectorized versions of the floating-point round-to-integer instructions:
f32x4.ceil(x: v128) -> v128f32x4.floor(x: v128) -> v128f32x4.trunc(x: v128) -> v128f32x4.nearest(x: v128) -> v128f64x2.ceil(x: v128) -> v128f64x2.floor(x: v128) -> v128f64x2.trunc(x: v128) -> v128f64x2.nearest(x: v128) -> v128It seems these instructions would be just as useful in vectorized floating-point code as they are in scalar code.
Are these instructions widely available in SIMD instruction sets we care about?