# FOR_MFENCE

Run-Time Subroutine: Inserts a memory fence instruction that ensures completion of all preceding load and store instructions.

## Module

USE IFCORE

CALL FOR_MFENCE ()

Using this subroutine guarantees that in program order, every load and store instruction that precedes the memory fence instruction is globally visible before any load or store instruction that follows the memory fence can proceed.

Parent topic: E to F