# Function core::arch::x86_64::_mm_sfence

1.27.0 · source · [−]

    pub unsafe fn _mm_sfence()

Available on (x86 or x86-64) and target feature `sse` and x86-64 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