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 Update copyright years. 2018-01-03 11:03:58 +01:00
.gitignore
acinclude.m4
aclocal.m4
auto-config.h.in
cas_n.c Update copyright years. 2018-01-03 11:03:58 +01:00
ChangeLog S/390: libatomic: Fix 16 byte atomic exchange 2018-03-09 12:32:22 +00:00
configure CET shouldn't be enabled in 32-bit run-time libraries by defualt 2018-02-19 17:25:49 +01:00
configure.ac Update copyright years. 2018-01-03 11:03:58 +01:00
configure.tgt S/390: libatomic: Fix 16 byte atomic exchange 2018-03-09 12:32:22 +00:00
exch_n.c Update copyright years. 2018-01-03 11:03:58 +01:00
fadd_n.c Update copyright years. 2018-01-03 11:03:58 +01:00
fand_n.c
fence.c Update copyright years. 2018-01-03 11:03:58 +01:00
fenv.c Update copyright years. 2018-01-03 11:03:58 +01:00
fior_n.c
flag.c Update copyright years. 2018-01-03 11:03:58 +01:00
fnand_n.c
fop_n.c Update copyright years. 2018-01-03 11:03:58 +01:00
fsub_n.c
fxor_n.c
gcas.c Update copyright years. 2018-01-03 11:03:58 +01:00
gexch.c Update copyright years. 2018-01-03 11:03:58 +01:00
glfree.c Update copyright years. 2018-01-03 11:03:58 +01:00
gload.c Update copyright years. 2018-01-03 11:03:58 +01:00
gstore.c Update copyright years. 2018-01-03 11:03:58 +01:00
host-config.h Update copyright years. 2018-01-03 11:03:58 +01:00
init.c
libatomic_i.h Update copyright years. 2018-01-03 11:03:58 +01:00
libatomic.map
load_n.c Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.am Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.in
store_n.c Update copyright years. 2018-01-03 11:03:58 +01:00
tas_n.c Update copyright years. 2018-01-03 11:03:58 +01:00