This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r180815 - in /branches/cxx-mem-model/gcc: Chang...


Author: rth
Date: Thu Nov  3 05:01:25 2011
New Revision: 180815

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180815
Log:
Remove compare-and-swap fallback for __atomic_load.

This might be valid if we knew for certain that the memory is
writable.  But I don't see that we can assume that.

	* optabs.c (expand_atomic_load): Don't try compare-and-swap.

Removed:
    branches/cxx-mem-model/gcc/testsuite/gcc.dg/atomic-load-5.c
    branches/cxx-mem-model/gcc/testsuite/gcc.dg/simulate-thread/atomic-load-int128.c
Modified:
    branches/cxx-mem-model/gcc/ChangeLog.mm
    branches/cxx-mem-model/gcc/optabs.c
    branches/cxx-mem-model/gcc/testsuite/ChangeLog.mm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]