_mm_sfence in core::arch::x86 - Rust
Description: Performs a serializing operation on all store-to-memory instructions that were issued prior to this instruction.
Keywords: rust, rustlang, rust-lang, _mm_sfence

# Function core::arch::x86::_mm_sfence

1.27.0 · source · [−]

    pub unsafe fn _mm_sfence()

Available on x86 and target feature `sse` only.
Expand description

Performs a serializing operation on all store-to-memory instructions that were issued prior to this instruction.

Guarantees that every store instruction that precedes, in program order, is globally visible before any store instruction which follows the fence in program order.

Intel’s documentation