Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff
tbb.deb
tbb-2.2-mfence.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tbb-2.2-mfence.patch of Package tbb.deb
diff -up /home/petr/fedora/tbb/devel/tbb22_20090809oss-pm/include/tbb/machine/linux_ia32.h\~ /home/petr/fedora/tbb/devel/tbb22_20090809oss-pm/include/tbb/machine/linux_ia32.h --- tbb22_20090809oss-pm/include/tbb/machine/linux_ia32.h~ 2009-08-12 09:05:03.000000000 +0200 +++ tbb22_20090809oss-pm/include/tbb/machine/linux_ia32.h 2010-06-10 17:11:17.000000000 +0200 @@ -39,7 +39,13 @@ #define __TBB_release_consistency_helper() __asm__ __volatile__("": : :"memory") -inline void __TBB_rel_acq_fence() { __asm__ __volatile__("mfence": : :"memory"); } +inline void __TBB_rel_acq_fence() { + int tmp; + __asm__ __volatile__("xchg %0,%0" + : "=r"(tmp) + : "r"(tmp) + : "memory"); +} #define __MACHINE_DECL_ATOMICS(S,T,X) \ static inline T __TBB_machine_cmpswp##S (volatile void *ptr, T value, T comparand ) \ Diff finished. Thu Jun 10 17:13:43 2010
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor