Generate gimple-match.c and generic-match.c earlier
[official-gcc.git] / libatomic / ChangeLog
bloba24ca8ae36470611df6e978ac6aa7962a0c8cf2c
1 2021-01-15  Jakub Jelinek  <jakub@redhat.com>
3         PR target/70454
4         * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
5         be added through preprocessor check on
6         __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.  Determine if try_ifunc is needed
7         based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
8         or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
10 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12         * configure: Re-generate.
14 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
16         PR target/97865
17         * configure: Regenerate.
19 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
21         * configure: Regenerate.
23 2020-10-11  Clement Chigot  <clement.chigot@atos.net>
25         * config/t-aix: Delete and recreate libatomic before creating
26         FAT library.
28 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
30         * config/t-aix: Use $(AR) without -X32_64.
32 2020-09-11  Tom de Vries  <tdevries@suse.de>
34         PR target/96898
35         * configure.tgt: Add nvptx.
36         * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
37         * config/nvptx/host-config.h: New file.
38         * config/nvptx/lock.c: New file.
40 2020-09-07  Tom de Vries  <tdevries@suse.de>
42         * testsuite/libatomic.c/atomic-generic.c: Include string.h.
44 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
46         * config/t-aix: Set BITS from compiler cpp macro.
48 2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
50         * Makefile.am: Use -include.
51         * Makefile.in: Regenerate.
53 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
55         * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
56         * Makefile.in: Regenerate.
57         * configure.ac (tmake_file): Substitute.
58         * configure: Regenerate.
59         * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
60         * config/t-aix: New file.
62 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
64         * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
66 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
68         PR bootstrap/95413
69         * configure: Regenerated.
71 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73         PR bootstrap/95147
74         * configure: Regenerated.
76 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78         * configure: Regenerated.
80 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
82         * config/x86/fenv.c (__math_force_eval): Remove.
83         (__math_force_eval_div): New define.
84         (__atomic_deraiseexcept): Use __math_force_eval_div to use
85         generic division to generate INVALID, DIVZERO and INEXACT
86         exceptions.
88 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
90         * config/x86/fenv.c (__math_force_eval): New define.
91         (__atomic_feraiseexcept): Use __math_force_eval to evaluate
92         generic division to generate INVALID and DIVZERO exceptions.
94 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
96         * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
97         Remove unneeded assignments to volatile memory.
99 2020-04-06  Maciej W. Rozycki  <macro@wdc.com>
101         * configure.ac: Add testsuite/libatomic-site-extra.exp to output
102         files.
103         * configure: Regenerate.
104         * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
105         * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
106         variable.
107         * testsuite/Makefile.in: Regenerate.
109 2020-02-22  Jakub Jelinek  <jakub@redhat.com>
111         PR other/55930
112         * Makefile.am (M_DEPS): Guard the empty definition with
113         @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
114         * Makefile.in: Regenerated.
116 2020-02-22  Richard Purdie  <rpurdie@rpsys.net>
118         PR other/55930
119         * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
120         * Makefile.in: Regenerated.
122 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
124         * configure.ac: Handle `--with-toolexeclibdir='.
125         * Makefile.in: Regenerate.
126         * aclocal.m4: Regenerate.
127         * configure: Regenerate.
128         * testsuite/Makefile.in: Regenerate.
130 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
132         Update copyright years.
134 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
136         * configure: Regenerate.
138 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
140         * configure.tgt: Handle arm*-*-uclinux*.
141         * configure: Regenerate.
143 2019-09-03  Chung-Lin Tang  <cltang@codesourcery.com>
145         PR other/79543
146         * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
147         scanning to conform to the GNU Coding Standards.
148         * configure: Regenerate.
150 2019-06-14  Matt Thomas  <matt@3am-software.com>
151             Matthew Green  <mrg@eterna.com.au>
152             Nick Hudson  <skrll@netbsd.org>
153             Maya Rashish  <coypu@sdf.org>
155         * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
157 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
159         Update copyright years.
161 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
163         PR bootstrap/82856
164         * Makefile.am: Include multilib.am.
165         * acinclude.m4: Use AC_LANG_SOURCE.
166         * configure.ac: Remove AC_PREREQ.
167         * testsuite/Makefile.am (RUNTEST): Remove quotes.
168         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
169         Regenerate.
171 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
173         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
174         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
175         and HAVE_STREXBHD
177 2018-05-23  Florian Weimer  <fweimer@redhat.com>
179         PR libgcc/60790
180         x86: Do not assume ELF constructors run before IFUNC resolvers.
181         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
182         Remove declarations.
183         (__libat_feat1, __libat_feat1_init): Declare.
184         (FEAT1_REGISTER): Define.
185         (load_feat1): New function.
186         (IFUNC_COND_1): Adjust.
187         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
188         (init_cpuid): Remove definitions.
189         (__libat_feat1): New variable.
190         (__libat_feat1_init): New function.
192 2018-05-02  Tom de Vries  <tom@codesourcery.com>
194         PR testsuite/85106
195         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
197 2018-05-02  Tom de Vries  <tom@codesourcery.com>
199         PR testsuite/85106
200         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
202 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
204         * configure: Regenerated.
206 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
208         * configure: Regenerated.
210 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
212         PR jit/85384
213         * configure: Regenerate.
215 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
217         * config/s390/exch_n.c: New file.
218         * configure.tgt: Add the config directory for s390.
220 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
222         PR target/84148
223         * configure: Regenerate.
225 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
227         Update copyright years.
229 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
231         * Makefile.am (IFUNC_OPTIONS): Change aarch64
232         option from -march=armv8.1-a to -march=armv8-a+lse.
233         * configure.ac (*aarch64*): Check to see if
234         compiler understands -march=armv8-a+lse option.
235         * configure.tgt (*aarch64*): Only set try_ifunc
236         if compiler understands -march=armv8-a+lse option.
237         * Makefile.in: Regenerate.
238         * testsuite/Makefile.in: Regenerate.
239         * configure: Regenerate.
240         * aclocal.m4: Regenerate.
242 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
244         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
245         libatomic_la_LIBADD.
246         * config/linux/aarch64/host-config.h: New file.
247         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
248         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
249         * configure.tgt (aarch64): Set ARCH and try_ifunc.
250         (aarch64*-*-linux*) Update config_path.
251         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
252         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
253         * Makefile.in: Regenerate.
254         * auto-config.h.in: Regenerate.
255         * configure: Regenerate.
257 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
259         * configure.ac: Set CET_FLAGS, update XCFLAGS.
260         * acinclude.m4: Add cet.m4 and enable.m4.
261         * configure: Regenerate.
262         * Makefile.in: Likewise.
263         * testsuite/Makefile.in: Likewise.
265 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
267         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
268         -march=armv7-a+fp on Linux/Arm.
269         * Makefile.in: Regenerated.
271 2017-10-02  Martin Sebor  <msebor@redhat.com>
273         PR c/81854
274         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
275         a function pointer rather than void* to avoid GCC 8 warnings.
276         * configure: Regenerate.
277         * libatomic_i.h: Declare ifunc resolvers to return function
278         pointers rather than void*.
280 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
282         * testsuite/lib/libatomic.exp: Load scanlang.exp.
284 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
286         * configure.tgt: Add RISC-V tuple.
288 2017-02-01  Richard Henderson  <rth@redhat.com>
289             Torvald Riegel  <triegel@redhat.com>
291         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
292         * auto-config.h.in: Regenerate.
293         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
294         (atomic_compare_exchange_n): New.
295         * glfree.c (EXACT, LARGER): Change condition and add comments.
297 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
299         PR target/78945
300         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
302 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
304         PR other/79046
305         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
306         of cat to get version from BASE-VER file.
307         * testsuite/Makefile.in: Regenerated.
309 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
311         PR other/79046
312         * configure.ac: Add GCC_BASE_VER.
313         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
314         get version from BASE-VER file.
315         * testsuite/Makefile.in: Regenerated.
316         * configure: Regenerated.
317         * Makefile.in: Regenerated.
319 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
321         Update copyright years.
323 2016-11-15  Matthias Klose  <doko@ubuntu.com>
325         * configure: Regenerate.
327 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
329         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
330         (*-*-rtems*): New supported target.
331         * config/rtems/host-config.h: New file.
332         * config/rtems/lock.c: Likewise.
334 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
336         PR target/70454
337         * configure.tgt (XCFLAGS): Revert the last change.
339 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
341         PR target/70454
342         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
343         32-bit x86 target library on x86-64.
345 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
347         PR other/67627
348         * Makefile.am (all-multi): Add dependency.
349         * Makefile.in: Regenerate.
351 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
353         Update copyright years.
355 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
357         PR c/65083
358         * fence.c, flag.c: New files.
359         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
360         * Makefile.in: Regenerate.
361         * configure.ac (libtool_VERSION): Change to 3:0:2.
362         * configure: Regenerate.
363         * libatomic.map (LIBATOMIC_1.2): New symbol version.
365 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
367         * testsuite/lib/libatomic.exp: Load multiline.exp before
368         prune.exp, using load_gcc_lib.
370 2015-07-14  John Marino  <gnugcc@marino.st>
372         * configure.tgt: Add *-*-dragonfly to supported targets.
374 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
376         * fop_n.c (libat_fetch_op): Align address to word boundary.
377         (libat_op_fetch): Likewise.
379 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
381         PR testsuite/64605
382         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
383         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
385 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
387         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
389 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
391         Update copyright years.
393 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
395         * testsuite/lib/libatomic.exp: Load target-utils.exp
397 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
399         PR bootstrap/63784
400         * configure: Regenerated.
402 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
404         * cas_n.c (libat_compare_exchange): Add missing cast.
406 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
408         PR target/63610
409         * configure: Regenerate.
411 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
413         * configure.tgt: Add cygwin to supported targets.
415 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
417         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
419 2014-06-17  Kai Tietz  <ktietz@redhat.com>
421         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
422         * configure.ac (ACX_LT_HOST_FLAGS): New.
423         (target_thread_file): New.
424         * configure.tgt (mingw): Add mingw support.
425         * config/mingw/host-config.h: New file.
426         * config/mingw/lock.c: Likewise.
427         * Makefile.in: Regenerated.
428         * configure: Likewise.
429         * aclocal.m4: Likewise.
430         * testsuite/Makefile.in: Likewise.
432 2014-02-20  Richard Henderson <rth@redhat.com>
434         PR c++/60272
435         * cas_n.c (libat_compare_exchange): Conditionalize on failure
436         the store back to EPTR.
438 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
440         Update copyright years
442 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
444         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
445         instructions when __SSE_MATH__ is defined.
447 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
449         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
450         testsuite/libatomic.c/atomic-compare-exchange-2.c,
451         testsuite/libatomic.c/atomic-compare-exchange-3.c,
452         testsuite/libatomic.c/atomic-compare-exchange-4.c,
453         testsuite/libatomic.c/atomic-compare-exchange-5.c,
454         testsuite/libatomic.c/atomic-exchange-1.c,
455         testsuite/libatomic.c/atomic-exchange-2.c,
456         testsuite/libatomic.c/atomic-exchange-3.c,
457         testsuite/libatomic.c/atomic-exchange-4.c,
458         testsuite/libatomic.c/atomic-exchange-5.c,
459         testsuite/libatomic.c/atomic-generic.c,
460         testsuite/libatomic.c/atomic-load-1.c,
461         testsuite/libatomic.c/atomic-load-2.c,
462         testsuite/libatomic.c/atomic-load-3.c,
463         testsuite/libatomic.c/atomic-load-4.c,
464         testsuite/libatomic.c/atomic-load-5.c,
465         testsuite/libatomic.c/atomic-op-1.c,
466         testsuite/libatomic.c/atomic-op-2.c,
467         testsuite/libatomic.c/atomic-op-3.c,
468         testsuite/libatomic.c/atomic-op-4.c,
469         testsuite/libatomic.c/atomic-op-5.c,
470         testsuite/libatomic.c/atomic-store-1.c,
471         testsuite/libatomic.c/atomic-store-2.c,
472         testsuite/libatomic.c/atomic-store-3.c,
473         testsuite/libatomic.c/atomic-store-4.c,
474         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
475         int.  Do not require built-in sync support or add target-specific
476         options.
477         * testsuite/libatomic.c/atomic-exchange-1.c,
478         testsuite/libatomic.c/atomic-exchange-2.c,
479         testsuite/libatomic.c/atomic-exchange-3.c,
480         testsuite/libatomic.c/atomic-exchange-4.c,
481         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
482         count from expression using value of count.
484 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
486         * config/x86/fenv.c: New file.
488 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
490         * fenv.c: New file.
491         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
492         __atomic_feraiseexcept.
493         * configure.ac (libtool_VERSION): Change to 2:0:1.
494         (fenv.h): Test for header.
495         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
496         * Makefile.in, auto-config.h.in, configure: Regenerate.
498 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
500         * libatomic/configure.tgt (aarch64*): Remove code preventing
501         build.
503 2013-09-20  Alan Modra  <amodra@gmail.com>
505         * configure: Regenerate.
507 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
509         Update copyright years.
511 2012-12-18  Ian Lance Taylor  <iant@google.com>
513         PR go/55201
514         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
515         (libatomic_convenience_la_SOURCES): Likewise.
516         (libatomic_convenience_la_LIBADD): Likewise.
517         * Makefile.in: Rebuild.
518         * testsuite/Makefile.in: Rebuild.
520 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
522         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
524 2012-11-21  Matthias Klose  <doko@ubuntu.com>
526         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
528 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
530         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
531         * configure: Regenerate.
533         * configure: Regenerate.
535 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
537         Mark libatomic unsupported in AArch64.
539         * configure.tgt: Mark libatomic unsupported.
541 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
543         PR other/43620
544         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
545         * configure: Regenerate.
546         * Makefile.in: Regenerate.
548 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
550         * configure: Regenerated.
552 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
554         PR other/53231
555         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
557 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
559         * configure: Regenerated.
561 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
563         PR other/53284
564         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
565         instead of overriding.
566         * configure: Regenerate.
568 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
570         * Makefile.am (libatomic.map-sun): Handle objects in
571         libatomic_la_LIBADD.
572         * aclocal.m4: Regenerate.
573         * Makefile.in: Regenerate.
575 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
577         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
578         * configure: Regenerate.
580 2012-05-03  Richard Henderson  <rth@redhat.com>
582         * configure.ac (AM_MAINTAINER_MODE): New.
583         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
584         failure in gcc_no_link path.
585         * configure, aclocal.m4, Makefile.in: Rebuild.
587 2012-05-01  Richard Henderson  <rth@redhat.com>
589         * Initial commit.
591 Copyright (C) 2012-2021 Free Software Foundation, Inc.
593 Copying and distribution of this file, with or without modification,
594 are permitted in any medium without royalty provided the copyright
595 notice and this notice are preserved.