gcc/libstdc++-v3/config/cpu
Adrian Straetling e0374221d9 s390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants.
2005-06-07  Adrian Straetling  <straetling@de.ibm.com>

gcc/ChangeLog:
	* config/s390/s390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants.
	("type"): Add "sem" to 'type' attribute.
	("memory_barrier", "*memory_barrier", "sync_compare_and_swapdi",
	"sync_compare_and_swapsi", "sync_compare_and_swap_ccdi",
	"sync_compare_and_swap_ccsi", "*sync_compare_and_swap_ccdi",
	"*sync_compare_and_swap_ccsi"): New patterns.
	* config/s390/2064.md: ("z_sem"): New insn_reservation.
	* config/s390/2084.md: ("x_sem"): New insn_reservation.
	* config/s390/s390.c: (s390_compare_emitted): New global variable.
	(s390_emit_compare): Do not emit comparison again after cas.
	* config/s390/s390.h (s390_compare_emitted): Declare.

libstdc++/ChangeLog:
	* config/cpu/s390/atomicity.h: (__exchange_and_add,
	__atomic_add): Use the builtins for atomic memory operations.

From-SVN: r100711
2005-06-07 16:35:27 +00:00
..
alpha atomicity.h: Use the builtins for atomic memory operations. 2005-05-25 09:25:25 +00:00
arm Add memory barriers to the double-checked locking used for static initialization. 2004-12-27 23:36:54 -05:00
cris re PR target/19065 (Make CRIS libstdc++ asms autoincrement-safe) 2005-02-28 02:33:39 +00:00
generic Add memory barriers to the double-checked locking used for static initialization. 2004-12-27 23:36:54 -05:00
hppa atomicity.h (__exchange_and_add, [...]): Add memory barrier to locking asm. 2004-08-20 16:08:49 +00:00
i386 atomicity.h: Include c++config.h to get defines. 2004-02-27 20:56:46 +00:00
i486 atomicity.h: New, forward declarations for __atomic_add and __exchange_and_add. 2004-02-27 00:49:50 +00:00
ia64 atomicity.h: Use the builtins for atomic memory operations. 2005-05-25 09:25:25 +00:00
m68k atomicity.h: Include c++config.h to get defines. 2004-02-27 20:56:46 +00:00
mips atomicity.h: Prevent reg loads between LL and SC instructions. 2004-03-19 23:12:10 +00:00
powerpc atomicity.h: Use the builtins for atomic memory operations. 2005-05-25 09:25:25 +00:00
s390 s390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants. 2005-06-07 16:35:27 +00:00
sh Introduce sh4a support. 2004-07-28 09:13:58 +00:00
sparc Add memory barriers to the double-checked locking used for static initialization. 2004-12-27 23:36:54 -05:00