Module wasm32

Source
Available on target_family="wasm" only.
Expand description

WASM32 intrinsics

Re-exportsยง

pub use self::simd128::*;
pub use self::relaxed_simd::*;
pub use self::memory::*;
pub use self::atomic::*;

Modulesยง

atomic ๐Ÿ”’
memory ๐Ÿ”’
relaxed_simd ๐Ÿ”’
simd128 ๐Ÿ”’
This module implements the WebAssembly SIMD128 ISA.

Functionsยง

unreachable
Generates the unreachable instruction, which causes an unconditional trap.
wasm_throw ๐Ÿ”’ โš 
f32_ceilExperimental
Generates the f32.ceil instruction, returning the smallest integer greater than or equal to a.
f32_floorExperimental
Generates the f32.floor instruction, returning the largest integer less than or equal to a.
f32_nearestExperimental
Generates the f32.nearest instruction, roundinging to the nearest integer. Rounds half-way cases to the number with an even least significant digit.
f32_sqrtExperimental
Generates the f32.sqrt instruction, returning the square root of the number a.
f32_truncExperimental
Generates the f32.trunc instruction, roundinging to the nearest integer towards zero.
f64_ceilExperimental
Generates the f64.ceil instruction, returning the smallest integer greater than or equal to a.
f64_floorExperimental
Generates the f64.floor instruction, returning the largest integer less than or equal to a.
f64_nearestExperimental
Generates the f64.nearest instruction, roundinging to the nearest integer. Rounds half-way cases to the number with an even least significant digit.
f64_sqrtExperimental
Generates the f64.sqrt instruction, returning the square root of the number a.
f64_truncExperimental
Generates the f64.trunc instruction, roundinging to the nearest integer towards zero.
throwโš Experimental
Generates the throw instruction from the exception-handling proposal for WASM.