Changeset 71701 in vbox
- Timestamp:
- Apr 6, 2018 11:33:13 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r71602 r71701 1625 1625 * What this translates to is architecture dependent. On intel it will 1626 1626 * translate to a CPU load+store fence as well as a compiler memory barrier. */ 1627 #if defined(RT_ARCH_AMD64)1628 # define RT_UNTRUSTED_VALIDATED_FENCE() do { ASMCompilerBarrier(); ASM MemoryFenceSSE2(); } while (0)1627 #if defined(RT_ARCH_AMD64) || (defined(RT_ARCH_X86) && !defined(RT_WITH_OLD_CPU_SUPPORT)) 1628 # define RT_UNTRUSTED_VALIDATED_FENCE() do { ASMCompilerBarrier(); ASMReadFence(); } while (0) 1629 1629 #elif defined(RT_ARCH_X86) 1630 1630 # define RT_UNTRUSTED_VALIDATED_FENCE() do { ASMCompilerBarrier(); ASMMemoryFence(); } while (0)
Note:
See TracChangeset
for help on using the changeset viewer.