1 2024-07-18 mayshao <mayshao-oc@zhaoxin.com>
4 * config/x86/init.c (__libat_feat1_init): Don't clear
5 bit_AVX on ZHAOXIN CPUs.
7 2024-07-18 Uros Bizjak <ubizjak@gmail.com>
9 * config/x86/init.c (__libat_feat1_init): Check the result of
10 __get_cpuid and process FEAT1_REGISTER only when __get_cpuid
11 returns success. Use __cpuid instead of nested __get_cpuid.
13 2024-06-25 Victor Do Nascimento <victor.donascimento@arm.com>
15 * config/linux/aarch64/atomic_16.S (libat_load_16): Add LRCPC3
17 (libat_store_16): Likewise.
18 * config/linux/aarch64/host-config.h (HWCAP2_LRCPC3): New.
19 (LSE2_LRCPC3_ATOP): Previously LSE2_ATOP. New ifuncs guarded
23 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com>
25 * config/linux/aarch64/atomic_16.S: Reorganize functions in
27 (HAVE_FEAT_LSE2): Delete.
29 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com>
31 * config/linux/aarch64/atomic_16.S: Remove unnecessary
34 (ENTRY_ALIASED): Likewise.
35 * config/linux/aarch64/host-config.h (LSE_ATOP): New.
36 (LSE2_ATOP): Likewise.
37 (LSE128_ATOP): Likewise.
38 (IFUNC_COND_1): Make its definition conditional on above 3
40 (IFUNC_NCOND): Likewise.
42 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com>
44 * cas_n.c (LAT_CAS_N): New.
45 * exch_n.c (LAT_EXCH_N): Likewise.
46 * fadd_n.c (LAT_FADD_N): Likewise.
47 * fand_n.c (LAT_FAND_N): Likewise.
48 * fence.c (LAT_FENCE): Likewise.
49 * fenv.c (LAT_FENV): Likewise.
50 * fior_n.c (LAT_FIOR_N): Likewise.
51 * flag.c (LAT_FLAG): Likewise.
52 * fnand_n.c (LAT_FNAND_N): Likewise.
53 * fop_n.c (LAT_FOP_N): Likewise
54 * fsub_n.c (LAT_FSUB_N): Likewise.
55 * fxor_n.c (LAT_FXOR_N): Likewise.
56 * gcas.c (LAT_GCAS): Likewise.
57 * gexch.c (LAT_GEXCH): Likewise.
58 * glfree.c (LAT_GLFREE): Likewise.
59 * gload.c (LAT_GLOAD): Likewise.
60 * gstore.c (LAT_GSTORE): Likewise.
61 * load_n.c (LAT_LOAD_N): Likewise.
62 * store_n.c (LAT_STORE_N): Likewise.
63 * tas_n.c (LAT_TAS_N): Likewise.
65 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com>
67 * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): Delete.
68 * auto-config.h.in (HAVE_FEAT_LSE128): Likewise
69 * config/linux/aarch64/atomic_16.S: Replace all LSE128
70 instructions with equivalent `.inst' directives.
71 (HAVE_FEAT_LSE128): Remove all references.
72 * configure: Regenerate.
73 * configure.ac: Remove call to LIBAT_TEST_FEAT_AARCH64_LSE128.
75 2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
78 * testsuite/lib/libatomic.exp (libatomic_target_compile): Pass new
79 dg-additional-files-options args.
81 2024-05-07 Zac Walker <zacwalker@microsoft.com>
83 * configure.tgt: Add aarch64-w64-mingw32 target.
85 2024-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
87 * Makefile.am [LIBAT_BUILD_VERSIONED_SHLIB_SUN]
88 (libatomic.map-sun): Pass $(libatomic_la_OBJECTS),
89 $(libatomic_la_LIBADD) to make_sunver.pl unmodified.
90 * Makefile.in: Regenerate.
92 2024-04-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
94 * config/linux/aarch64/atomic_16.S: Add __libat_ prefix in the
95 LSE2/LSE128/CORE macros, remove elsewhere. Add ATOMIC macro.
97 2024-04-05 Jakub Jelinek <jakub@redhat.com>
99 * configure: Regenerate.
101 2024-04-04 Wilco Dijkstra <wilco.dijkstra@arm.com>
104 * Makefile.in: Regenerated.
105 * Makefile.am: Make atomic_16.S not depend on HAVE_IFUNC.
106 Remove predefine of HAVE_FEAT_LSE128.
107 * acinclude.m4: Remove ARCH_AARCH64_HAVE_LSE128.
108 * configure: Regenerated.
109 * config/linux/aarch64/atomic_16.S: Add __atomic_ alias if !HAVE_IFUNC.
110 * config/linux/aarch64/host-config.h: Correctly handle !HAVE_IFUNC.
111 Add defines for HWCAP_ATOMICS and HWCAP_CPUID.
113 2024-02-14 Roger Sayle <roger@nextmovesoftware.com>
114 Victor Do Nascimento <victor.donascimento@arm.com>
117 * Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX
118 * Makefile.in: Regenerate.
120 2024-02-03 John David Anglin <danglin@gcc.gnu.org>
123 * configure.tgt (hppa*): Set ARCH.
124 * config/pa/fenv.c: New file.
126 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com>
128 * config/linux/aarch64/host-config.h (has_lse2): Add test for LSE.
129 (has_lse128): Add test for LSE2.
131 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com>
133 * Makefile.am (AM_CPPFLAGS): add conditional setting of
135 * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): New.
136 * config/linux/aarch64/atomic_16.S (LSE128): New macro
138 (libat_exchange_16): New LSE128 variant.
139 (libat_fetch_or_16): Likewise.
140 (libat_or_fetch_16): Likewise.
141 (libat_fetch_and_16): Likewise.
142 (libat_and_fetch_16): Likewise.
143 * config/linux/aarch64/host-config.h (IFUNC_COND_2): New.
144 (IFUNC_NCOND): Add operand size checking.
145 (has_lse2): Renamed from `ifunc1`.
147 (HWCAP2_LSE128): Likewise.
148 * configure.ac: Add call to
149 LIBAT_TEST_FEAT_AARCH64_LSE128.
150 * configure (ac_subst_vars): Regenerated via autoreconf.
151 * Makefile.in: Likewise.
152 * auto-config.h.in: Likewise.
154 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com>
156 * config/linux/aarch64/host-config.h (__ifunc_arg_t):
157 Conditionally-defined if `sys/ifunc.h' not found.
158 (_IFUNC_ARG_HWCAP): Likewise.
159 (IFUNC_COND_1): Pass __ifunc_arg_t argument to ifunc.
160 (ifunc1): Modify function signature to accept __ifunc_arg_t
162 * configure.tgt: Add second `const __ifunc_arg_t *features'
163 argument to IFUNC_RESOLVER_ARGS.
165 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com>
167 * config/linux/aarch64/atomic_16.S (CORE): New macro.
169 (ENTRY_FEAT): Likewise.
170 (ENTRY_FEAT1): Likewise.
171 (END_FEAT): Likewise.
172 (END_FEAT1): Likewise.
173 (ALIAS): Modify macro to take in `arch' arguments.
176 2023-12-15 Wilco Dijkstra <wilco.dijkstra@arm.com>
178 * config/linux/aarch64/atomic_16.S: Implement lock-free ARMv8.0 atomics.
179 (libat_exchange_16): Merge RELEASE and ACQ_REL/SEQ_CST cases.
180 * config/linux/aarch64/host-config.h: Use atomic_16.S for baseline v8.0.
182 2023-11-10 Wilco Dijkstra <wilco.dijkstra@arm.com>
184 * config/linux/aarch64/host-config.h (ifunc1): Use CPUID in ifunc
187 2023-10-26 Thomas Schwinge <thomas@codesourcery.com>
190 * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'.
191 * Makefile.in: Regenerate.
192 * configure: Likewise.
193 * testsuite/Makefile.in: Likewise.
194 * testsuite/lib/libatomic.exp (libatomic_init): If
195 '--with-build-sysroot=[...]' was specified, use it for build-tree
197 * testsuite/libatomic-site-extra.exp.in (GCC_UNDER_TEST): Don't
199 (SYSROOT_CFLAGS_FOR_TARGET): Set.
201 2023-10-23 Jan Beulich <jbeulich@suse.com>
203 * Makefile.am (all-multi): Drop commands.
204 * Makefile.in: Update accordingly.
206 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
208 * testsuite/lib/libatomic.exp: Pass correct flags on darwin.
210 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
212 * Makefile.am: Handle Darwin rpaths.
213 * Makefile.in: Regenerate.
214 * configure: Regenerate.
215 * configure.ac: Handle Darwin rpaths.
217 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
219 * configure: Regenerate.
221 2023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com>
223 * configure: Regenerate.
225 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
227 * configure: Regenerate.
229 2023-08-07 Nick Alcock <nick.alcock@oracle.com>
231 * configure: Regenerate.
233 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
235 * configure: Regenerate.
237 2023-08-07 H.J. Lu <hjl.tools@gmail.com>
239 * configure: Regenerate.
241 2023-06-10 Xi Ruoyao <xry111@xry111.site>
243 * configure.tgt: For x86_64, always set try_ifunc=yes.
245 2023-06-02 Thomas Schwinge <thomas@codesourcery.com>
247 * configure.ac (PERL): Remove.
248 * configure: Regenerate.
249 * Makefile.in: Likewise.
250 * testsuite/Makefile.in: Likewise.
252 2023-03-24 Wilco Dijkstra <wilco.dijkstra@arm.com>
255 * config/linux/aarch64/atomic_16.S: Fix libat_load_16_i1.
256 Add comments describing the memory order.
258 2023-03-03 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
260 * config/s390/cas_n.c: New file.
261 * config/s390/load_n.c: New file.
262 * config/s390/store_n.c: New file.
264 2023-01-16 Jonathan Wakely <jwakely@redhat.com>
266 * configure.tgt (config_path) [target_thread_file=single]:
269 2023-01-07 LIU Hao <lh_mouse@126.com>
272 * config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before
275 2022-11-16 Martin Liska <mliska@suse.cz>
277 * Makefile.in: Re-generate.
279 2022-11-15 Wilco Dijkstra <wilco.dijkstra@arm.com>
281 * Makefile.in: Regenerated with automake 1.15.1.
282 * Makefile.am: Add atomic_16.S for AArch64.
283 * configure.tgt: Disable outline atomics in AArch64 build.
284 * config/linux/aarch64/atomic_16.S: New file - implementation of
285 ifuncs for 16-byte atomics.
286 * config/linux/aarch64/host-config.h: Enable ifuncs, use LSE
287 (HWCAP_ATOMICS) for 1-8-byte atomics and LSE2 (HWCAP_USCAT) for
290 2022-11-15 Jakub Jelinek <jakub@redhat.com>
293 * config/x86/init.c (__libat_feat1_init): Don't clear
296 2022-10-19 LIU Hao <lh_mouse@126.com>
298 * configure.tgt: Add new case for `mcf` thread model
300 2022-10-12 Martin Liska <mliska@suse.cz>
302 * configure: Regenerate.
304 2022-10-11 Olivier Hainque <hainque@adacore.com>
305 Olivier Hainque <hainque@adacore.com>
307 * configure: Regenerate.
309 2022-08-30 Martin Liska <mliska@suse.cz>
311 * testsuite/Makefile.in: Regenerate.
313 2022-08-08 Tamar Christina <tamar.christina@arm.com>
316 * config/arm/host-config.h (pre_seq_barrier, post_seq_barrier,
317 pre_post_seq_barrier): Require barrier on __ATOMIC_SEQ_CST.
319 2022-08-08 Tamar Christina <tamar.christina@arm.com>
322 * config/aarch64/aarch64-config.h: New file.
323 * config/aarch64/host-config.h: New file.
325 2022-06-02 David Malcolm <dmalcolm@redhat.com>
327 * testsuite/lib/libatomic.exp: Add load_gcc_lib of scansarif.exp.
329 2022-03-24 Tom de Vries <tdevries@suse.de>
332 * tas_n.c (libat_test_and_set): Fix return value.
334 2022-03-17 Jakub Jelinek <jakub@redhat.com>
337 * Makefile.am (IFUNC_OPTIONS): Change on x86_64 to -mcx16 -mcx16.
338 (libatomic_la_LIBADD): Add $(addsuffix _16_2_.lo,$(SIZEOBJS)) for
340 * Makefile.in: Regenerated.
341 * config/x86/host-config.h (IFUNC_COND_1): For x86_64 define to
342 both AVX and CMPXCHG16B bits.
343 (IFUNC_COND_2): Define.
344 (IFUNC_NCOND): For x86_64 define to 2 * (N == 16).
345 (MAYBE_HAVE_ATOMIC_CAS_16, MAYBE_HAVE_ATOMIC_EXCHANGE_16,
346 MAYBE_HAVE_ATOMIC_LDST_16): Define to IFUNC_COND_2 rather than
348 (HAVE_ATOMIC_CAS_16): Redefine to 1 whenever IFUNC_ALT != 0.
349 (HAVE_ATOMIC_LDST_16): Redefine to 1 whenever IFUNC_ALT == 1.
350 (atomic_compare_exchange_n): Define whenever IFUNC_ALT != 0
351 on x86_64 for N == 16.
352 (__atomic_load_n, __atomic_store_n): Redefine whenever IFUNC_ALT == 1
353 on x86_64 for N == 16.
354 (atomic_load_n, atomic_store_n): New functions.
355 * config/x86/init.c (__libat_feat1_init): On x86_64 clear bit_AVX
356 if CPU vendor is not Intel.
358 2022-02-03 David Seifert <soap@gentoo.org>
359 Jakub Jelinek <jakub@redhat.com>
361 * configure.ac: Support --disable-werror.
362 * configure: Regenerate.
364 2022-01-31 Martin Liska <mliska@suse.cz>
366 * acinclude.m4: Detect *_ld_is_mold and use it.
367 * configure: Regenerate.
369 2022-01-24 Martin Liska <mliska@suse.cz>
371 * acinclude.m4: Remove duplicate
372 LIBAT_CHECK_LINKER_FEATURES.
373 * configure: Regenerate.
375 2021-07-21 Martin Sebor <msebor@redhat.com>
378 * config/linux/arm/host-config.h (__kernel_helper_version): New
379 function. Adjust shadow macro.
381 2021-01-15 Jakub Jelinek <jakub@redhat.com>
384 * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
385 be added through preprocessor check on
386 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. Determine if try_ifunc is needed
387 based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
388 or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
390 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
392 * configure: Re-generate.
394 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
397 * configure: Regenerate.
399 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
401 * configure: Regenerate.
403 2020-10-11 Clement Chigot <clement.chigot@atos.net>
405 * config/t-aix: Delete and recreate libatomic before creating
408 2020-09-27 Clement Chigot <clement.chigot@atos.net>
410 * config/t-aix: Use $(AR) without -X32_64.
412 2020-09-11 Tom de Vries <tdevries@suse.de>
415 * configure.tgt: Add nvptx.
416 * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
417 * config/nvptx/host-config.h: New file.
418 * config/nvptx/lock.c: New file.
420 2020-09-07 Tom de Vries <tdevries@suse.de>
422 * testsuite/libatomic.c/atomic-generic.c: Include string.h.
424 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
426 * config/t-aix: Set BITS from compiler cpp macro.
428 2020-06-22 David Edelsohn <dje.gcc@gmail.com>
430 * Makefile.am: Use -include.
431 * Makefile.in: Regenerate.
433 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
435 * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
436 * Makefile.in: Regenerate.
437 * configure.ac (tmake_file): Substitute.
438 * configure: Regenerate.
439 * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
440 * config/t-aix: New file.
442 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
444 * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
446 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
449 * configure: Regenerated.
451 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
454 * configure: Regenerated.
456 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
458 * configure: Regenerated.
460 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
462 * config/x86/fenv.c (__math_force_eval): Remove.
463 (__math_force_eval_div): New define.
464 (__atomic_deraiseexcept): Use __math_force_eval_div to use
465 generic division to generate INVALID, DIVZERO and INEXACT
468 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
470 * config/x86/fenv.c (__math_force_eval): New define.
471 (__atomic_feraiseexcept): Use __math_force_eval to evaluate
472 generic division to generate INVALID and DIVZERO exceptions.
474 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
476 * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
477 Remove unneeded assignments to volatile memory.
479 2020-04-06 Maciej W. Rozycki <macro@wdc.com>
481 * configure.ac: Add testsuite/libatomic-site-extra.exp to output
483 * configure: Regenerate.
484 * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
485 * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
487 * testsuite/Makefile.in: Regenerate.
489 2020-02-22 Jakub Jelinek <jakub@redhat.com>
492 * Makefile.am (M_DEPS): Guard the empty definition with
493 @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
494 * Makefile.in: Regenerated.
496 2020-02-22 Richard Purdie <rpurdie@rpsys.net>
499 * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
500 * Makefile.in: Regenerated.
502 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
504 * configure.ac: Handle `--with-toolexeclibdir='.
505 * Makefile.in: Regenerate.
506 * aclocal.m4: Regenerate.
507 * configure: Regenerate.
508 * testsuite/Makefile.in: Regenerate.
510 2020-01-01 Jakub Jelinek <jakub@redhat.com>
512 Update copyright years.
514 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
516 * configure: Regenerate.
518 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
520 * configure.tgt: Handle arm*-*-uclinux*.
521 * configure: Regenerate.
523 2019-09-03 Chung-Lin Tang <cltang@codesourcery.com>
526 * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
527 scanning to conform to the GNU Coding Standards.
528 * configure: Regenerate.
530 2019-06-14 Matt Thomas <matt@3am-software.com>
531 Matthew Green <mrg@eterna.com.au>
532 Nick Hudson <skrll@netbsd.org>
533 Maya Rashish <coypu@sdf.org>
535 * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
537 2019-01-01 Jakub Jelinek <jakub@redhat.com>
539 Update copyright years.
541 2018-10-31 Joseph Myers <joseph@codesourcery.com>
544 * Makefile.am: Include multilib.am.
545 * acinclude.m4: Use AC_LANG_SOURCE.
546 * configure.ac: Remove AC_PREREQ.
547 * testsuite/Makefile.am (RUNTEST): Remove quotes.
548 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
551 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
553 * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
554 __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
557 2018-05-23 Florian Weimer <fweimer@redhat.com>
560 x86: Do not assume ELF constructors run before IFUNC resolvers.
561 * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
563 (__libat_feat1, __libat_feat1_init): Declare.
564 (FEAT1_REGISTER): Define.
565 (load_feat1): New function.
566 (IFUNC_COND_1): Adjust.
567 * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
568 (init_cpuid): Remove definitions.
569 (__libat_feat1): New variable.
570 (__libat_feat1_init): New function.
572 2018-05-02 Tom de Vries <tom@codesourcery.com>
575 * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
577 2018-05-02 Tom de Vries <tom@codesourcery.com>
580 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
582 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
584 * configure: Regenerated.
586 2018-04-19 Jakub Jelinek <jakub@redhat.com>
588 * configure: Regenerated.
590 2018-04-18 David Malcolm <dmalcolm@redhat.com>
593 * configure: Regenerate.
595 2018-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
597 * config/s390/exch_n.c: New file.
598 * configure.tgt: Add the config directory for s390.
600 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
603 * configure: Regenerate.
605 2018-01-03 Jakub Jelinek <jakub@redhat.com>
607 Update copyright years.
609 2017-12-14 Steve Ellcey <sellcey@cavium.com>
611 * Makefile.am (IFUNC_OPTIONS): Change aarch64
612 option from -march=armv8.1-a to -march=armv8-a+lse.
613 * configure.ac (*aarch64*): Check to see if
614 compiler understands -march=armv8-a+lse option.
615 * configure.tgt (*aarch64*): Only set try_ifunc
616 if compiler understands -march=armv8-a+lse option.
617 * Makefile.in: Regenerate.
618 * testsuite/Makefile.in: Regenerate.
619 * configure: Regenerate.
620 * aclocal.m4: Regenerate.
622 2017-12-04 Steve Ellcey <sellcey@cavium.com>
624 * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
626 * config/linux/aarch64/host-config.h: New file.
627 * configure.ac (IFUNC_RESOLVER_ARGS): Define.
628 (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
629 * configure.tgt (aarch64): Set ARCH and try_ifunc.
630 (aarch64*-*-linux*) Update config_path.
631 (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
632 * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
633 * Makefile.in: Regenerate.
634 * auto-config.h.in: Regenerate.
635 * configure: Regenerate.
637 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
639 * configure.ac: Set CET_FLAGS, update XCFLAGS.
640 * acinclude.m4: Add cet.m4 and enable.m4.
641 * configure: Regenerate.
642 * Makefile.in: Likewise.
643 * testsuite/Makefile.in: Likewise.
645 2017-10-20 Richard Earnshaw <rearnsha@arm.com>
647 * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
648 -march=armv7-a+fp on Linux/Arm.
649 * Makefile.in: Regenerated.
651 2017-10-02 Martin Sebor <msebor@redhat.com>
654 * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
655 a function pointer rather than void* to avoid GCC 8 warnings.
656 * configure: Regenerate.
657 * libatomic_i.h: Declare ifunc resolvers to return function
658 pointers rather than void*.
660 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
662 * testsuite/lib/libatomic.exp: Load scanlang.exp.
664 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
666 * configure.tgt: Add RISC-V tuple.
668 2017-02-01 Richard Henderson <rth@redhat.com>
669 Torvald Riegel <triegel@redhat.com>
671 * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
672 * auto-config.h.in: Regenerate.
673 * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
674 (atomic_compare_exchange_n): New.
675 * glfree.c (EXACT, LARGER): Change condition and add comments.
677 2017-01-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
680 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
682 2017-01-21 Jakub Jelinek <jakub@redhat.com>
685 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
686 of cat to get version from BASE-VER file.
687 * testsuite/Makefile.in: Regenerated.
689 2017-01-17 Jakub Jelinek <jakub@redhat.com>
692 * configure.ac: Add GCC_BASE_VER.
693 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
694 get version from BASE-VER file.
695 * testsuite/Makefile.in: Regenerated.
696 * configure: Regenerated.
697 * Makefile.in: Regenerated.
699 2017-01-01 Jakub Jelinek <jakub@redhat.com>
701 Update copyright years.
703 2016-11-15 Matthias Klose <doko@ubuntu.com>
705 * configure: Regenerate.
707 2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
709 * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
710 (*-*-rtems*): New supported target.
711 * config/rtems/host-config.h: New file.
712 * config/rtems/lock.c: Likewise.
714 2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
717 * configure.tgt (XCFLAGS): Revert the last change.
719 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
722 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
723 32-bit x86 target library on x86-64.
725 2016-01-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
728 * Makefile.am (all-multi): Add dependency.
729 * Makefile.in: Regenerate.
731 2016-01-04 Jakub Jelinek <jakub@redhat.com>
733 Update copyright years.
735 2015-11-18 Joseph Myers <joseph@codesourcery.com>
738 * fence.c, flag.c: New files.
739 * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
740 * Makefile.in: Regenerate.
741 * configure.ac (libtool_VERSION): Change to 3:0:2.
742 * configure: Regenerate.
743 * libatomic.map (LIBATOMIC_1.2): New symbol version.
745 2015-10-09 David Malcolm <dmalcolm@redhat.com>
747 * testsuite/lib/libatomic.exp: Load multiline.exp before
748 prune.exp, using load_gcc_lib.
750 2015-07-14 John Marino <gnugcc@marino.st>
752 * configure.tgt: Add *-*-dragonfly to supported targets.
754 2015-01-21 Andrew Waterman <waterman@cs.berkeley.edu>
756 * fop_n.c (libat_fetch_op): Align address to word boundary.
757 (libat_op_fetch): Likewise.
759 2015-01-16 Ilya Verbin <ilya.verbin@intel.com>
762 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
763 * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
765 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
767 * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
769 2015-01-05 Jakub Jelinek <jakub@redhat.com>
771 Update copyright years.
773 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
775 * testsuite/lib/libatomic.exp: Load target-utils.exp
777 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
780 * configure: Regenerated.
782 2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
784 * cas_n.c (libat_compare_exchange): Add missing cast.
786 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
789 * configure: Regenerate.
791 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
793 * configure.tgt: Add cygwin to supported targets.
795 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
797 * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
799 2014-06-17 Kai Tietz <ktietz@redhat.com>
801 * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
802 * configure.ac (ACX_LT_HOST_FLAGS): New.
803 (target_thread_file): New.
804 * configure.tgt (mingw): Add mingw support.
805 * config/mingw/host-config.h: New file.
806 * config/mingw/lock.c: Likewise.
807 * Makefile.in: Regenerated.
808 * configure: Likewise.
809 * aclocal.m4: Likewise.
810 * testsuite/Makefile.in: Likewise.
812 2014-02-20 Richard Henderson <rth@redhat.com>
815 * cas_n.c (libat_compare_exchange): Conditionalize on failure
816 the store back to EPTR.
818 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
820 Update copyright years
822 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
824 * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
825 instructions when __SSE_MATH__ is defined.
827 2013-11-18 Joseph Myers <joseph@codesourcery.com>
829 * testsuite/libatomic.c/atomic-compare-exchange-1.c,
830 testsuite/libatomic.c/atomic-compare-exchange-2.c,
831 testsuite/libatomic.c/atomic-compare-exchange-3.c,
832 testsuite/libatomic.c/atomic-compare-exchange-4.c,
833 testsuite/libatomic.c/atomic-compare-exchange-5.c,
834 testsuite/libatomic.c/atomic-exchange-1.c,
835 testsuite/libatomic.c/atomic-exchange-2.c,
836 testsuite/libatomic.c/atomic-exchange-3.c,
837 testsuite/libatomic.c/atomic-exchange-4.c,
838 testsuite/libatomic.c/atomic-exchange-5.c,
839 testsuite/libatomic.c/atomic-generic.c,
840 testsuite/libatomic.c/atomic-load-1.c,
841 testsuite/libatomic.c/atomic-load-2.c,
842 testsuite/libatomic.c/atomic-load-3.c,
843 testsuite/libatomic.c/atomic-load-4.c,
844 testsuite/libatomic.c/atomic-load-5.c,
845 testsuite/libatomic.c/atomic-op-1.c,
846 testsuite/libatomic.c/atomic-op-2.c,
847 testsuite/libatomic.c/atomic-op-3.c,
848 testsuite/libatomic.c/atomic-op-4.c,
849 testsuite/libatomic.c/atomic-op-5.c,
850 testsuite/libatomic.c/atomic-store-1.c,
851 testsuite/libatomic.c/atomic-store-2.c,
852 testsuite/libatomic.c/atomic-store-3.c,
853 testsuite/libatomic.c/atomic-store-4.c,
854 testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
855 int. Do not require built-in sync support or add target-specific
857 * testsuite/libatomic.c/atomic-exchange-1.c,
858 testsuite/libatomic.c/atomic-exchange-2.c,
859 testsuite/libatomic.c/atomic-exchange-3.c,
860 testsuite/libatomic.c/atomic-exchange-4.c,
861 testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
862 count from expression using value of count.
864 2013-11-10 Uros Bizjak <ubizjak@gmail.com>
866 * config/x86/fenv.c: New file.
868 2013-11-07 Joseph Myers <joseph@codesourcery.com>
871 * libatomic.map (LIBATOMIC_1.1): New symbol version. Include
872 __atomic_feraiseexcept.
873 * configure.ac (libtool_VERSION): Change to 2:0:1.
874 (fenv.h): Test for header.
875 * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
876 * Makefile.in, auto-config.h.in, configure: Regenerate.
878 2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org>
880 * libatomic/configure.tgt (aarch64*): Remove code preventing
883 2013-09-20 Alan Modra <amodra@gmail.com>
885 * configure: Regenerate.
887 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
889 Update copyright years.
891 2012-12-18 Ian Lance Taylor <iant@google.com>
894 * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
895 (libatomic_convenience_la_SOURCES): Likewise.
896 (libatomic_convenience_la_LIBADD): Likewise.
897 * Makefile.in: Rebuild.
898 * testsuite/Makefile.in: Rebuild.
900 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
902 * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
904 2012-11-21 Matthias Klose <doko@ubuntu.com>
906 * configure.tgt (i[3456]86): Handle -mx32 like -m64.
908 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
910 * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
911 * configure: Regenerate.
913 * configure: Regenerate.
915 2012-10-23 Sofiane Naci <sofiane.naci@arm.com>
917 Mark libatomic unsupported in AArch64.
919 * configure.tgt: Mark libatomic unsupported.
921 2012-09-20 Jakub Jelinek <jakub@redhat.com>
924 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
925 * configure: Regenerate.
926 * Makefile.in: Regenerate.
928 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
930 * configure: Regenerated.
932 2012-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
935 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
937 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
939 * configure: Regenerated.
941 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
944 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
945 instead of overriding.
946 * configure: Regenerate.
948 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
950 * Makefile.am (libatomic.map-sun): Handle objects in
952 * aclocal.m4: Regenerate.
953 * Makefile.in: Regenerate.
955 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
957 * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
958 * configure: Regenerate.
960 2012-05-03 Richard Henderson <rth@redhat.com>
962 * configure.ac (AM_MAINTAINER_MODE): New.
963 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
964 failure in gcc_no_link path.
965 * configure, aclocal.m4, Makefile.in: Rebuild.
967 2012-05-01 Richard Henderson <rth@redhat.com>
971 Copyright (C) 2012-2024 Free Software Foundation, Inc.
973 Copying and distribution of this file, with or without modification,
974 are permitted in any medium without royalty provided the copyright
975 notice and this notice are preserved.