Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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.