Module wasmtime_runtime::libcalls[][src]

Runtime library calls.

Note that Wasm compilers may sometimes perform these inline rather than calling them, particularly when CPUs have special instructions which compute them directly.

These functions are called by compiled Wasm code, and therefore must take certain care about some things:

Functions

wasmtime_activations_table_insert_with_gc

Do a GC and insert the given externref into the VMExternRefActivationsTable.

wasmtime_data_drop

Implementation of data.drop.

wasmtime_drop_externref

Drop a VMExternRef.

wasmtime_elem_drop

Implementation of elem.drop.

wasmtime_externref_global_get

Perform a Wasm global.get for externref globals.

wasmtime_externref_global_set

Perform a Wasm global.set for externref globals.

wasmtime_f32_ceil

Implementation of f32.ceil

wasmtime_f32_floor

Implementation of f32.floor

wasmtime_f32_nearest

Implementation of f32.nearest

wasmtime_f32_trunc

Implementation of f32.trunc

wasmtime_f64_ceil

Implementation of f64.ceil

wasmtime_f64_floor

Implementation of f64.floor

wasmtime_f64_nearest

Implementation of f64.nearest

wasmtime_f64_trunc

Implementation of f64.trunc

wasmtime_i64_ishl

Implementation of i64.ishl

wasmtime_i64_sdiv

Implementation of i64.sdiv

wasmtime_i64_srem

Implementation of i64.srem

wasmtime_i64_sshr

Implementation of i64.sshr

wasmtime_i64_udiv

Implementation of i64.udiv

wasmtime_i64_urem

Implementation of i64.urem

wasmtime_i64_ushr

Implementation of i64.ushr

wasmtime_imported_memory32_grow

Implementation of memory.grow for imported 32-bit memories.

wasmtime_imported_memory32_size

Implementation of memory.size for imported 32-bit memories.

wasmtime_imported_memory_fill

Implementation of memory.fill for imported memories.

wasmtime_memory32_grow

Implementation of memory.grow for locally-defined 32-bit memories.

wasmtime_memory32_size

Implementation of memory.size for locally-defined 32-bit memories.

wasmtime_memory_copy

Implementation of memory.copy for locally defined memories.

wasmtime_memory_fill

Implementation of memory.fill for locally defined memories.

wasmtime_memory_init

Implementation of memory.init.

wasmtime_table_copy

Implementation of table.copy.

wasmtime_table_fill

Implementation of table.fill.

wasmtime_table_grow

Implementation of table.grow.

wasmtime_table_init

Implementation of table.init.