gcc/libstdc++-v3
Andrew MacLeod 0669295b1e atomic_base.h (atomic_thread_fence): Call builtin.
2011-11-07  Andrew MacLeod  <amacleod@redhat.com>

	libstdc++-v3
	* include/bits/atomic_base.h (atomic_thread_fence): Call builtin.
	(atomic_signal_fence): Call builtin.
	(atomic_flag::test_and_set): Call __atomic_exchange when it is lockfree,
	otherwise fall back to call __sync_lock_test_and_set.
	(atomic_flag::clear): Call __atomic_store when it is lockfree,
	otherwise fall back to call __sync_lock_release.

	gcc
	* doc/extend.texi: Docuemnt behaviour change for __atomic_exchange and
	__atomic_store.
	* optabs.c (expand_atomic_exchange): Expand to __sync_lock_test_and_set
	only when originated from that builtin.
	(expand_atomic_store): Expand to __sync_lock_release when originated
	from that builtin.
	* builtins.c (expand_builtin_sync_lock_test_and_set): Add flag that
	expand_atomic_exchange call originated from here.
	(expand_builtin_sync_lock_release): Add flag that expand_atomic_store
	call originated from here.
	(expand_builtin_atomic_exchange): Add origination flag.
	(expand_builtin_atomic_store): Add origination flag.
	* expr.h (expand_atomic_exchange, expand_atomic_store): Add boolean 
	parameters to indicate implementation fall back options.

From-SVN: r181111
2011-11-07 20:06:39 +00:00
..
config * config/abi/pre/gnu.ver: Fix exports for string::pop_back. 2011-11-07 11:36:04 +00:00
doc acinclude.m4: Check for <stdalign.h> 2011-11-07 08:46:58 +00:00
include atomic_base.h (atomic_thread_fence): Call builtin. 2011-11-07 20:06:39 +00:00
libsupc++ Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
po Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
python Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
scripts run_doxygen: Fix sed quoting. 2011-11-04 19:39:23 +00:00
src acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
testsuite acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
acinclude.m4 acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
aclocal.m4 aclocal.m4: Regenerate. 2011-01-11 16:43:25 +00:00
ChangeLog atomic_base.h (atomic_thread_fence): Call builtin. 2011-11-07 20:06:39 +00:00
ChangeLog-1998
ChangeLog-1999 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2000 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2001
ChangeLog-2002 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2003 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2004 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2005 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2006 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2007 ChangeLog: Remove spurious white spaces and tabs. 2009-12-04 16:29:26 +00:00
ChangeLog-2008 2009-04-13 Paolo Carlini <paolo.carlini@oracle.com> 2009-04-13 14:41:54 +00:00
ChangeLog-2009 Move 2009 ChangeLog to ChangeLog-2009. 2010-01-01 09:08:32 -08:00
ChangeLog-2010 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
config.h.in acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
configure acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
configure.ac acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define. 2011-11-07 13:45:03 +00:00
configure.host configure.host: Use config/os/mingw32-w64 instead of config/os/mingw32 if vendor key is "w64". 2011-10-14 08:57:55 +02:00
crossconfig.m4 re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables) 2011-07-18 11:04:18 +00:00
fragment.am fragment.am (CONFIG_CXXFLAGS): Add -frandom-seed. 2011-07-22 13:52:51 +00:00
linkage.m4 re PR libstdc++/32666 (FAIL: abi_check hppa) 2009-01-15 20:02:11 +00:00
Makefile.am run_doxygen: Allow doxygen 1.7.1 again. 2010-12-31 22:20:22 +00:00
Makefile.in Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
README mainpage.html: Add in corrected links. 2008-02-12 02:10:57 +00:00

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.