Module core::core_arch::wasm32::simd128

source ·
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on target_family="wasm" only.
Expand description

This module implements the WebAssembly SIMD128 ISA.

Re-exports

Macros

Structs

  • Unaligned 🔒 Experimental
  • WASM-specific 128-bit wide SIMD vector type.

Functions

  • llvm_any_true_i8x16 🔒 Experimental
  • llvm_avgr_u_i8x16 🔒 Experimental
  • llvm_avgr_u_i16x8 🔒 Experimental
  • llvm_bitmask_i8x16 🔒 Experimental
  • llvm_bitmask_i16x8 🔒 Experimental
  • llvm_bitmask_i32x4 🔒 Experimental
  • llvm_bitmask_i64x2 🔒 Experimental
  • llvm_bitselect 🔒 Experimental
  • llvm_f32x4_abs 🔒 Experimental
  • llvm_f32x4_ceil 🔒 Experimental
  • llvm_f32x4_floor 🔒 Experimental
  • llvm_f32x4_max 🔒 Experimental
  • llvm_f32x4_min 🔒 Experimental
  • llvm_f32x4_nearest 🔒 Experimental
  • llvm_f32x4_sqrt 🔒 Experimental
  • llvm_f32x4_trunc 🔒 Experimental
  • llvm_f64x2_abs 🔒 Experimental
  • llvm_f64x2_ceil 🔒 Experimental
  • llvm_f64x2_floor 🔒 Experimental
  • llvm_f64x2_max 🔒 Experimental
  • llvm_f64x2_min 🔒 Experimental
  • llvm_f64x2_nearest 🔒 Experimental
  • llvm_f64x2_sqrt 🔒 Experimental
  • llvm_f64x2_trunc 🔒 Experimental
  • llvm_i8x16_add_sat_s 🔒 Experimental
  • llvm_i8x16_add_sat_u 🔒 Experimental
  • llvm_i8x16_all_true 🔒 Experimental
  • llvm_i8x16_sub_sat_s 🔒 Experimental
  • llvm_i8x16_sub_sat_u 🔒 Experimental
  • llvm_i16x8_add_sat_s 🔒 Experimental
  • llvm_i16x8_add_sat_u 🔒 Experimental
  • llvm_i16x8_all_true 🔒 Experimental
  • llvm_i16x8_sub_sat_s 🔒 Experimental
  • llvm_i16x8_sub_sat_u 🔒 Experimental
  • llvm_i32x2_trunc_sat_f64x2_s 🔒 Experimental
  • llvm_i32x2_trunc_sat_f64x2_u 🔒 Experimental
  • llvm_i32x4_all_true 🔒 Experimental
  • llvm_i32x4_dot_i16x8_s 🔒 Experimental
  • llvm_i32x4_trunc_sat_f32x4_s 🔒 Experimental
  • llvm_i32x4_trunc_sat_f32x4_u 🔒 Experimental
  • llvm_i64x2_all_true 🔒 Experimental
  • llvm_narrow_i8x16_s 🔒 Experimental
  • llvm_narrow_i8x16_u 🔒 Experimental
  • llvm_narrow_i16x8_s 🔒 Experimental
  • llvm_narrow_i16x8_u 🔒 Experimental
  • llvm_popcnt 🔒 Experimental
  • llvm_q15mulr 🔒 Experimental
  • llvm_swizzle 🔒 Experimental
  • f32x4simd128
    Materializes a SIMD value from the provided operands.
  • f32x4_abssimd128
    Calculates the absolute value of each lane of a 128-bit vector interpreted as four 32-bit floating point numbers.
  • f32x4_addsimd128
    Lane-wise addition of two 128-bit vectors interpreted as four 32-bit floating point numbers.
  • f32x4_ceilsimd128
    Lane-wise rounding to the nearest integral value not smaller than the input.
  • Converts a 128-bit vector interpreted as four 32-bit signed integers into a 128-bit vector of four 32-bit floating point numbers.
  • Converts a 128-bit vector interpreted as four 32-bit unsigned integers into a 128-bit vector of four 32-bit floating point numbers.
  • 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_divsimd128
    Lane-wise division of two 128-bit vectors interpreted as four 32-bit floating point numbers.
  • f32x4_eqsimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
  • Extracts a lane from a 128-bit vector interpreted as 4 packed f32 numbers.
  • Lane-wise rounding to the nearest integral value not greater than the input.
  • f32x4_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
  • f32x4_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
  • f32x4_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
  • f32x4_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
  • f32x4_maxsimd128
    Calculates the lane-wise minimum of two 128-bit vectors interpreted as four 32-bit floating point numbers.
  • f32x4_minsimd128
    Calculates the lane-wise minimum of two 128-bit vectors interpreted as four 32-bit floating point numbers.
  • f32x4_mulsimd128
    Lane-wise multiplication of two 128-bit vectors interpreted as four 32-bit floating point numbers.
  • f32x4_nesimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit floating point numbers.
  • Lane-wise rounding to the nearest integral value; if two values are equally near, rounds to the even one.
  • f32x4_negsimd128
    Negates each lane of a 128-bit vector interpreted as four 32-bit floating point numbers.
  • f32x4_pmaxsimd128
    Lane-wise maximum value, defined as a < b ? b : a
  • f32x4_pminsimd128
    Lane-wise minimum value, defined as b < a ? b : a
  • Replaces a lane from a 128-bit vector interpreted as 4 packed f32 numbers.
  • Creates a vector with identical lanes.
  • f32x4_sqrtsimd128
    Calculates the square root of each lane of a 128-bit vector interpreted as four 32-bit floating point numbers.
  • f32x4_subsimd128
    Lane-wise subtraction of two 128-bit vectors interpreted as four 32-bit floating point numbers.
  • Lane-wise rounding to the nearest integral value with the magnitude not larger than the input.
  • f64x2simd128
    Materializes a SIMD value from the provided operands.
  • f64x2_abssimd128
    Calculates the absolute value of each lane of a 128-bit vector interpreted as two 64-bit floating point numbers.
  • f64x2_addsimd128
    Lane-wise add of two 128-bit vectors interpreted as two 64-bit floating point numbers.
  • f64x2_ceilsimd128
    Lane-wise rounding to the nearest integral value not smaller than the input.
  • Lane-wise conversion from integer to floating point.
  • Lane-wise conversion from integer to floating point.
  • f64x2_divsimd128
    Lane-wise divide of two 128-bit vectors interpreted as two 64-bit floating point numbers.
  • f64x2_eqsimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
  • Extracts a lane from a 128-bit vector interpreted as 2 packed f64 numbers.
  • Lane-wise rounding to the nearest integral value not greater than the input.
  • f64x2_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
  • f64x2_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
  • f64x2_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
  • f64x2_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
  • f64x2_maxsimd128
    Calculates the lane-wise maximum of two 128-bit vectors interpreted as two 64-bit floating point numbers.
  • f64x2_minsimd128
    Calculates the lane-wise minimum of two 128-bit vectors interpreted as two 64-bit floating point numbers.
  • f64x2_mulsimd128
    Lane-wise multiply of two 128-bit vectors interpreted as two 64-bit floating point numbers.
  • f64x2_nesimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit floating point numbers.
  • Lane-wise rounding to the nearest integral value; if two values are equally near, rounds to the even one.
  • f64x2_negsimd128
    Negates each lane of a 128-bit vector interpreted as two 64-bit floating point numbers.
  • f64x2_pmaxsimd128
    Lane-wise maximum value, defined as a < b ? b : a
  • f64x2_pminsimd128
    Lane-wise minimum value, defined as b < a ? b : a
  • Conversion of the two lower single-precision floating point lanes to the two double-precision lanes of the result.
  • Replaces a lane from a 128-bit vector interpreted as 2 packed f64 numbers.
  • Creates a vector with identical lanes.
  • f64x2_sqrtsimd128
    Calculates the square root of each lane of a 128-bit vector interpreted as two 64-bit floating point numbers.
  • f64x2_subsimd128
    Lane-wise subtract of two 128-bit vectors interpreted as two 64-bit floating point numbers.
  • Lane-wise rounding to the nearest integral value with the magnitude not larger than the input.
  • i8x16simd128
    Materializes a SIMD value from the provided operands.
  • i8x16_abssimd128
    Lane-wise wrapping absolute value.
  • i8x16_addsimd128
    Adds two 128-bit vectors as if they were two packed sixteen 8-bit integers.
  • Adds two 128-bit vectors as if they were two packed sixteen 8-bit signed integers, saturating on overflow to i8::MAX.
  • Returns true if all lanes are non-zero, false otherwise.
  • Extracts the high bit for each lane in a and produce a scalar mask with all bits concatenated.
  • i8x16_eqsimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit integers.
  • Extracts a lane from a 128-bit vector interpreted as 16 packed i8 numbers.
  • i8x16_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit signed integers.
  • i8x16_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit signed integers.
  • i8x16_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit signed integers.
  • i8x16_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit signed integers.
  • i8x16_maxsimd128
    Compares lane-wise signed integers, and returns the maximum of each pair.
  • i8x16_minsimd128
    Compares lane-wise signed integers, and returns the minimum of each pair.
  • Converts two input vectors into a smaller lane vector by narrowing each lane.
  • i8x16_nesimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit integers.
  • i8x16_negsimd128
    Negates a 128-bit vectors interpreted as sixteen 8-bit signed integers
  • Count the number of bits set to one within each lane.
  • Replaces a lane from a 128-bit vector interpreted as 16 packed i8 numbers.
  • i8x16_shlsimd128
    Shifts each lane to the left by the specified number of bits.
  • i8x16_shrsimd128
    Shifts each lane to the right by the specified number of bits, sign extending.
  • Returns a new vector with lanes selected from the lanes of the two input vectors $a and $b specified in the 16 immediate operands.
  • Creates a vector with identical lanes.
  • i8x16_subsimd128
    Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit integers.
  • Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit signed integers, saturating on overflow to i8::MIN.
  • Returns a new vector with lanes selected from the lanes of the first input vector a specified in the second input vector s.
  • i16x8simd128
    Materializes a SIMD value from the provided operands.
  • i16x8_abssimd128
    Lane-wise wrapping absolute value.
  • i16x8_addsimd128
    Adds two 128-bit vectors as if they were two packed eight 16-bit integers.
  • Adds two 128-bit vectors as if they were two packed eight 16-bit signed integers, saturating on overflow to i16::MAX.
  • Returns true if all lanes are non-zero, false otherwise.
  • Extracts the high bit for each lane in a and produce a scalar mask with all bits concatenated.
  • i16x8_eqsimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit integers.
  • Integer extended pairwise addition producing extended results (twice wider results than the inputs).
  • Integer extended pairwise addition producing extended results (twice wider results than the inputs).
  • Converts high half of the smaller lane vector to a larger lane vector, sign extended.
  • Converts high half of the smaller lane vector to a larger lane vector, zero extended.
  • Converts low half of the smaller lane vector to a larger lane vector, sign extended.
  • Converts low half of the smaller lane vector to a larger lane vector, zero extended.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Extracts a lane from a 128-bit vector interpreted as 8 packed i16 numbers.
  • i16x8_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit signed integers.
  • i16x8_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit signed integers.
  • i16x8_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit signed integers.
  • Load eight 8-bit integers and sign extend each one to a 16-bit lane
  • Load eight 8-bit integers and zero extend each one to a 16-bit lane
  • i16x8_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit signed integers.
  • i16x8_maxsimd128
    Compares lane-wise signed integers, and returns the maximum of each pair.
  • i16x8_minsimd128
    Compares lane-wise signed integers, and returns the minimum of each pair.
  • i16x8_mulsimd128
    Multiplies two 128-bit vectors as if they were two packed eight 16-bit signed integers.
  • Converts two input vectors into a smaller lane vector by narrowing each lane.
  • i16x8_nesimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit integers.
  • i16x8_negsimd128
    Negates a 128-bit vectors interpreted as eight 16-bit signed integers
  • Lane-wise saturating rounding multiplication in Q15 format.
  • Replaces a lane from a 128-bit vector interpreted as 8 packed i16 numbers.
  • i16x8_shlsimd128
    Shifts each lane to the left by the specified number of bits.
  • i16x8_shrsimd128
    Shifts each lane to the right by the specified number of bits, sign extending.
  • Same as i8x16_shuffle, except operates as if the inputs were eight 16-bit integers, only taking 8 indices to shuffle.
  • Creates a vector with identical lanes.
  • i16x8_subsimd128
    Subtracts two 128-bit vectors as if they were two packed eight 16-bit integers.
  • Subtracts two 128-bit vectors as if they were two packed eight 16-bit signed integers, saturating on overflow to i16::MIN.
  • i32x4simd128
    Materializes a SIMD value from the provided operands.
  • i32x4_abssimd128
    Lane-wise wrapping absolute value.
  • i32x4_addsimd128
    Adds two 128-bit vectors as if they were two packed four 32-bit integers.
  • Returns true if all lanes are non-zero, false otherwise.
  • Extracts the high bit for each lane in a and produce a scalar mask with all bits concatenated.
  • Lane-wise multiply signed 16-bit integers in the two input vectors and add adjacent pairs of the full 32-bit results.
  • i32x4_eqsimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit integers.
  • Integer extended pairwise addition producing extended results (twice wider results than the inputs).
  • Integer extended pairwise addition producing extended results (twice wider results than the inputs).
  • Converts high half of the smaller lane vector to a larger lane vector, sign extended.
  • Converts high half of the smaller lane vector to a larger lane vector, zero extended.
  • Converts low half of the smaller lane vector to a larger lane vector, sign extended.
  • Converts low half of the smaller lane vector to a larger lane vector, zero extended.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Extracts a lane from a 128-bit vector interpreted as 4 packed i32 numbers.
  • i32x4_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit signed integers.
  • i32x4_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit signed integers.
  • i32x4_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit signed integers.
  • Load four 16-bit integers and sign extend each one to a 32-bit lane
  • Load four 16-bit integers and zero extend each one to a 32-bit lane
  • i32x4_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit signed integers.
  • i32x4_maxsimd128
    Compares lane-wise signed integers, and returns the maximum of each pair.
  • i32x4_minsimd128
    Compares lane-wise signed integers, and returns the minimum of each pair.
  • i32x4_mulsimd128
    Multiplies two 128-bit vectors as if they were two packed four 32-bit signed integers.
  • i32x4_nesimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit integers.
  • i32x4_negsimd128
    Negates a 128-bit vectors interpreted as four 32-bit signed integers
  • Replaces a lane from a 128-bit vector interpreted as 4 packed i32 numbers.
  • i32x4_shlsimd128
    Shifts each lane to the left by the specified number of bits.
  • i32x4_shrsimd128
    Shifts each lane to the right by the specified number of bits, sign extending.
  • Same as i8x16_shuffle, except operates as if the inputs were four 32-bit integers, only taking 4 indices to shuffle.
  • Creates a vector with identical lanes.
  • i32x4_subsimd128
    Subtracts two 128-bit vectors as if they were two packed four 32-bit integers.
  • Converts a 128-bit vector interpreted as four 32-bit floating point numbers into a 128-bit vector of four 32-bit signed integers.
  • Saturating conversion of the two double-precision floating point lanes to two lower integer lanes using the IEEE convertToIntegerTowardZero function.
  • i64x2simd128
    Materializes a SIMD value from the provided operands.
  • i64x2_abssimd128
    Lane-wise wrapping absolute value.
  • i64x2_addsimd128
    Adds two 128-bit vectors as if they were two packed two 64-bit integers.
  • Returns true if all lanes are non-zero, false otherwise.
  • Extracts the high bit for each lane in a and produce a scalar mask with all bits concatenated.
  • i64x2_eqsimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit integers.
  • Converts high half of the smaller lane vector to a larger lane vector, sign extended.
  • Converts high half of the smaller lane vector to a larger lane vector, zero extended.
  • Converts low half of the smaller lane vector to a larger lane vector, sign extended.
  • Converts low half of the smaller lane vector to a larger lane vector, zero extended.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Lane-wise integer extended multiplication producing twice wider result than the inputs.
  • Extracts a lane from a 128-bit vector interpreted as 2 packed i64 numbers.
  • i64x2_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit signed integers.
  • i64x2_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit signed integers.
  • i64x2_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit signed integers.
  • Load two 32-bit integers and sign extend each one to a 64-bit lane
  • Load two 32-bit integers and zero extend each one to a 64-bit lane
  • i64x2_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit signed integers.
  • i64x2_mulsimd128
    Multiplies two 128-bit vectors as if they were two packed two 64-bit integers.
  • i64x2_nesimd128
    Compares two 128-bit vectors as if they were two vectors of 2 sixty-four-bit integers.
  • i64x2_negsimd128
    Negates a 128-bit vectors interpreted as two 64-bit signed integers
  • Replaces a lane from a 128-bit vector interpreted as 2 packed i64 numbers.
  • i64x2_shlsimd128
    Shifts each lane to the left by the specified number of bits.
  • i64x2_shrsimd128
    Shifts each lane to the right by the specified number of bits, sign extending.
  • Same as i8x16_shuffle, except operates as if the inputs were two 64-bit integers, only taking 2 indices to shuffle.
  • Creates a vector with identical lanes.
  • i64x2_subsimd128
    Subtracts two 128-bit vectors as if they were two packed two 64-bit integers.
  • u8x16simd128
    Materializes a SIMD value from the provided operands.
  • Adds two 128-bit vectors as if they were two packed sixteen 8-bit unsigned integers, saturating on overflow to u8::MAX.
  • u8x16_avgrsimd128
    Lane-wise rounding average.
  • Extracts a lane from a 128-bit vector interpreted as 16 packed u8 numbers.
  • u8x16_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit unsigned integers.
  • u8x16_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit unsigned integers.
  • u8x16_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit unsigned integers.
  • u8x16_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 16 eight-bit unsigned integers.
  • u8x16_maxsimd128
    Compares lane-wise unsigned integers, and returns the maximum of each pair.
  • u8x16_minsimd128
    Compares lane-wise unsigned integers, and returns the minimum of each pair.
  • Converts two input vectors into a smaller lane vector by narrowing each lane.
  • Replaces a lane from a 128-bit vector interpreted as 16 packed u8 numbers.
  • u8x16_shrsimd128
    Shifts each lane to the right by the specified number of bits, shifting in zeros.
  • Creates a vector with identical lanes.
  • Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit unsigned integers, saturating on overflow to 0.
  • u16x8simd128
    Materializes a SIMD value from the provided operands.
  • Adds two 128-bit vectors as if they were two packed eight 16-bit unsigned integers, saturating on overflow to u16::MAX.
  • u16x8_avgrsimd128
    Lane-wise rounding average.
  • Extracts a lane from a 128-bit vector interpreted as 8 packed u16 numbers.
  • u16x8_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
  • u16x8_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
  • u16x8_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
  • u16x8_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
  • u16x8_maxsimd128
    Compares lane-wise unsigned integers, and returns the maximum of each pair.
  • u16x8_minsimd128
    Compares lane-wise unsigned integers, and returns the minimum of each pair.
  • Converts two input vectors into a smaller lane vector by narrowing each lane.
  • Replaces a lane from a 128-bit vector interpreted as 8 packed u16 numbers.
  • u16x8_shrsimd128
    Shifts each lane to the right by the specified number of bits, shifting in zeros.
  • Creates a vector with identical lanes.
  • Subtracts two 128-bit vectors as if they were two packed eight 16-bit unsigned integers, saturating on overflow to 0.
  • u32x4simd128
    Materializes a SIMD value from the provided operands.
  • Extracts a lane from a 128-bit vector interpreted as 4 packed u32 numbers.
  • u32x4_gesimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit unsigned integers.
  • u32x4_gtsimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit unsigned integers.
  • u32x4_lesimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit unsigned integers.
  • u32x4_ltsimd128
    Compares two 128-bit vectors as if they were two vectors of 4 thirty-two-bit unsigned integers.
  • u32x4_maxsimd128
    Compares lane-wise unsigned integers, and returns the maximum of each pair.
  • u32x4_minsimd128
    Compares lane-wise unsigned integers, and returns the minimum of each pair.
  • Replaces a lane from a 128-bit vector interpreted as 4 packed u32 numbers.
  • u32x4_shrsimd128
    Shifts each lane to the right by the specified number of bits, shifting in zeros.
  • Creates a vector with identical lanes.
  • Converts a 128-bit vector interpreted as four 32-bit floating point numbers into a 128-bit vector of four 32-bit unsigned integers.
  • Saturating conversion of the two double-precision floating point lanes to two lower integer lanes using the IEEE convertToIntegerTowardZero function.
  • u64x2simd128
    Materializes a SIMD value from the provided operands.
  • Extracts a lane from a 128-bit vector interpreted as 2 packed u64 numbers.
  • Replaces a lane from a 128-bit vector interpreted as 2 packed u64 numbers.
  • u64x2_shrsimd128
    Shifts each lane to the right by the specified number of bits, shifting in zeros.
  • Creates a vector with identical lanes.
  • v128_andsimd128
    Performs a bitwise and of the two input 128-bit vectors, returning the resulting vector.
  • Bitwise AND of bits of a and the logical inverse of bits of b.
  • Returns true if any bit in a is set, or false otherwise.
  • Use the bitmask in c to select bits from v1 when 1 and v2 when 0.
  • v128_loadsimd128
    Loads a v128 vector from the given heap address.
  • v128_load8_lanesimd128
    Loads an 8-bit value from m and sets lane L of v to that value.
  • Load a single element and splat to all lanes of a v128 vector.
  • Loads a 16-bit value from m and sets lane L of v to that value.
  • Load a single element and splat to all lanes of a v128 vector.
  • Loads a 32-bit value from m and sets lane L of v to that value.
  • Load a single element and splat to all lanes of a v128 vector.
  • Load a 32-bit element into the low bits of the vector and sets all other bits to zero.
  • Loads a 64-bit value from m and sets lane L of v to that value.
  • Load a single element and splat to all lanes of a v128 vector.
  • Load a 64-bit element into the low bits of the vector and sets all other bits to zero.
  • v128_notsimd128
    Flips each bit of the 128-bit input vector.
  • v128_orsimd128
    Performs a bitwise or of the two input 128-bit vectors, returning the resulting vector.
  • v128_storesimd128
    Stores a v128 vector to the given heap address.
  • Stores the 8-bit value from lane L of v into m
  • Stores the 16-bit value from lane L of v into m
  • Stores the 32-bit value from lane L of v into m
  • Stores the 64-bit value from lane L of v into m
  • v128_xorsimd128
    Performs a bitwise xor of the two input 128-bit vectors, returning the resulting vector.