Use tree_vector_builder::new_unary_operation for folding
[official-gcc.git] / libatomic / ChangeLog
blob39656cdffc186bb6d499c148ab7b5e597374fcc6
1 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
3         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
4         libatomic_la_LIBADD.
5         * config/linux/aarch64/host-config.h: New file.
6         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
7         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
8         * configure.tgt (aarch64): Set ARCH and try_ifunc.
9         (aarch64*-*-linux*) Update config_path.
10         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
11         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
12         * Makefile.in: Regenerate.
13         * auto-config.h.in: Regenerate.
14         * configure: Regenerate.
16 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
18         * configure.ac: Set CET_FLAGS, update XCFLAGS.
19         * acinclude.m4: Add cet.m4 and enable.m4.
20         * configure: Regenerate.
21         * Makefile.in: Likewise.
22         * testsuite/Makefile.in: Likewise.
24 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
26         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
27         -march=armv7-a+fp on Linux/Arm.
28         * Makefile.in: Regenerated.
30 2017-10-02  Martin Sebor  <msebor@redhat.com>
32         PR c/81854
33         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
34         a function pointer rather than void* to avoid GCC 8 warnings.
35         * configure: Regenerate.
36         * libatomic_i.h: Declare ifunc resolvers to return function
37         pointers rather than void*.
39 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
41         * testsuite/lib/libatomic.exp: Load scanlang.exp.
43 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
45         * configure.tgt: Add RISC-V tuple.
47 2017-02-01  Richard Henderson  <rth@redhat.com>
48             Torvald Riegel  <triegel@redhat.com>
50         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
51         * auto-config.h.in: Regenerate.
52         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
53         (atomic_compare_exchange_n): New.
54         * glfree.c (EXACT, LARGER): Change condition and add comments.
56 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
58         PR target/78945
59         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
61 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
63         PR other/79046
64         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
65         of cat to get version from BASE-VER file.
66         * testsuite/Makefile.in: Regenerated.
68 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
70         PR other/79046
71         * configure.ac: Add GCC_BASE_VER.
72         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
73         get version from BASE-VER file.
74         * testsuite/Makefile.in: Regenerated.
75         * configure: Regenerated.
76         * Makefile.in: Regenerated.
78 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
80         Update copyright years.
82 2016-11-15  Matthias Klose  <doko@ubuntu.com>
84         * configure: Regenerate.
86 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
88         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
89         (*-*-rtems*): New supported target.
90         * config/rtems/host-config.h: New file.
91         * config/rtems/lock.c: Likewise.
93 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
95         PR target/70454
96         * configure.tgt (XCFLAGS): Revert the last change.
98 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
100         PR target/70454
101         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
102         32-bit x86 target library on x86-64.
104 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
106         PR other/67627
107         * Makefile.am (all-multi): Add dependency.
108         * Makefile.in: Regenerate.
110 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
112         Update copyright years.
114 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
116         PR c/65083
117         * fence.c, flag.c: New files.
118         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
119         * Makefile.in: Regenerate.
120         * configure.ac (libtool_VERSION): Change to 3:0:2.
121         * configure: Regenerate.
122         * libatomic.map (LIBATOMIC_1.2): New symbol version.
124 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
126         * testsuite/lib/libatomic.exp: Load multiline.exp before
127         prune.exp, using load_gcc_lib.
129 2015-07-14  John Marino  <gnugcc@marino.st>
131         * configure.tgt: Add *-*-dragonfly to supported targets.
133 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
135         * fop_n.c (libat_fetch_op): Align address to word boundary.
136         (libat_op_fetch): Likewise.
138 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
140         PR testsuite/64605
141         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
142         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
144 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
146         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
148 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
150         Update copyright years.
152 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
154         * testsuite/lib/libatomic.exp: Load target-utils.exp
156 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
158         PR bootstrap/63784
159         * configure: Regenerated.
161 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
163         * cas_n.c (libat_compare_exchange): Add missing cast.
165 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
167         PR target/63610
168         * configure: Regenerate.
170 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
172         * configure.tgt: Add cygwin to supported targets.
174 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
176         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
178 2014-06-17  Kai Tietz  <ktietz@redhat.com>
180         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
181         * configure.ac (ACX_LT_HOST_FLAGS): New.
182         (target_thread_file): New.
183         * configure.tgt (mingw): Add mingw support.
184         * config/mingw/host-config.h: New file.
185         * config/mingw/lock.c: Likewise.
186         * Makefile.in: Regenerated.
187         * configure: Likewise.
188         * aclocal.m4: Likewise.
189         * testsuite/Makefile.in: Likewise.
191 2014-02-20  Richard Henderson <rth@redhat.com>
193         PR c++/60272
194         * cas_n.c (libat_compare_exchange): Conditionalize on failure
195         the store back to EPTR.
197 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
199         Update copyright years
201 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
203         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
204         instructions when __SSE_MATH__ is defined.
206 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
208         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
209         testsuite/libatomic.c/atomic-compare-exchange-2.c,
210         testsuite/libatomic.c/atomic-compare-exchange-3.c,
211         testsuite/libatomic.c/atomic-compare-exchange-4.c,
212         testsuite/libatomic.c/atomic-compare-exchange-5.c,
213         testsuite/libatomic.c/atomic-exchange-1.c,
214         testsuite/libatomic.c/atomic-exchange-2.c,
215         testsuite/libatomic.c/atomic-exchange-3.c,
216         testsuite/libatomic.c/atomic-exchange-4.c,
217         testsuite/libatomic.c/atomic-exchange-5.c,
218         testsuite/libatomic.c/atomic-generic.c,
219         testsuite/libatomic.c/atomic-load-1.c,
220         testsuite/libatomic.c/atomic-load-2.c,
221         testsuite/libatomic.c/atomic-load-3.c,
222         testsuite/libatomic.c/atomic-load-4.c,
223         testsuite/libatomic.c/atomic-load-5.c,
224         testsuite/libatomic.c/atomic-op-1.c,
225         testsuite/libatomic.c/atomic-op-2.c,
226         testsuite/libatomic.c/atomic-op-3.c,
227         testsuite/libatomic.c/atomic-op-4.c,
228         testsuite/libatomic.c/atomic-op-5.c,
229         testsuite/libatomic.c/atomic-store-1.c,
230         testsuite/libatomic.c/atomic-store-2.c,
231         testsuite/libatomic.c/atomic-store-3.c,
232         testsuite/libatomic.c/atomic-store-4.c,
233         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
234         int.  Do not require built-in sync support or add target-specific
235         options.
236         * testsuite/libatomic.c/atomic-exchange-1.c,
237         testsuite/libatomic.c/atomic-exchange-2.c,
238         testsuite/libatomic.c/atomic-exchange-3.c,
239         testsuite/libatomic.c/atomic-exchange-4.c,
240         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
241         count from expression using value of count.
243 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
245         * config/x86/fenv.c: New file.
247 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
249         * fenv.c: New file.
250         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
251         __atomic_feraiseexcept.
252         * configure.ac (libtool_VERSION): Change to 2:0:1.
253         (fenv.h): Test for header.
254         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
255         * Makefile.in, auto-config.h.in, configure: Regenerate.
257 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
259         * libatomic/configure.tgt (aarch64*): Remove code preventing
260         build.
262 2013-09-20  Alan Modra  <amodra@gmail.com>
264         * configure: Regenerate.
266 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
268         Update copyright years.
270 2012-12-18  Ian Lance Taylor  <iant@google.com>
272         PR go/55201
273         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
274         (libatomic_convenience_la_SOURCES): Likewise.
275         (libatomic_convenience_la_LIBADD): Likewise.
276         * Makefile.in: Rebuild.
277         * testsuite/Makefile.in: Rebuild.
279 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
281         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
283 2012-11-21  Matthias Klose  <doko@ubuntu.com>
285         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
287 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
289         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
290         * configure: Regenerate.
292         * configure: Regenerate.
294 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
296         Mark libatomic unsupported in AArch64.
298         * configure.tgt: Mark libatomic unsupported.
300 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
302         PR other/43620
303         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
304         * configure: Regenerate.
305         * Makefile.in: Regenerate.
307 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
309         * configure: Regenerated.
311 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
313         PR other/53231
314         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
316 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
318         * configure: Regenerated.
320 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
322         PR other/53284
323         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
324         instead of overriding.
325         * configure: Regenerate.
327 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
329         * Makefile.am (libatomic.map-sun): Handle objects in
330         libatomic_la_LIBADD.
331         * aclocal.m4: Regenerate.
332         * Makefile.in: Regenerate.
334 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
336         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
337         * configure: Regenerate.
339 2012-05-03  Richard Henderson  <rth@redhat.com>
341         * configure.ac (AM_MAINTAINER_MODE): New.
342         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
343         failure in gcc_no_link path.
344         * configure, aclocal.m4, Makefile.in: Rebuild.
346 2012-05-01  Richard Henderson  <rth@redhat.com>
348         * Initial commit.
350 Copyright (C) 2012-2017 Free Software Foundation, Inc.
352 Copying and distribution of this file, with or without modification,
353 are permitted in any medium without royalty provided the copyright
354 notice and this notice are preserved.