Module core::core_arch::wasm32::relaxed_simd
source · 🔬This is a nightly-only experimental API. (
stdsimd
#48556)Available on
target_family="wasm"
only.Functions
- Computes
a * b + c
with either one rounding or two roundings. - A relaxed version of
f32x4_max
which is eitherf32x4_max
orf32x4_pmax
. - A relaxed version of
f32x4_min
which is eitherf32x4_min
orf32x4_pmin
. - Computes
-a * b + c
with either one rounding or two roundings. - Computes
a * b + c
with either one rounding or two roundings. - A relaxed version of
f64x2_max
which is eitherf64x2_max
orf64x2_pmax
. - A relaxed version of
f64x2_min
which is eitherf64x2_min
orf64x2_pmin
. - Computes
-a * b + c
with either one rounding or two roundings. - A relaxed version of
v128_bitselect
where this either behaves the same asv128_bitselect
or the high bit of each lanem
is inspected and the corresponding lane ofa
is chosen if the bit is 1 or the lane ofb
is chosen if it’s zero. - A relaxed version of
i8x16_swizzle(a, s)
which selects lanes froma
using indices ins
. - A relaxed dot-product instruction.
- A relaxed version of
v128_bitselect
where this either behaves the same asv128_bitselect
or the high bit of each lanem
is inspected and the corresponding lane ofa
is chosen if the bit is 1 or the lane ofb
is chosen if it’s zero. - A relaxed version of
i16x8_relaxed_q15mulr
where if both lanes arei16::MIN
then the result is eitheri16::MIN
ori16::MAX
. - Similar to
i16x8_relaxed_dot_i8x16_i7x16
except that the intermediatei16x8
result is fed intoi32x4_extadd_pairwise_i16x8
followed byi32x4_add
to add the valuec
to the result. - A relaxed version of
v128_bitselect
where this either behaves the same asv128_bitselect
or the high bit of each lanem
is inspected and the corresponding lane ofa
is chosen if the bit is 1 or the lane ofb
is chosen if it’s zero. - A relaxed version of
i32x4_trunc_sat_f32x4(a)
converts thef32
lanes ofa
to signed 32-bit integers. - A relaxed version of
i32x4_trunc_sat_f64x2_zero(a)
converts thef64
lanes ofa
to signed 32-bit integers and the upper two lanes are zero. - A relaxed version of
v128_bitselect
where this either behaves the same asv128_bitselect
or the high bit of each lanem
is inspected and the corresponding lane ofa
is chosen if the bit is 1 or the lane ofb
is chosen if it’s zero. - A relaxed version of
u32x4_trunc_sat_f32x4(a)
converts thef32
lanes ofa
to unsigned 32-bit integers. - A relaxed version of
u32x4_trunc_sat_f64x2_zero(a)
converts thef64
lanes ofa
to unsigned 32-bit integers and the upper two lanes are zero.