Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

__mf

Microsoft Specific

Emits the IPF Memory Fence (mf) instruction, which sets up a hardware memory fence.

void __mf(void);

Intrinsic

Architecture

__mf

IPF

Header file <intrin.h>

A hardware memory fence ensures that all memory reads and writes are made visible to all processors prior to any subsequent memory reads and writes. The __mf intrinsic does not ensure that these memory reads and writes have been accepted by the platform. If that is a requirement, use __mfa.

This routine is only available as an intrinsic.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.