gcc/libgcc/config/pa
John David Anglin 2b1969f635 pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum.
gcc
	* config/pa/pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum.
	Update comment for atomic instructions.
	(atomic_storeqi, atomic_storehi, atomic_storesi, atomic_storesf,
	atomic_loaddf, atomic_loaddf_1, atomic_storedf, atomic_storedf_1):
	Remove.
	(atomic_loaddi): Revise fence expansion to only emit fence prior to
	load for __ATOMIC_SEQ_CST model.
	(atomic_loaddi_1): Remove float register target.
	(atomic_storedi): Handle CONST_INT values.
	(atomic_storedi_1): Remove float register source.  Add special case
	for zero value.
	(memory_barrier): New expander and insn.

	libgcc
	* config/pa/linux-atomic.c: Update comment.
	(FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
	COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
	SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
	__ATOMIC_RELAXED for atomic loads.
	(SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
	unordered store to release lock.
	(__sync_lock_release_8): Likewise.
	(SYNC_LOCK_RELEASE_2): Remove define.

From-SVN: r263488
2018-08-11 21:37:55 +00:00
..
fptr.c fptr.c (_dl_read_access_allowed): New. 2018-03-07 00:17:32 +00:00
gthr-dce.h Update copyright years. 2018-01-03 11:03:58 +01:00
hpux-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
lib2funcs.S Update copyright years. 2018-01-03 11:03:58 +01:00
linux-atomic.c pa.md (UNSPEC_MEMORY_BARRIER): New unspec enum. 2018-08-11 21:37:55 +00:00
linux-unwind.h Update copyright years. 2018-01-03 11:03:58 +01:00
milli64.S Update copyright years. 2018-01-03 11:03:58 +01:00
pa64-hpux-lib.h Update copyright years. 2018-01-03 11:03:58 +01:00
quadlib.c Update copyright years. 2018-01-03 11:03:58 +01:00
stublib.c re PR lto/83452 (FAIL: gfortran.dg/save_6.f90 -O0 (test for excess errors)) 2018-01-21 17:52:44 +00:00
t-hpux
t-hpux10
t-linux
t-linux64
t-openbsd
t-pa64
t-slibgcc-dwarf-ver
t-slibgcc-hpux Update copyright years. 2018-01-03 11:03:58 +01:00
t-slibgcc-sjlj-ver
t-stublib re PR lto/83452 (FAIL: gfortran.dg/save_6.f90 -O0 (test for excess errors)) 2018-01-21 17:52:44 +00:00