gcc/libatomic
Andreas Krebbel a4c6bd0821 S/390: libatomic: Fix 16 byte atomic exchange
The compiler builtin will use the hardware instruction cdsg if the
memory operand is properly aligned and will fall back to the
library call otherwise.
In case the compiler for one part is able to detect that the
location is aligned and fails to do so for another usage of the hw
instruction and the sw fall back would be mixed on the same memory
location.  To avoid this the library fall back also has to use the
hardware instruction if possible.

libatomic/ChangeLog:

2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/s390/exch_n.c: New file.
	* configure.tgt: Add the config directory for s390.

From-SVN: r258384
2018-03-09 12:32:22 +00:00
..
config S/390: libatomic: Fix 16 byte atomic exchange 2018-03-09 12:32:22 +00:00
testsuite
.gitignore
acinclude.m4
aclocal.m4
auto-config.h.in
cas_n.c
ChangeLog S/390: libatomic: Fix 16 byte atomic exchange 2018-03-09 12:32:22 +00:00
configure
configure.ac
configure.tgt S/390: libatomic: Fix 16 byte atomic exchange 2018-03-09 12:32:22 +00:00
exch_n.c
fadd_n.c
fand_n.c
fence.c
fenv.c
fior_n.c
flag.c
fnand_n.c
fop_n.c
fsub_n.c
fxor_n.c
gcas.c
gexch.c
glfree.c
gload.c
gstore.c
host-config.h
init.c
libatomic_i.h
libatomic.map
load_n.c
Makefile.am
Makefile.in
store_n.c
tas_n.c