15 lines
771 B
Diff
15 lines
771 B
Diff
diff -up tbb44_20151115oss/include/tbb/machine/linux_ia32.h\~ tbb44_20151115oss/include/tbb/machine/linux_ia32.h
|
|
--- tbb44_20151115oss/include/tbb/machine/linux_ia32.h~ 2015-11-25 03:49:14.000000000 -0700
|
|
+++ tbb44_20151115oss/include/tbb/machine/linux_ia32.h 2016-01-14 20:29:45.251333321 -0700
|
|
@@ -34,7 +34,7 @@
|
|
#define __TBB_control_consistency_helper() __TBB_compiler_fence()
|
|
#define __TBB_acquire_consistency_helper() __TBB_compiler_fence()
|
|
#define __TBB_release_consistency_helper() __TBB_compiler_fence()
|
|
-#define __TBB_full_memory_fence() __asm__ __volatile__("mfence": : :"memory")
|
|
+#define __TBB_full_memory_fence() __sync_synchronize()
|
|
|
|
#if __TBB_ICC_ASM_VOLATILE_BROKEN
|
|
#define __TBB_VOLATILE
|
|
|
|
Diff finished. Thu Jan 14 20:30:12 2016
|