[LLVMdev] RFC: Atomics.h

Kenneth Boyd zaimoni at zaimoni.com
Tue Jun 2 10:47:12 PDT 2009

Owen Anderson wrote:
> Is this actually the case?  I can't find it documented anywhere on 
> MSDN or the rest of the internet.

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include>grep -n -F 
MemoryFence WinNT.h
2231:#define MemoryFence _mm_mfence

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include>grep -n -F 
MemoryBarrier WinNT.h
2288:#define MemoryBarrier __faststorefence
3362:MemoryBarrier (
4890:#define MemoryBarrier           __mf

Also, I have absolutely no problem using MSDN search to find these links:
http://msdn.microsoft.com/en-us/library/ms684208.aspx [MemoryBarrier]

Kenneth Boyd

More information about the llvm-dev mailing list