Is this actually the case? I can't find it documented anywhere on MSDN or the rest of the internet. --Owen On Jun 1, 2009, at 11:17 PM, Jonathan Ragan-Kelley wrote:> Yes, indeed. > > On May 28, 10:41 pm, Owen Anderson <resis... at mac.com> wrote: >> >> Wait, it defines MemoryFence() AND MemoryBarrier()?? >> >> Sheesh, they had to take all the reasonable names. :-/ > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2620 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090602/3781e7c1/attachment.bin>
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://blogs.msdn.com/itgoestoeleven/archive/2008/03/11/the-joys-of-compiler-and-processor-reordering-why-you-need-the-read-side-barrier.aspx [MemoryFence] http://msdn.microsoft.com/en-us/library/ms684208.aspx [MemoryBarrier] Kenneth Boyd
This should be fixed in TOT, then. --Owen On Jun 2, 2009, at 10:47 AM, Kenneth Boyd wrote:> 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://blogs.msdn.com/itgoestoeleven/archive/2008/03/11/the-joys-of-compiler-and-processor-reordering-why-you-need-the-read-side-barrier.aspx > [MemoryFence] > http://msdn.microsoft.com/en-us/library/ms684208.aspx [MemoryBarrier] > > Kenneth Boyd > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2620 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090602/a2f8a3ea/attachment.bin>