Function wasmer_vm::vmcontext::memory32_atomic_check64

source ·
pub(crate) unsafe fn memory32_atomic_check64(
    mem: &VMMemoryDefinition,
    dst: u32,
    val: u64,
) -> Result<u32, Trap>
Expand description

Perform the memory32.atomic.check64 operation for the memory. Return 0 if same, 1 if different

§Errors

Returns a Trap error if the memory range is out of bounds or 64bits unaligned.

§Safety

memory access is unsafe