Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

FOR_MFENCE

Runtime 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.