OSDN Git Service

* ordered.c (gomp_ordered_sync): Add MEMMODEL_ACQ_REL fence.
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 2011 04:02:53 +0000 (04:02 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 2011 04:02:53 +0000 (04:02 +0000)
commita28ddb67e7d93f5ba095c28af9a14b991b2cbcfd
treef2b455abcdef142ecdfee68c7c0c647af19edcdd
parentdf17b94dcaa40e7e13e24a2a8ce6984d70254692
* ordered.c (gomp_ordered_sync): Add MEMMODEL_ACQ_REL fence.
* critical.c (GOMP_critical_start): Add MEMMODEL_RELEASE fence.
* config/linux/mutex.h: Use atomic rather than sync builtins.
* config/linux/mutex.c: Likewise.  Comment.  Use -1 for waiting state.
* config/linux/omp-lock.h: Comment fix.
* config/linux/arm/mutex.h: Delete.
* config/linux/powerpc/mutex.h: Delete.
* config/linux/ia64/mutex.h: Delete.
* config/linux/mips/mutex.h: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181832 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/config/linux/arm/mutex.h [deleted file]
libgomp/config/linux/ia64/mutex.h [deleted file]
libgomp/config/linux/mips/mutex.h [deleted file]
libgomp/config/linux/mutex.c
libgomp/config/linux/mutex.h
libgomp/config/linux/omp-lock.h
libgomp/config/linux/powerpc/mutex.h [deleted file]
libgomp/critical.c
libgomp/ordered.c