tree-optimization/113895 - consistency check fails in copy_reference_ops_from_ref
[official-gcc.git] / libatomic / ChangeLog
blob1f199246e2a70633c43d1e6a77dbe086ec708edd
1 2024-02-14  Roger Sayle  <roger@nextmovesoftware.com>
2             Victor Do Nascimento  <victor.donascimento@arm.com>
4         PR other/113336
5         * Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX
6         * Makefile.in: Regenerate.
8 2024-02-03  John David Anglin  <danglin@gcc.gnu.org>
10         PR target/59778
11         * configure.tgt (hppa*): Set ARCH.
12         * config/pa/fenv.c: New file.
14 2024-01-28  Victor Do Nascimento  <victor.donascimento@arm.com>
16         * config/linux/aarch64/host-config.h (has_lse2): Add test for LSE.
17         (has_lse128): Add test for LSE2.
19 2024-01-28  Victor Do Nascimento  <victor.donascimento@arm.com>
21         * Makefile.am (AM_CPPFLAGS): add conditional setting of
22         -DHAVE_FEAT_LSE128.
23         * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): New.
24         * config/linux/aarch64/atomic_16.S (LSE128): New macro
25         definition.
26         (libat_exchange_16): New LSE128 variant.
27         (libat_fetch_or_16): Likewise.
28         (libat_or_fetch_16): Likewise.
29         (libat_fetch_and_16): Likewise.
30         (libat_and_fetch_16): Likewise.
31         * config/linux/aarch64/host-config.h (IFUNC_COND_2): New.
32         (IFUNC_NCOND): Add operand size checking.
33         (has_lse2): Renamed from `ifunc1`.
34         (has_lse128): New.
35         (HWCAP2_LSE128): Likewise.
36         * configure.ac: Add call to
37         LIBAT_TEST_FEAT_AARCH64_LSE128.
38         * configure (ac_subst_vars): Regenerated via autoreconf.
39         * Makefile.in: Likewise.
40         * auto-config.h.in: Likewise.
42 2024-01-28  Victor Do Nascimento  <victor.donascimento@arm.com>
44         * config/linux/aarch64/host-config.h (__ifunc_arg_t):
45         Conditionally-defined if `sys/ifunc.h' not found.
46         (_IFUNC_ARG_HWCAP): Likewise.
47         (IFUNC_COND_1): Pass __ifunc_arg_t argument to ifunc.
48         (ifunc1): Modify function signature to accept __ifunc_arg_t
49         argument.
50         * configure.tgt: Add second `const __ifunc_arg_t *features'
51         argument to IFUNC_RESOLVER_ARGS.
53 2024-01-28  Victor Do Nascimento  <victor.donascimento@arm.com>
55         * config/linux/aarch64/atomic_16.S (CORE): New macro.
56         (LSE2): Likewise.
57         (ENTRY_FEAT): Likewise.
58         (ENTRY_FEAT1): Likewise.
59         (END_FEAT): Likewise.
60         (END_FEAT1): Likewise.
61         (ALIAS): Modify macro to take in `arch' arguments.
62         (ALIAS1): New.
64 2023-12-15  Wilco Dijkstra  <wilco.dijkstra@arm.com>
66         * config/linux/aarch64/atomic_16.S: Implement lock-free ARMv8.0 atomics.
67         (libat_exchange_16): Merge RELEASE and ACQ_REL/SEQ_CST cases.
68         * config/linux/aarch64/host-config.h: Use atomic_16.S for baseline v8.0.
70 2023-11-10  Wilco Dijkstra  <wilco.dijkstra@arm.com>
72         * config/linux/aarch64/host-config.h (ifunc1): Use CPUID in ifunc
73         selection.
75 2023-10-26  Thomas Schwinge  <thomas@codesourcery.com>
77         PR testsuite/109951
78         * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'.
79         * Makefile.in: Regenerate.
80         * configure: Likewise.
81         * testsuite/Makefile.in: Likewise.
82         * testsuite/lib/libatomic.exp (libatomic_init): If
83         '--with-build-sysroot=[...]' was specified, use it for build-tree
84         testing.
85         * testsuite/libatomic-site-extra.exp.in (GCC_UNDER_TEST): Don't
86         set.
87         (SYSROOT_CFLAGS_FOR_TARGET): Set.
89 2023-10-23  Jan Beulich  <jbeulich@suse.com>
91         * Makefile.am (all-multi): Drop commands.
92         * Makefile.in: Update accordingly.
94 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
96         * testsuite/lib/libatomic.exp: Pass correct flags on darwin.
98 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
100         * Makefile.am: Handle Darwin rpaths.
101         * Makefile.in: Regenerate.
102         * configure: Regenerate.
103         * configure.ac: Handle Darwin rpaths.
105 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
107         * configure: Regenerate.
109 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
111         * configure: Regenerate.
113 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
115         * configure: Regenerate.
117 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
119         * configure: Regenerate.
121 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
123         * configure: Regenerate.
125 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
127         * configure: Regenerate.
129 2023-06-10  Xi Ruoyao  <xry111@xry111.site>
131         * configure.tgt: For x86_64, always set try_ifunc=yes.
133 2023-06-02  Thomas Schwinge  <thomas@codesourcery.com>
135         * configure.ac (PERL): Remove.
136         * configure: Regenerate.
137         * Makefile.in: Likewise.
138         * testsuite/Makefile.in: Likewise.
140 2023-03-24  Wilco Dijkstra  <wilco.dijkstra@arm.com>
142         PR libgcc/108891
143         * config/linux/aarch64/atomic_16.S: Fix libat_load_16_i1.
144         Add comments describing the memory order.
146 2023-03-03  Stefan Schulze Frielinghaus  <stefansf@linux.ibm.com>
148         * config/s390/cas_n.c: New file.
149         * config/s390/load_n.c: New file.
150         * config/s390/store_n.c: New file.
152 2023-01-16  Jonathan Wakely  <jwakely@redhat.com>
154         * configure.tgt (config_path) [target_thread_file=single]:
155         Use 'mingw' config.
157 2023-01-07  LIU Hao  <lh_mouse@126.com>
159         PR middle-end/108300
160         * config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before
161         <windows.h>.
163 2022-11-16  Martin Liska  <mliska@suse.cz>
165         * Makefile.in: Re-generate.
167 2022-11-15  Wilco Dijkstra  <wilco.dijkstra@arm.com>
169         * Makefile.in: Regenerated with automake 1.15.1.
170         * Makefile.am: Add atomic_16.S for AArch64.
171         * configure.tgt: Disable outline atomics in AArch64 build.
172         * config/linux/aarch64/atomic_16.S: New file - implementation of
173         ifuncs for 16-byte atomics.
174         * config/linux/aarch64/host-config.h: Enable ifuncs, use LSE
175         (HWCAP_ATOMICS) for 1-8-byte atomics and LSE2 (HWCAP_USCAT) for
176         16-byte atomics.
178 2022-11-15  Jakub Jelinek  <jakub@redhat.com>
180         PR target/104688
181         * config/x86/init.c (__libat_feat1_init): Don't clear
182         bit_AVX on AMD CPUs.
184 2022-10-19  LIU Hao  <lh_mouse@126.com>
186         * configure.tgt: Add new case for `mcf` thread model
188 2022-10-12  Martin Liska  <mliska@suse.cz>
190         * configure: Regenerate.
192 2022-10-11  Olivier Hainque  <hainque@adacore.com>
193             Olivier Hainque  <hainque@adacore.com>
195         * configure: Regenerate.
197 2022-08-30  Martin Liska  <mliska@suse.cz>
199         * testsuite/Makefile.in: Regenerate.
201 2022-08-08  Tamar Christina  <tamar.christina@arm.com>
203         PR target/102218
204         * config/arm/host-config.h (pre_seq_barrier, post_seq_barrier,
205         pre_post_seq_barrier): Require barrier on __ATOMIC_SEQ_CST.
207 2022-08-08  Tamar Christina  <tamar.christina@arm.com>
209         PR target/102218
210         * config/aarch64/aarch64-config.h: New file.
211         * config/aarch64/host-config.h: New file.
213 2022-06-02  David Malcolm  <dmalcolm@redhat.com>
215         * testsuite/lib/libatomic.exp: Add load_gcc_lib of scansarif.exp.
217 2022-03-24  Tom de Vries  <tdevries@suse.de>
219         PR target/105011
220         * tas_n.c (libat_test_and_set): Fix return value.
222 2022-03-17  Jakub Jelinek  <jakub@redhat.com>
224         PR target/104688
225         * Makefile.am (IFUNC_OPTIONS): Change on x86_64 to -mcx16 -mcx16.
226         (libatomic_la_LIBADD): Add $(addsuffix _16_2_.lo,$(SIZEOBJS)) for
227         x86_64.
228         * Makefile.in: Regenerated.
229         * config/x86/host-config.h (IFUNC_COND_1): For x86_64 define to
230         both AVX and CMPXCHG16B bits.
231         (IFUNC_COND_2): Define.
232         (IFUNC_NCOND): For x86_64 define to 2 * (N == 16).
233         (MAYBE_HAVE_ATOMIC_CAS_16, MAYBE_HAVE_ATOMIC_EXCHANGE_16,
234         MAYBE_HAVE_ATOMIC_LDST_16): Define to IFUNC_COND_2 rather than
235         IFUNC_COND_1.
236         (HAVE_ATOMIC_CAS_16): Redefine to 1 whenever IFUNC_ALT != 0.
237         (HAVE_ATOMIC_LDST_16): Redefine to 1 whenever IFUNC_ALT == 1.
238         (atomic_compare_exchange_n): Define whenever IFUNC_ALT != 0
239         on x86_64 for N == 16.
240         (__atomic_load_n, __atomic_store_n): Redefine whenever IFUNC_ALT == 1
241         on x86_64 for N == 16.
242         (atomic_load_n, atomic_store_n): New functions.
243         * config/x86/init.c (__libat_feat1_init): On x86_64 clear bit_AVX
244         if CPU vendor is not Intel.
246 2022-02-03  David Seifert  <soap@gentoo.org>
247             Jakub Jelinek  <jakub@redhat.com>
249         * configure.ac: Support --disable-werror.
250         * configure: Regenerate.
252 2022-01-31  Martin Liska  <mliska@suse.cz>
254         * acinclude.m4: Detect *_ld_is_mold and use it.
255         * configure: Regenerate.
257 2022-01-24  Martin Liska  <mliska@suse.cz>
259         * acinclude.m4: Remove duplicate
260         LIBAT_CHECK_LINKER_FEATURES.
261         * configure: Regenerate.
263 2021-07-21  Martin Sebor  <msebor@redhat.com>
265         PR bootstrap/101379
266         * config/linux/arm/host-config.h (__kernel_helper_version): New
267         function.  Adjust shadow macro.
269 2021-01-15  Jakub Jelinek  <jakub@redhat.com>
271         PR target/70454
272         * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
273         be added through preprocessor check on
274         __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.  Determine if try_ifunc is needed
275         based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
276         or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
278 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
280         * configure: Re-generate.
282 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
284         PR target/97865
285         * configure: Regenerate.
287 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
289         * configure: Regenerate.
291 2020-10-11  Clement Chigot  <clement.chigot@atos.net>
293         * config/t-aix: Delete and recreate libatomic before creating
294         FAT library.
296 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
298         * config/t-aix: Use $(AR) without -X32_64.
300 2020-09-11  Tom de Vries  <tdevries@suse.de>
302         PR target/96898
303         * configure.tgt: Add nvptx.
304         * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
305         * config/nvptx/host-config.h: New file.
306         * config/nvptx/lock.c: New file.
308 2020-09-07  Tom de Vries  <tdevries@suse.de>
310         * testsuite/libatomic.c/atomic-generic.c: Include string.h.
312 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
314         * config/t-aix: Set BITS from compiler cpp macro.
316 2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
318         * Makefile.am: Use -include.
319         * Makefile.in: Regenerate.
321 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
323         * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
324         * Makefile.in: Regenerate.
325         * configure.ac (tmake_file): Substitute.
326         * configure: Regenerate.
327         * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
328         * config/t-aix: New file.
330 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
332         * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
334 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
336         PR bootstrap/95413
337         * configure: Regenerated.
339 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
341         PR bootstrap/95147
342         * configure: Regenerated.
344 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
346         * configure: Regenerated.
348 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
350         * config/x86/fenv.c (__math_force_eval): Remove.
351         (__math_force_eval_div): New define.
352         (__atomic_deraiseexcept): Use __math_force_eval_div to use
353         generic division to generate INVALID, DIVZERO and INEXACT
354         exceptions.
356 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
358         * config/x86/fenv.c (__math_force_eval): New define.
359         (__atomic_feraiseexcept): Use __math_force_eval to evaluate
360         generic division to generate INVALID and DIVZERO exceptions.
362 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
364         * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
365         Remove unneeded assignments to volatile memory.
367 2020-04-06  Maciej W. Rozycki  <macro@wdc.com>
369         * configure.ac: Add testsuite/libatomic-site-extra.exp to output
370         files.
371         * configure: Regenerate.
372         * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
373         * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
374         variable.
375         * testsuite/Makefile.in: Regenerate.
377 2020-02-22  Jakub Jelinek  <jakub@redhat.com>
379         PR other/55930
380         * Makefile.am (M_DEPS): Guard the empty definition with
381         @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
382         * Makefile.in: Regenerated.
384 2020-02-22  Richard Purdie  <rpurdie@rpsys.net>
386         PR other/55930
387         * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
388         * Makefile.in: Regenerated.
390 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
392         * configure.ac: Handle `--with-toolexeclibdir='.
393         * Makefile.in: Regenerate.
394         * aclocal.m4: Regenerate.
395         * configure: Regenerate.
396         * testsuite/Makefile.in: Regenerate.
398 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
400         Update copyright years.
402 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
404         * configure: Regenerate.
406 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
408         * configure.tgt: Handle arm*-*-uclinux*.
409         * configure: Regenerate.
411 2019-09-03  Chung-Lin Tang  <cltang@codesourcery.com>
413         PR other/79543
414         * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
415         scanning to conform to the GNU Coding Standards.
416         * configure: Regenerate.
418 2019-06-14  Matt Thomas  <matt@3am-software.com>
419             Matthew Green  <mrg@eterna.com.au>
420             Nick Hudson  <skrll@netbsd.org>
421             Maya Rashish  <coypu@sdf.org>
423         * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
425 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
427         Update copyright years.
429 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
431         PR bootstrap/82856
432         * Makefile.am: Include multilib.am.
433         * acinclude.m4: Use AC_LANG_SOURCE.
434         * configure.ac: Remove AC_PREREQ.
435         * testsuite/Makefile.am (RUNTEST): Remove quotes.
436         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
437         Regenerate.
439 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
441         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
442         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
443         and HAVE_STREXBHD
445 2018-05-23  Florian Weimer  <fweimer@redhat.com>
447         PR libgcc/60790
448         x86: Do not assume ELF constructors run before IFUNC resolvers.
449         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
450         Remove declarations.
451         (__libat_feat1, __libat_feat1_init): Declare.
452         (FEAT1_REGISTER): Define.
453         (load_feat1): New function.
454         (IFUNC_COND_1): Adjust.
455         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
456         (init_cpuid): Remove definitions.
457         (__libat_feat1): New variable.
458         (__libat_feat1_init): New function.
460 2018-05-02  Tom de Vries  <tom@codesourcery.com>
462         PR testsuite/85106
463         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
465 2018-05-02  Tom de Vries  <tom@codesourcery.com>
467         PR testsuite/85106
468         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
470 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
472         * configure: Regenerated.
474 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
476         * configure: Regenerated.
478 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
480         PR jit/85384
481         * configure: Regenerate.
483 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
485         * config/s390/exch_n.c: New file.
486         * configure.tgt: Add the config directory for s390.
488 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
490         PR target/84148
491         * configure: Regenerate.
493 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
495         Update copyright years.
497 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
499         * Makefile.am (IFUNC_OPTIONS): Change aarch64
500         option from -march=armv8.1-a to -march=armv8-a+lse.
501         * configure.ac (*aarch64*): Check to see if
502         compiler understands -march=armv8-a+lse option.
503         * configure.tgt (*aarch64*): Only set try_ifunc
504         if compiler understands -march=armv8-a+lse option.
505         * Makefile.in: Regenerate.
506         * testsuite/Makefile.in: Regenerate.
507         * configure: Regenerate.
508         * aclocal.m4: Regenerate.
510 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
512         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
513         libatomic_la_LIBADD.
514         * config/linux/aarch64/host-config.h: New file.
515         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
516         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
517         * configure.tgt (aarch64): Set ARCH and try_ifunc.
518         (aarch64*-*-linux*) Update config_path.
519         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
520         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
521         * Makefile.in: Regenerate.
522         * auto-config.h.in: Regenerate.
523         * configure: Regenerate.
525 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
527         * configure.ac: Set CET_FLAGS, update XCFLAGS.
528         * acinclude.m4: Add cet.m4 and enable.m4.
529         * configure: Regenerate.
530         * Makefile.in: Likewise.
531         * testsuite/Makefile.in: Likewise.
533 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
535         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
536         -march=armv7-a+fp on Linux/Arm.
537         * Makefile.in: Regenerated.
539 2017-10-02  Martin Sebor  <msebor@redhat.com>
541         PR c/81854
542         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
543         a function pointer rather than void* to avoid GCC 8 warnings.
544         * configure: Regenerate.
545         * libatomic_i.h: Declare ifunc resolvers to return function
546         pointers rather than void*.
548 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
550         * testsuite/lib/libatomic.exp: Load scanlang.exp.
552 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
554         * configure.tgt: Add RISC-V tuple.
556 2017-02-01  Richard Henderson  <rth@redhat.com>
557             Torvald Riegel  <triegel@redhat.com>
559         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
560         * auto-config.h.in: Regenerate.
561         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
562         (atomic_compare_exchange_n): New.
563         * glfree.c (EXACT, LARGER): Change condition and add comments.
565 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
567         PR target/78945
568         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
570 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
572         PR other/79046
573         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
574         of cat to get version from BASE-VER file.
575         * testsuite/Makefile.in: Regenerated.
577 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
579         PR other/79046
580         * configure.ac: Add GCC_BASE_VER.
581         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
582         get version from BASE-VER file.
583         * testsuite/Makefile.in: Regenerated.
584         * configure: Regenerated.
585         * Makefile.in: Regenerated.
587 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
589         Update copyright years.
591 2016-11-15  Matthias Klose  <doko@ubuntu.com>
593         * configure: Regenerate.
595 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
597         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
598         (*-*-rtems*): New supported target.
599         * config/rtems/host-config.h: New file.
600         * config/rtems/lock.c: Likewise.
602 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
604         PR target/70454
605         * configure.tgt (XCFLAGS): Revert the last change.
607 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
609         PR target/70454
610         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
611         32-bit x86 target library on x86-64.
613 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
615         PR other/67627
616         * Makefile.am (all-multi): Add dependency.
617         * Makefile.in: Regenerate.
619 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
621         Update copyright years.
623 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
625         PR c/65083
626         * fence.c, flag.c: New files.
627         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
628         * Makefile.in: Regenerate.
629         * configure.ac (libtool_VERSION): Change to 3:0:2.
630         * configure: Regenerate.
631         * libatomic.map (LIBATOMIC_1.2): New symbol version.
633 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
635         * testsuite/lib/libatomic.exp: Load multiline.exp before
636         prune.exp, using load_gcc_lib.
638 2015-07-14  John Marino  <gnugcc@marino.st>
640         * configure.tgt: Add *-*-dragonfly to supported targets.
642 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
644         * fop_n.c (libat_fetch_op): Align address to word boundary.
645         (libat_op_fetch): Likewise.
647 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
649         PR testsuite/64605
650         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
651         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
653 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
655         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
657 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
659         Update copyright years.
661 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
663         * testsuite/lib/libatomic.exp: Load target-utils.exp
665 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
667         PR bootstrap/63784
668         * configure: Regenerated.
670 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
672         * cas_n.c (libat_compare_exchange): Add missing cast.
674 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
676         PR target/63610
677         * configure: Regenerate.
679 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
681         * configure.tgt: Add cygwin to supported targets.
683 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
685         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
687 2014-06-17  Kai Tietz  <ktietz@redhat.com>
689         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
690         * configure.ac (ACX_LT_HOST_FLAGS): New.
691         (target_thread_file): New.
692         * configure.tgt (mingw): Add mingw support.
693         * config/mingw/host-config.h: New file.
694         * config/mingw/lock.c: Likewise.
695         * Makefile.in: Regenerated.
696         * configure: Likewise.
697         * aclocal.m4: Likewise.
698         * testsuite/Makefile.in: Likewise.
700 2014-02-20  Richard Henderson <rth@redhat.com>
702         PR c++/60272
703         * cas_n.c (libat_compare_exchange): Conditionalize on failure
704         the store back to EPTR.
706 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
708         Update copyright years
710 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
712         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
713         instructions when __SSE_MATH__ is defined.
715 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
717         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
718         testsuite/libatomic.c/atomic-compare-exchange-2.c,
719         testsuite/libatomic.c/atomic-compare-exchange-3.c,
720         testsuite/libatomic.c/atomic-compare-exchange-4.c,
721         testsuite/libatomic.c/atomic-compare-exchange-5.c,
722         testsuite/libatomic.c/atomic-exchange-1.c,
723         testsuite/libatomic.c/atomic-exchange-2.c,
724         testsuite/libatomic.c/atomic-exchange-3.c,
725         testsuite/libatomic.c/atomic-exchange-4.c,
726         testsuite/libatomic.c/atomic-exchange-5.c,
727         testsuite/libatomic.c/atomic-generic.c,
728         testsuite/libatomic.c/atomic-load-1.c,
729         testsuite/libatomic.c/atomic-load-2.c,
730         testsuite/libatomic.c/atomic-load-3.c,
731         testsuite/libatomic.c/atomic-load-4.c,
732         testsuite/libatomic.c/atomic-load-5.c,
733         testsuite/libatomic.c/atomic-op-1.c,
734         testsuite/libatomic.c/atomic-op-2.c,
735         testsuite/libatomic.c/atomic-op-3.c,
736         testsuite/libatomic.c/atomic-op-4.c,
737         testsuite/libatomic.c/atomic-op-5.c,
738         testsuite/libatomic.c/atomic-store-1.c,
739         testsuite/libatomic.c/atomic-store-2.c,
740         testsuite/libatomic.c/atomic-store-3.c,
741         testsuite/libatomic.c/atomic-store-4.c,
742         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
743         int.  Do not require built-in sync support or add target-specific
744         options.
745         * testsuite/libatomic.c/atomic-exchange-1.c,
746         testsuite/libatomic.c/atomic-exchange-2.c,
747         testsuite/libatomic.c/atomic-exchange-3.c,
748         testsuite/libatomic.c/atomic-exchange-4.c,
749         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
750         count from expression using value of count.
752 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
754         * config/x86/fenv.c: New file.
756 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
758         * fenv.c: New file.
759         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
760         __atomic_feraiseexcept.
761         * configure.ac (libtool_VERSION): Change to 2:0:1.
762         (fenv.h): Test for header.
763         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
764         * Makefile.in, auto-config.h.in, configure: Regenerate.
766 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
768         * libatomic/configure.tgt (aarch64*): Remove code preventing
769         build.
771 2013-09-20  Alan Modra  <amodra@gmail.com>
773         * configure: Regenerate.
775 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
777         Update copyright years.
779 2012-12-18  Ian Lance Taylor  <iant@google.com>
781         PR go/55201
782         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
783         (libatomic_convenience_la_SOURCES): Likewise.
784         (libatomic_convenience_la_LIBADD): Likewise.
785         * Makefile.in: Rebuild.
786         * testsuite/Makefile.in: Rebuild.
788 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
790         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
792 2012-11-21  Matthias Klose  <doko@ubuntu.com>
794         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
796 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
798         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
799         * configure: Regenerate.
801         * configure: Regenerate.
803 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
805         Mark libatomic unsupported in AArch64.
807         * configure.tgt: Mark libatomic unsupported.
809 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
811         PR other/43620
812         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
813         * configure: Regenerate.
814         * Makefile.in: Regenerate.
816 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
818         * configure: Regenerated.
820 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
822         PR other/53231
823         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
825 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
827         * configure: Regenerated.
829 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
831         PR other/53284
832         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
833         instead of overriding.
834         * configure: Regenerate.
836 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
838         * Makefile.am (libatomic.map-sun): Handle objects in
839         libatomic_la_LIBADD.
840         * aclocal.m4: Regenerate.
841         * Makefile.in: Regenerate.
843 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
845         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
846         * configure: Regenerate.
848 2012-05-03  Richard Henderson  <rth@redhat.com>
850         * configure.ac (AM_MAINTAINER_MODE): New.
851         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
852         failure in gcc_no_link path.
853         * configure, aclocal.m4, Makefile.in: Rebuild.
855 2012-05-01  Richard Henderson  <rth@redhat.com>
857         * Initial commit.
859 Copyright (C) 2012-2024 Free Software Foundation, Inc.
861 Copying and distribution of this file, with or without modification,
862 are permitted in any medium without royalty provided the copyright
863 notice and this notice are preserved.