🔬This is a nightly-only experimental API. (
simd_wasm64 #90599)Available on 
target_family="wasm" only.Expand description
Platform-specific intrinsics for the wasm target family.
See the module documentation for more details.
Structs§
- v128Experimental 
- WASM-specific 128-bit wide SIMD vector type.
Functions§
- f32_ceil Experimental 
- Generates the f32.ceilinstruction, returning the smallest integer greater than or equal toa.
- f32_floor Experimental 
- Generates the f32.floorinstruction, returning the largest integer less than or equal toa.
- f32_nearest Experimental 
- Generates the f32.nearestinstruction, roundinging to the nearest integer. Rounds half-way cases to the number with an even least significant digit.
- f32_sqrt Experimental 
- Generates the f32.sqrtinstruction, returning the square root of the numbera.
- f32_trunc Experimental 
- Generates the f32.truncinstruction, roundinging to the nearest integer towards zero.
- f32x4âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- f32x4_abs âšExperimental simd128
- Calculates the absolute value of each lane of a 128-bit vector interpreted as four 32-bit floating point numbers.
- f32x4_add âšExperimental simd128
- Lane-wise addition of two 128-bit vectors interpreted as four 32-bit floating point numbers.
- f32x4_ceil âšExperimental simd128
- Lane-wise rounding to the nearest integral value not smaller than the input.
- f32x4_convert_ âši32x4 Experimental simd128
- Converts a 128-bit vector interpreted as four 32-bit signed integers into a 128-bit vector of four 32-bit floating point numbers.
- f32x4_convert_ âšu32x4 Experimental simd128
- Converts a 128-bit vector interpreted as four 32-bit unsigned integers into a 128-bit vector of four 32-bit floating point numbers.
- f32x4_demote_ âšf64x2_ zero Experimental simd128
- Conversion of the two double-precision floating point lanes to two lower single-precision lanes of the result. The two higher lanes of the result are initialized to zero. If the conversion result is not representable as a single-precision floating point number, it is rounded to the nearest-even representable number.
- f32x4_div âšExperimental simd128
- Lane-wise division of two 128-bit vectors interpreted as four 32-bit floating point numbers.
- f32x4_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
- f32x4_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 4 packed f32 numbers.
- f32x4_floor âšExperimental simd128
- Lane-wise rounding to the nearest integral value not greater than the input.
- f32x4_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
- f32x4_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
- f32x4_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
- f32x4_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
- f32x4_max âšExperimental simd128
- Calculates the lane-wise minimum of two 128-bit vectors interpreted as four 32-bit floating point numbers.
- f32x4_min âšExperimental simd128
- Calculates the lane-wise minimum of two 128-bit vectors interpreted as four 32-bit floating point numbers.
- f32x4_mul âšExperimental simd128
- Lane-wise multiplication of two 128-bit vectors interpreted as four 32-bit floating point numbers.
- f32x4_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
- f32x4_nearest âšExperimental simd128
- Lane-wise rounding to the nearest integral value; if two values are equally near, rounds to the even one.
- f32x4_neg âšExperimental simd128
- Negates each lane of a 128-bit vector interpreted as four 32-bit floating point numbers.
- f32x4_pmax âšExperimental simd128
- Lane-wise maximum value, defined as a < b ? b : a
- f32x4_pmin âšExperimental simd128
- Lane-wise minimum value, defined as b < a ? b : a
- f32x4_relaxed_ âšmadd Experimental relaxed-simd
- Computes a * b + cwith either one rounding or two roundings.
- f32x4_relaxed_ âšmax Experimental relaxed-simd
- A relaxed version of f32x4_maxwhich is eitherf32x4_maxorf32x4_pmax.
- f32x4_relaxed_ âšmin Experimental relaxed-simd
- A relaxed version of f32x4_minwhich is eitherf32x4_minorf32x4_pmin.
- f32x4_relaxed_ âšnmadd Experimental relaxed-simd
- Computes -a * b + cwith either one rounding or two roundings.
- f32x4_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 4 packed f32 numbers.
- f32x4_splat âšExperimental simd128
- Creates a vector with identical lanes.
- f32x4_sqrt âšExperimental simd128
- Calculates the square root of each lane of a 128-bit vector interpreted as four 32-bit floating point numbers.
- f32x4_sub âšExperimental simd128
- Lane-wise subtraction of two 128-bit vectors interpreted as four 32-bit floating point numbers.
- f32x4_trunc âšExperimental simd128
- Lane-wise rounding to the nearest integral value with the magnitude not larger than the input.
- f64_ceil Experimental 
- Generates the f64.ceilinstruction, returning the smallest integer greater than or equal toa.
- f64_floor Experimental 
- Generates the f64.floorinstruction, returning the largest integer less than or equal toa.
- f64_nearest Experimental 
- Generates the f64.nearestinstruction, roundinging to the nearest integer. Rounds half-way cases to the number with an even least significant digit.
- f64_sqrt Experimental 
- Generates the f64.sqrtinstruction, returning the square root of the numbera.
- f64_trunc Experimental 
- Generates the f64.truncinstruction, roundinging to the nearest integer towards zero.
- f64x2âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- f64x2_abs âšExperimental simd128
- Calculates the absolute value of each lane of a 128-bit vector interpreted as two 64-bit floating point numbers.
- f64x2_add âšExperimental simd128
- Lane-wise add of two 128-bit vectors interpreted as two 64-bit floating point numbers.
- f64x2_ceil âšExperimental simd128
- Lane-wise rounding to the nearest integral value not smaller than the input.
- f64x2_convert_ âšlow_ i32x4 Experimental simd128
- Lane-wise conversion from integer to floating point.
- f64x2_convert_ âšlow_ u32x4 Experimental simd128
- Lane-wise conversion from integer to floating point.
- f64x2_div âšExperimental simd128
- Lane-wise divide of two 128-bit vectors interpreted as two 64-bit floating point numbers.
- f64x2_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
- f64x2_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 2 packed f64 numbers.
- f64x2_floor âšExperimental simd128
- Lane-wise rounding to the nearest integral value not greater than the input.
- f64x2_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
- f64x2_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
- f64x2_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
- f64x2_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
- f64x2_max âšExperimental simd128
- Calculates the lane-wise maximum of two 128-bit vectors interpreted as two 64-bit floating point numbers.
- f64x2_min âšExperimental simd128
- Calculates the lane-wise minimum of two 128-bit vectors interpreted as two 64-bit floating point numbers.
- f64x2_mul âšExperimental simd128
- Lane-wise multiply of two 128-bit vectors interpreted as two 64-bit floating point numbers.
- f64x2_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
- f64x2_nearest âšExperimental simd128
- Lane-wise rounding to the nearest integral value; if two values are equally near, rounds to the even one.
- f64x2_neg âšExperimental simd128
- Negates each lane of a 128-bit vector interpreted as two 64-bit floating point numbers.
- f64x2_pmax âšExperimental simd128
- Lane-wise maximum value, defined as a < b ? b : a
- f64x2_pmin âšExperimental simd128
- Lane-wise minimum value, defined as b < a ? b : a
- f64x2_promote_ âšlow_ f32x4 Experimental simd128
- Conversion of the two lower single-precision floating point lanes to the two double-precision lanes of the result.
- f64x2_relaxed_ âšmadd Experimental relaxed-simd
- Computes a * b + cwith either one rounding or two roundings.
- f64x2_relaxed_ âšmax Experimental relaxed-simd
- A relaxed version of f64x2_maxwhich is eitherf64x2_maxorf64x2_pmax.
- f64x2_relaxed_ âšmin Experimental relaxed-simd
- A relaxed version of f64x2_minwhich is eitherf64x2_minorf64x2_pmin.
- f64x2_relaxed_ âšnmadd Experimental relaxed-simd
- Computes -a * b + cwith either one rounding or two roundings.
- f64x2_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 2 packed f64 numbers.
- f64x2_splat âšExperimental simd128
- Creates a vector with identical lanes.
- f64x2_sqrt âšExperimental simd128
- Calculates the square root of each lane of a 128-bit vector interpreted as two 64-bit floating point numbers.
- f64x2_sub âšExperimental simd128
- Lane-wise subtract of two 128-bit vectors interpreted as two 64-bit floating point numbers.
- f64x2_trunc âšExperimental simd128
- Lane-wise rounding to the nearest integral value with the magnitude not larger than the input.
- i8x16âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- i8x16_abs âšExperimental simd128
- Lane-wise wrapping absolute value.
- i8x16_add âšExperimental simd128
- Adds two 128-bit vectors as if they were two packed sixteen 8-bit integers.
- i8x16_add_ âšsat Experimental simd128
- Adds two 128-bit vectors as if they were two packed sixteen 8-bit signed
integers, saturating on overflow to i8::MAX.
- i8x16_all_ âštrue Experimental simd128
- Returns true if all lanes are non-zero, false otherwise.
- i8x16_bitmask âšExperimental simd128
- Extracts the high bit for each lane in aand produce a scalar mask with all bits concatenated.
- i8x16_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit integers.
- i8x16_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 16 packed i8 numbers.
- i8x16_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit signed integers.
- i8x16_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit signed integers.
- i8x16_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit signed integers.
- i8x16_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit signed integers.
- i8x16_max âšExperimental simd128
- Compares lane-wise signed integers, and returns the maximum of each pair.
- i8x16_min âšExperimental simd128
- Compares lane-wise signed integers, and returns the minimum of each pair.
- i8x16_narrow_ âši16x8 Experimental simd128
- Converts two input vectors into a smaller lane vector by narrowing each lane.
- i8x16_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit integers.
- i8x16_neg âšExperimental simd128
- Negates a 128-bit vectors interpreted as sixteen 8-bit signed integers
- i8x16_popcnt âšExperimental simd128
- Count the number of bits set to one within each lane.
- i8x16_relaxed_ âšlaneselect Experimental relaxed-simd
- A relaxed version of v128_bitselectwhere this either behaves the same asv128_bitselector the high bit of each lanemis inspected and the corresponding lane ofais chosen if the bit is 1 or the lane ofbis chosen if it’s zero.
- i8x16_relaxed_ âšswizzle Experimental relaxed-simd
- A relaxed version of i8x16_swizzle(a, s)which selects lanes fromausing indices ins.
- i8x16_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 16 packed i8 numbers.
- i8x16_shl âšExperimental simd128
- Shifts each lane to the left by the specified number of bits.
- i8x16_shr âšExperimental simd128
- Shifts each lane to the right by the specified number of bits, sign extending.
- i8x16_shuffle âšExperimental simd128
- Returns a new vector with lanes selected from the lanes of the two input
vectors $aand$bspecified in the 16 immediate operands.
- i8x16_splat âšExperimental simd128
- Creates a vector with identical lanes.
- i8x16_sub âšExperimental simd128
- Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit integers.
- i8x16_sub_ âšsat Experimental simd128
- Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit
signed integers, saturating on overflow to i8::MIN.
- i8x16_swizzle âšExperimental simd128
- Returns a new vector with lanes selected from the lanes of the first input
vector aspecified in the second input vectors.
- i16x8âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- i16x8_abs âšExperimental simd128
- Lane-wise wrapping absolute value.
- i16x8_add âšExperimental simd128
- Adds two 128-bit vectors as if they were two packed eight 16-bit integers.
- i16x8_add_ âšsat Experimental simd128
- Adds two 128-bit vectors as if they were two packed eight 16-bit signed
integers, saturating on overflow to i16::MAX.
- i16x8_all_ âštrue Experimental simd128
- Returns true if all lanes are non-zero, false otherwise.
- i16x8_bitmask âšExperimental simd128
- Extracts the high bit for each lane in aand produce a scalar mask with all bits concatenated.
- i16x8_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit integers.
- i16x8_extadd_ âšpairwise_ i8x16 Experimental simd128
- Integer extended pairwise addition producing extended results (twice wider results than the inputs).
- i16x8_extadd_ âšpairwise_ u8x16 Experimental simd128
- Integer extended pairwise addition producing extended results (twice wider results than the inputs).
- i16x8_extend_ âšhigh_ i8x16 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, sign extended.
- i16x8_extend_ âšhigh_ u8x16 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, zero extended.
- i16x8_extend_ âšlow_ i8x16 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, sign extended.
- i16x8_extend_ âšlow_ u8x16 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, zero extended.
- i16x8_extmul_ âšhigh_ i8x16 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i16x8_extmul_ âšhigh_ u8x16 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i16x8_extmul_ âšlow_ i8x16 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i16x8_extmul_ âšlow_ u8x16 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i16x8_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 8 packed i16 numbers.
- i16x8_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit signed integers.
- i16x8_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit signed integers.
- i16x8_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit signed integers.
- i16x8_load_ âšextend_ i8x8 Experimental simd128
- Load eight 8-bit integers and sign extend each one to a 16-bit lane
- i16x8_load_ âšextend_ u8x8 Experimental simd128
- Load eight 8-bit integers and zero extend each one to a 16-bit lane
- i16x8_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit signed integers.
- i16x8_max âšExperimental simd128
- Compares lane-wise signed integers, and returns the maximum of each pair.
- i16x8_min âšExperimental simd128
- Compares lane-wise signed integers, and returns the minimum of each pair.
- i16x8_mul âšExperimental simd128
- Multiplies two 128-bit vectors as if they were two packed eight 16-bit signed integers.
- i16x8_narrow_ âši32x4 Experimental simd128
- Converts two input vectors into a smaller lane vector by narrowing each lane.
- i16x8_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit integers.
- i16x8_neg âšExperimental simd128
- Negates a 128-bit vectors interpreted as eight 16-bit signed integers
- i16x8_q15mulr_ âšsat Experimental simd128
- Lane-wise saturating rounding multiplication in Q15 format.
- i16x8_relaxed_ âšdot_ i8x16_ i7x16 Experimental relaxed-simd
- A relaxed dot-product instruction.
- i16x8_relaxed_ âšlaneselect Experimental relaxed-simd
- A relaxed version of v128_bitselectwhere this either behaves the same asv128_bitselector the high bit of each lanemis inspected and the corresponding lane ofais chosen if the bit is 1 or the lane ofbis chosen if it’s zero.
- i16x8_relaxed_ âšq15mulr Experimental relaxed-simd
- A relaxed version of i16x8_relaxed_q15mulrwhere if both lanes arei16::MINthen the result is eitheri16::MINori16::MAX.
- i16x8_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 8 packed i16 numbers.
- i16x8_shl âšExperimental simd128
- Shifts each lane to the left by the specified number of bits.
- i16x8_shr âšExperimental simd128
- Shifts each lane to the right by the specified number of bits, sign extending.
- i16x8_shuffle âšExperimental simd128
- Same as i8x16_shuffle, except operates as if the inputs were eight 16-bit integers, only taking 8 indices to shuffle.
- i16x8_splat âšExperimental simd128
- Creates a vector with identical lanes.
- i16x8_sub âšExperimental simd128
- Subtracts two 128-bit vectors as if they were two packed eight 16-bit integers.
- i16x8_sub_ âšsat Experimental simd128
- Subtracts two 128-bit vectors as if they were two packed eight 16-bit
signed integers, saturating on overflow to i16::MIN.
- i32x4âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- i32x4_abs âšExperimental simd128
- Lane-wise wrapping absolute value.
- i32x4_add âšExperimental simd128
- Adds two 128-bit vectors as if they were two packed four 32-bit integers.
- i32x4_all_ âštrue Experimental simd128
- Returns true if all lanes are non-zero, false otherwise.
- i32x4_bitmask âšExperimental simd128
- Extracts the high bit for each lane in aand produce a scalar mask with all bits concatenated.
- i32x4_dot_ âši16x8 Experimental simd128
- Lane-wise multiply signed 16-bit integers in the two input vectors and add adjacent pairs of the full 32-bit results.
- i32x4_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit integers.
- i32x4_extadd_ âšpairwise_ i16x8 Experimental simd128
- Integer extended pairwise addition producing extended results (twice wider results than the inputs).
- i32x4_extadd_ âšpairwise_ u16x8 Experimental simd128
- Integer extended pairwise addition producing extended results (twice wider results than the inputs).
- i32x4_extend_ âšhigh_ i16x8 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, sign extended.
- i32x4_extend_ âšhigh_ u16x8 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, zero extended.
- i32x4_extend_ âšlow_ i16x8 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, sign extended.
- i32x4_extend_ âšlow_ u16x8 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, zero extended.
- i32x4_extmul_ âšhigh_ i16x8 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i32x4_extmul_ âšhigh_ u16x8 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i32x4_extmul_ âšlow_ i16x8 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i32x4_extmul_ âšlow_ u16x8 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i32x4_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 4 packed i32 numbers.
- i32x4_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit signed integers.
- i32x4_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit signed integers.
- i32x4_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit signed integers.
- i32x4_load_ âšextend_ i16x4 Experimental simd128
- Load four 16-bit integers and sign extend each one to a 32-bit lane
- i32x4_load_ âšextend_ u16x4 Experimental simd128
- Load four 16-bit integers and zero extend each one to a 32-bit lane
- i32x4_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit signed integers.
- i32x4_max âšExperimental simd128
- Compares lane-wise signed integers, and returns the maximum of each pair.
- i32x4_min âšExperimental simd128
- Compares lane-wise signed integers, and returns the minimum of each pair.
- i32x4_mul âšExperimental simd128
- Multiplies two 128-bit vectors as if they were two packed four 32-bit signed integers.
- i32x4_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit integers.
- i32x4_neg âšExperimental simd128
- Negates a 128-bit vectors interpreted as four 32-bit signed integers
- i32x4_relaxed_ âšdot_ i8x16_ i7x16_ add Experimental relaxed-simd
- Similar to i16x8_relaxed_dot_i8x16_i7x16except that the intermediatei16x8result is fed intoi32x4_extadd_pairwise_i16x8followed byi32x4_addto add the valuecto the result.
- i32x4_relaxed_ âšlaneselect Experimental relaxed-simd
- A relaxed version of v128_bitselectwhere this either behaves the same asv128_bitselector the high bit of each lanemis inspected and the corresponding lane ofais chosen if the bit is 1 or the lane ofbis chosen if it’s zero.
- i32x4_relaxed_ âštrunc_ f32x4 Experimental relaxed-simd
- A relaxed version of i32x4_trunc_sat_f32x4(a)converts thef32lanes ofato signed 32-bit integers.
- i32x4_relaxed_ âštrunc_ f64x2_ zero Experimental relaxed-simd
- A relaxed version of i32x4_trunc_sat_f64x2_zero(a)converts thef64lanes ofato signed 32-bit integers and the upper two lanes are zero.
- i32x4_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 4 packed i32 numbers.
- i32x4_shl âšExperimental simd128
- Shifts each lane to the left by the specified number of bits.
- i32x4_shr âšExperimental simd128
- Shifts each lane to the right by the specified number of bits, sign extending.
- i32x4_shuffle âšExperimental simd128
- Same as i8x16_shuffle, except operates as if the inputs were four 32-bit integers, only taking 4 indices to shuffle.
- i32x4_splat âšExperimental simd128
- Creates a vector with identical lanes.
- i32x4_sub âšExperimental simd128
- Subtracts two 128-bit vectors as if they were two packed four 32-bit integers.
- i32x4_trunc_ âšsat_ f32x4 Experimental simd128
- Converts a 128-bit vector interpreted as four 32-bit floating point numbers into a 128-bit vector of four 32-bit signed integers.
- i32x4_trunc_ âšsat_ f64x2_ zero Experimental simd128
- Saturating conversion of the two double-precision floating point lanes to
two lower integer lanes using the IEEE convertToIntegerTowardZerofunction.
- i64x2âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- i64x2_abs âšExperimental simd128
- Lane-wise wrapping absolute value.
- i64x2_add âšExperimental simd128
- Adds two 128-bit vectors as if they were two packed two 64-bit integers.
- i64x2_all_ âštrue Experimental simd128
- Returns true if all lanes are non-zero, false otherwise.
- i64x2_bitmask âšExperimental simd128
- Extracts the high bit for each lane in aand produce a scalar mask with all bits concatenated.
- i64x2_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit integers.
- i64x2_extend_ âšhigh_ i32x4 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, sign extended.
- i64x2_extend_ âšhigh_ u32x4 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, zero extended.
- i64x2_extend_ âšlow_ i32x4 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, sign extended.
- i64x2_extend_ âšlow_ u32x4 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, zero extended.
- i64x2_extmul_ âšhigh_ i32x4 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i64x2_extmul_ âšhigh_ u32x4 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i64x2_extmul_ âšlow_ i32x4 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i64x2_extmul_ âšlow_ u32x4 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- i64x2_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 2 packed i64 numbers.
- i64x2_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit signed integers.
- i64x2_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit signed integers.
- i64x2_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit signed integers.
- i64x2_load_ âšextend_ i32x2 Experimental simd128
- Load two 32-bit integers and sign extend each one to a 64-bit lane
- i64x2_load_ âšextend_ u32x2 Experimental simd128
- Load two 32-bit integers and zero extend each one to a 64-bit lane
- i64x2_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit signed integers.
- i64x2_mul âšExperimental simd128
- Multiplies two 128-bit vectors as if they were two packed two 64-bit integers.
- i64x2_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit integers.
- i64x2_neg âšExperimental simd128
- Negates a 128-bit vectors interpreted as two 64-bit signed integers
- i64x2_relaxed_ âšlaneselect Experimental relaxed-simd
- A relaxed version of v128_bitselectwhere this either behaves the same asv128_bitselector the high bit of each lanemis inspected and the corresponding lane ofais chosen if the bit is 1 or the lane ofbis chosen if it’s zero.
- i64x2_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 2 packed i64 numbers.
- i64x2_shl âšExperimental simd128
- Shifts each lane to the left by the specified number of bits.
- i64x2_shr âšExperimental simd128
- Shifts each lane to the right by the specified number of bits, sign extending.
- i64x2_shuffle âšExperimental simd128
- Same as i8x16_shuffle, except operates as if the inputs were two 64-bit integers, only taking 2 indices to shuffle.
- i64x2_splat âšExperimental simd128
- Creates a vector with identical lanes.
- i64x2_sub âšExperimental simd128
- Subtracts two 128-bit vectors as if they were two packed two 64-bit integers.
- memory_atomic_ âšnotify Experimental atomics
- Corresponding intrinsic to wasm’s memory.atomic.notifyinstruction
- memory_atomic_ âšwait32 Experimental atomics
- Corresponding intrinsic to wasm’s memory.atomic.wait32instruction
- memory_atomic_ âšwait64 Experimental atomics
- Corresponding intrinsic to wasm’s memory.atomic.wait64instruction
- memory_grow Experimental 
- Corresponding intrinsic to wasm’s memory.growinstruction
- memory_size Experimental 
- Corresponding intrinsic to wasm’s memory.sizeinstruction
- throwâš Experimental 
- Generates the throwinstruction from the exception-handling proposal for WASM.
- u8x16âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- u8x16_add âšExperimental simd128
- Adds two 128-bit vectors as if they were two packed sixteen 8-bit integers.
- u8x16_add_ âšsat Experimental simd128
- Adds two 128-bit vectors as if they were two packed sixteen 8-bit unsigned
integers, saturating on overflow to u8::MAX.
- u8x16_all_ âštrue Experimental simd128
- Returns true if all lanes are non-zero, false otherwise.
- u8x16_avgr âšExperimental simd128
- Lane-wise rounding average.
- u8x16_bitmask âšExperimental simd128
- Extracts the high bit for each lane in aand produce a scalar mask with all bits concatenated.
- u8x16_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit integers.
- u8x16_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 16 packed u8 numbers.
- u8x16_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit unsigned integers.
- u8x16_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit unsigned integers.
- u8x16_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit unsigned integers.
- u8x16_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit unsigned integers.
- u8x16_max âšExperimental simd128
- Compares lane-wise unsigned integers, and returns the maximum of each pair.
- u8x16_min âšExperimental simd128
- Compares lane-wise unsigned integers, and returns the minimum of each pair.
- u8x16_narrow_ âši16x8 Experimental simd128
- Converts two input vectors into a smaller lane vector by narrowing each lane.
- u8x16_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 16 eight-bit integers.
- u8x16_popcnt âšExperimental simd128
- Count the number of bits set to one within each lane.
- u8x16_relaxed_ âšlaneselect Experimental relaxed-simd
- A relaxed version of v128_bitselectwhere this either behaves the same asv128_bitselector the high bit of each lanemis inspected and the corresponding lane ofais chosen if the bit is 1 or the lane ofbis chosen if it’s zero.
- u8x16_relaxed_ âšswizzle Experimental relaxed-simd
- A relaxed version of i8x16_swizzle(a, s)which selects lanes fromausing indices ins.
- u8x16_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 16 packed u8 numbers.
- u8x16_shl âšExperimental simd128
- Shifts each lane to the left by the specified number of bits.
- u8x16_shr âšExperimental simd128
- Shifts each lane to the right by the specified number of bits, shifting in zeros.
- u8x16_shuffle âšExperimental simd128
- Returns a new vector with lanes selected from the lanes of the two input
vectors $aand$bspecified in the 16 immediate operands.
- u8x16_splat âšExperimental simd128
- Creates a vector with identical lanes.
- u8x16_sub âšExperimental simd128
- Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit integers.
- u8x16_sub_ âšsat Experimental simd128
- Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit unsigned integers, saturating on overflow to 0.
- u8x16_swizzle âšExperimental simd128
- Returns a new vector with lanes selected from the lanes of the first input
vector aspecified in the second input vectors.
- u16x8âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- u16x8_add âšExperimental simd128
- Adds two 128-bit vectors as if they were two packed eight 16-bit integers.
- u16x8_add_ âšsat Experimental simd128
- Adds two 128-bit vectors as if they were two packed eight 16-bit unsigned
integers, saturating on overflow to u16::MAX.
- u16x8_all_ âštrue Experimental simd128
- Returns true if all lanes are non-zero, false otherwise.
- u16x8_avgr âšExperimental simd128
- Lane-wise rounding average.
- u16x8_bitmask âšExperimental simd128
- Extracts the high bit for each lane in aand produce a scalar mask with all bits concatenated.
- u16x8_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit integers.
- u16x8_extadd_ âšpairwise_ u8x16 Experimental simd128
- Integer extended pairwise addition producing extended results (twice wider results than the inputs).
- u16x8_extend_ âšhigh_ u8x16 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, zero extended.
- u16x8_extend_ âšlow_ u8x16 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, zero extended.
- u16x8_extmul_ âšhigh_ u8x16 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- u16x8_extmul_ âšlow_ u8x16 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- u16x8_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 8 packed u16 numbers.
- u16x8_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
- u16x8_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
- u16x8_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
- u16x8_load_ âšextend_ u8x8 Experimental simd128
- Load eight 8-bit integers and zero extend each one to a 16-bit lane
- u16x8_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
- u16x8_max âšExperimental simd128
- Compares lane-wise unsigned integers, and returns the maximum of each pair.
- u16x8_min âšExperimental simd128
- Compares lane-wise unsigned integers, and returns the minimum of each pair.
- u16x8_mul âšExperimental simd128
- Multiplies two 128-bit vectors as if they were two packed eight 16-bit signed integers.
- u16x8_narrow_ âši32x4 Experimental simd128
- Converts two input vectors into a smaller lane vector by narrowing each lane.
- u16x8_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit integers.
- u16x8_relaxed_ âšdot_ i8x16_ i7x16 Experimental relaxed-simd
- A relaxed dot-product instruction.
- u16x8_relaxed_ âšlaneselect Experimental relaxed-simd
- A relaxed version of v128_bitselectwhere this either behaves the same asv128_bitselector the high bit of each lanemis inspected and the corresponding lane ofais chosen if the bit is 1 or the lane ofbis chosen if it’s zero.
- u16x8_relaxed_ âšq15mulr Experimental relaxed-simd
- A relaxed version of i16x8_relaxed_q15mulrwhere if both lanes arei16::MINthen the result is eitheri16::MINori16::MAX.
- u16x8_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 8 packed u16 numbers.
- u16x8_shl âšExperimental simd128
- Shifts each lane to the left by the specified number of bits.
- u16x8_shr âšExperimental simd128
- Shifts each lane to the right by the specified number of bits, shifting in zeros.
- u16x8_shuffle âšExperimental simd128
- Same as i8x16_shuffle, except operates as if the inputs were eight 16-bit integers, only taking 8 indices to shuffle.
- u16x8_splat âšExperimental simd128
- Creates a vector with identical lanes.
- u16x8_sub âšExperimental simd128
- Subtracts two 128-bit vectors as if they were two packed eight 16-bit integers.
- u16x8_sub_ âšsat Experimental simd128
- Subtracts two 128-bit vectors as if they were two packed eight 16-bit unsigned integers, saturating on overflow to 0.
- u32x4âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- u32x4_add âšExperimental simd128
- Adds two 128-bit vectors as if they were two packed four 32-bit integers.
- u32x4_all_ âštrue Experimental simd128
- Returns true if all lanes are non-zero, false otherwise.
- u32x4_bitmask âšExperimental simd128
- Extracts the high bit for each lane in aand produce a scalar mask with all bits concatenated.
- u32x4_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit integers.
- u32x4_extadd_ âšpairwise_ u16x8 Experimental simd128
- Integer extended pairwise addition producing extended results (twice wider results than the inputs).
- u32x4_extend_ âšhigh_ u16x8 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, zero extended.
- u32x4_extend_ âšlow_ u16x8 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, zero extended.
- u32x4_extmul_ âšhigh_ u16x8 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- u32x4_extmul_ âšlow_ u16x8 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- u32x4_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 4 packed u32 numbers.
- u32x4_ge âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit unsigned integers.
- u32x4_gt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit unsigned integers.
- u32x4_le âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit unsigned integers.
- u32x4_load_ âšextend_ u16x4 Experimental simd128
- Load four 16-bit integers and zero extend each one to a 32-bit lane
- u32x4_lt âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit unsigned integers.
- u32x4_max âšExperimental simd128
- Compares lane-wise unsigned integers, and returns the maximum of each pair.
- u32x4_min âšExperimental simd128
- Compares lane-wise unsigned integers, and returns the minimum of each pair.
- u32x4_mul âšExperimental simd128
- Multiplies two 128-bit vectors as if they were two packed four 32-bit signed integers.
- u32x4_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit integers.
- u32x4_relaxed_ âšdot_ i8x16_ i7x16_ add Experimental relaxed-simd
- Similar to i16x8_relaxed_dot_i8x16_i7x16except that the intermediatei16x8result is fed intoi32x4_extadd_pairwise_i16x8followed byi32x4_addto add the valuecto the result.
- u32x4_relaxed_ âšlaneselect Experimental relaxed-simd
- A relaxed version of v128_bitselectwhere this either behaves the same asv128_bitselector the high bit of each lanemis inspected and the corresponding lane ofais chosen if the bit is 1 or the lane ofbis chosen if it’s zero.
- u32x4_relaxed_ âštrunc_ f32x4 Experimental relaxed-simd
- A relaxed version of u32x4_trunc_sat_f32x4(a)converts thef32lanes ofato unsigned 32-bit integers.
- u32x4_relaxed_ âštrunc_ f64x2_ zero Experimental relaxed-simd
- A relaxed version of u32x4_trunc_sat_f64x2_zero(a)converts thef64lanes ofato unsigned 32-bit integers and the upper two lanes are zero.
- u32x4_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 4 packed u32 numbers.
- u32x4_shl âšExperimental simd128
- Shifts each lane to the left by the specified number of bits.
- u32x4_shr âšExperimental simd128
- Shifts each lane to the right by the specified number of bits, shifting in zeros.
- u32x4_shuffle âšExperimental simd128
- Same as i8x16_shuffle, except operates as if the inputs were four 32-bit integers, only taking 4 indices to shuffle.
- u32x4_splat âšExperimental simd128
- Creates a vector with identical lanes.
- u32x4_sub âšExperimental simd128
- Subtracts two 128-bit vectors as if they were two packed four 32-bit integers.
- u32x4_trunc_ âšsat_ f32x4 Experimental simd128
- Converts a 128-bit vector interpreted as four 32-bit floating point numbers into a 128-bit vector of four 32-bit unsigned integers.
- u32x4_trunc_ âšsat_ f64x2_ zero Experimental simd128
- Saturating conversion of the two double-precision floating point lanes to
two lower integer lanes using the IEEE convertToIntegerTowardZerofunction.
- u64x2âš Experimental simd128
- Materializes a SIMD value from the provided operands.
- u64x2_add âšExperimental simd128
- Adds two 128-bit vectors as if they were two packed two 64-bit integers.
- u64x2_all_ âštrue Experimental simd128
- Returns true if all lanes are non-zero, false otherwise.
- u64x2_bitmask âšExperimental simd128
- Extracts the high bit for each lane in aand produce a scalar mask with all bits concatenated.
- u64x2_eq âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit integers.
- u64x2_extend_ âšhigh_ u32x4 Experimental simd128
- Converts high half of the smaller lane vector to a larger lane vector, zero extended.
- u64x2_extend_ âšlow_ u32x4 Experimental simd128
- Converts low half of the smaller lane vector to a larger lane vector, zero extended.
- u64x2_extmul_ âšhigh_ u32x4 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- u64x2_extmul_ âšlow_ u32x4 Experimental simd128
- Lane-wise integer extended multiplication producing twice wider result than the inputs.
- u64x2_extract_ âšlane Experimental simd128
- Extracts a lane from a 128-bit vector interpreted as 2 packed u64 numbers.
- u64x2_load_ âšextend_ u32x2 Experimental simd128
- Load two 32-bit integers and zero extend each one to a 64-bit lane
- u64x2_mul âšExperimental simd128
- Multiplies two 128-bit vectors as if they were two packed two 64-bit integers.
- u64x2_ne âšExperimental simd128
- Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit integers.
- u64x2_relaxed_ âšlaneselect Experimental relaxed-simd
- A relaxed version of v128_bitselectwhere this either behaves the same asv128_bitselector the high bit of each lanemis inspected and the corresponding lane ofais chosen if the bit is 1 or the lane ofbis chosen if it’s zero.
- u64x2_replace_ âšlane Experimental simd128
- Replaces a lane from a 128-bit vector interpreted as 2 packed u64 numbers.
- u64x2_shl âšExperimental simd128
- Shifts each lane to the left by the specified number of bits.
- u64x2_shr âšExperimental simd128
- Shifts each lane to the right by the specified number of bits, shifting in zeros.
- u64x2_shuffle âšExperimental simd128
- Same as i8x16_shuffle, except operates as if the inputs were two 64-bit integers, only taking 2 indices to shuffle.
- u64x2_splat âšExperimental simd128
- Creates a vector with identical lanes.
- u64x2_sub âšExperimental simd128
- Subtracts two 128-bit vectors as if they were two packed two 64-bit integers.
- unreachableExperimental 
- Generates the unreachableinstruction, which causes an unconditional trap.
- v128_and âšExperimental simd128
- Performs a bitwise and of the two input 128-bit vectors, returning the resulting vector.
- v128_andnot âšExperimental simd128
- Bitwise AND of bits of aand the logical inverse of bits ofb.
- v128_any_ âštrue Experimental simd128
- Returns trueif any bit inais set, orfalseotherwise.
- v128_bitselect âšExperimental simd128
- Use the bitmask in cto select bits fromv1when 1 andv2when 0.
- v128_load âšExperimental simd128
- Loads a v128vector from the given heap address.
- v128_load8_ âšlane Experimental simd128
- Loads an 8-bit value from mand sets laneLofvto that value.
- v128_load8_ âšsplat Experimental simd128
- Load a single element and splat to all lanes of a v128 vector.
- v128_load16_ âšlane Experimental simd128
- Loads a 16-bit value from mand sets laneLofvto that value.
- v128_load16_ âšsplat Experimental simd128
- Load a single element and splat to all lanes of a v128 vector.
- v128_load32_ âšlane Experimental simd128
- Loads a 32-bit value from mand sets laneLofvto that value.
- v128_load32_ âšsplat Experimental simd128
- Load a single element and splat to all lanes of a v128 vector.
- v128_load32_ âšzero Experimental simd128
- Load a 32-bit element into the low bits of the vector and sets all other bits to zero.
- v128_load64_ âšlane Experimental simd128
- Loads a 64-bit value from mand sets laneLofvto that value.
- v128_load64_ âšsplat Experimental simd128
- Load a single element and splat to all lanes of a v128 vector.
- v128_load64_ âšzero Experimental simd128
- Load a 64-bit element into the low bits of the vector and sets all other bits to zero.
- v128_not âšExperimental simd128
- Flips each bit of the 128-bit input vector.
- v128_orâš Experimental simd128
- Performs a bitwise or of the two input 128-bit vectors, returning the resulting vector.
- v128_store âšExperimental simd128
- Stores a v128vector to the given heap address.
- v128_store8_ âšlane Experimental simd128
- Stores the 8-bit value from lane Lofvintom
- v128_store16_ âšlane Experimental simd128
- Stores the 16-bit value from lane Lofvintom
- v128_store32_ âšlane Experimental simd128
- Stores the 32-bit value from lane Lofvintom
- v128_store64_ âšlane Experimental simd128
- Stores the 64-bit value from lane Lofvintom
- v128_xor âšExperimental simd128
- Performs a bitwise xor of the two input 128-bit vectors, returning the resulting vector.