2026-04-30 Release Manager * GCC 16.1.0 released. 2026-02-21 Jakub Jelinek <jakub@redhat.com> * Makefile.am (all-local): Depend on stmp-libatomic and otherwise do nothing. (stmp-libatomic): New goal, move all commands from all-local here plus touch $@ at the end. * Makefile.in: Regenerate. 2026-01-30 Jakub Jelinek <jakub@redhat.com> * Makefile.am (all-local, install-asneeded): Only create libatomic_asneeded.so script if libatomic.so exist, only create libatomic_asneeded.a symlink if libatomic.a exist. * Makefile.in: Regenerate. 2026-01-19 Jakub Jelinek <jakub@redhat.com> PR libgcc/123650 * Makefile.am (toolexeclib_DATA): Remove. (all-local): For LIBAT_BUILD_ASNEEDED_SOLINK instead of installing libatomic_asneeded.{so,a} from top_srcdir cd into the destination directory, use echo to write libatomic_asneeded.so and $(LN_S) to symlink libatomic_asneeded.a to libatomic.a. (install-data-am): For LIBAT_BUILD_ASNEEDED_SOLINK depend on install-asneeded. (install-asneeded): New goal. * libatomic_asneeded.so: Remove. * libatomic_asneeded.a: Remove. * Makefile.in: Regenerate. 2026-01-13 Jakub Jelinek <jakub@redhat.com> PR libstdc++/123396 * acinclude.m4 (LIBAT_BUILD_ASNEEDED_SOLINK): New AM_CONDITIONAL. * libatomic_asneeded.so: New file. * libatomic_asneeded.a: New file. * Makefile.am (toolexeclib_DATA): Set if LIBAT_BUILD_ASNEEDED_SOLINK. (all-local): Install those files into gcc subdir. * Makefile.in: Regenerate. * configure: Regenerate. 2025-12-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * configure: Regenerate. 2025-12-11 Mark Wielaard <mark@klomp.org> * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. 2025-12-09 John Ericson <git@johnericson.me> * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * configure.ac: Use GCC_AC_THREAD_MODEL instead of hand-rolled * testsuite/Makefile.in: Regenerate. 2025-11-19 Martin Liska <martin.liska@hey.com> * acinclude.m4: Add detection for wild linker. * configure: Regenerate. 2025-11-13 Xi Ruoyao <xry111@xry111.site> * configure.ac (ARCH_LOONGARCH): New AM_CONDITIONAL. * Makefile.am (IFUNC_OPT): Separate the item from IFUNC_OPTIONS to allow using multiple options for an ISA variant. (libatomic_la_LIBADD): Add *_16_1_.lo for LoongArch. (IFUNC_OPTIONS): Build *_16_1_.lo for LoongArch with -mlsx and -mscq. * configure: Regenerate. * Makefile.in: Regenerate. * configure.tgt (try_ifunc): Set to yes for LoongArch if the compiler can produce lock-free 16B atomic with -mlsx -mscq. * config/loongarch/host-config.h: Implement ifunc selector. 2025-11-03 Sam James <sam@gentoo.org> * configure: Regenerate. 2025-10-09 Prathamesh Kulkarni <prathameshk@nvidia.com> Matthew Malcolmson <mmalcolmson@nvidia.com> PR driver/81358 * Makefile.am: Pass -fno-link-libatomic. New rule all-local. * configure.ac: Assert that CFLAGS is set and pass -fno-link-libatomic. Use __libatomic_save_CFLAGS__ instead of save_CFLAGS. * Makefile.in: Regenerate. * configure: Regenerate. 2025-10-05 Sam James <sam@gentoo.org> * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/Makefile.in: Regenerate. 2025-07-31 Yury Khrustalev <yury.khrustalev@arm.com> * config/linux/aarch64/host-config.h (__ifunc_arg_t): Remove sys/ifunc.h and add new fields _hwcap3 and _hwcap4. 2025-05-22 Alexandre Oliva <oliva@adacore.com> * configure.tgt: Set partial_libatomic on *-*-vxworks*. * configure.ac (PARTIAL_VXWORKS): New AM_CONDITIONAL. * Makefile.am (libatomic_la_SOURCES): Select few sources for PARTIAL_VXWORKS. * configure, Makefile.in: Rebuilt. 2025-05-09 David Malcolm <dmalcolm@redhat.com> PR other/116792 * testsuite/lib/libatomic.exp: Add load_lib of scanhtml.exp. 2025-04-16 Jakub Jelinek <jakub@redhat.com> PR libgcc/101075 PR libgcc/119796 * config/mingw/lock.c (libat_lock_n, libat_unlock_n): Start with computing how many locks will be needed and take into account ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the locks array and others from the start of it will be needed, first lock the ones from the start followed by ones from the end. 2025-04-16 Jakub Jelinek <jakub@redhat.com> PR libgcc/101075 PR libgcc/119796 * config/posix/lock.c (libat_lock_n, libat_unlock_n): Start with computing how many locks will be needed and take into account ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the locks array and others from the start of it will be needed, first lock the ones from the start followed by ones from the end. 2025-01-10 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/linux/aarch64/host-config.h (has_lse2): Cleanup. (has_lse128): Likewise. (has_rcpc3): Add early check for LSE2. 2024-12-18 Prathamesh Kulkarni <prathameshk@nvidia.com> Revert: 2024-12-18 Prathamesh Kulkarni <prathameshk@nvidia.com> Matthew Malcolmson <mmalcolmson@nvidia.com> PR driver/81358 * Makefile.am: Pass -fno-link-libatomic. New rule all. * configure.ac: Assert that CFLAGS is set and pass -fno-link-libatomic. * Makefile.in: Regenerate. * configure: Regenerate. 2024-12-18 Prathamesh Kulkarni <prathameshk@nvidia.com> Matthew Malcolmson <mmalcolmson@nvidia.com> PR driver/81358 * Makefile.am: Pass -fno-link-libatomic. New rule all. * configure.ac: Assert that CFLAGS is set and pass -fno-link-libatomic. * Makefile.in: Regenerate. * configure: Regenerate. 2024-11-18 David Malcolm <dmalcolm@redhat.com> * testsuite/lib/libatomic.exp: Add "load_gcc_lib dg-test-cleanup.exp". 2024-11-14 Szabolcs Nagy <szabolcs.nagy@arm.com> * config/linux/aarch64/atomic_16.S (FEATURE_1_GCS): Define. (GCS_FLAG): Define if GCS is enabled. (GNU_PROPERTY): Add GCS_FLAG. 2024-09-02 Alex Coplan <alex.coplan@arm.com> * testsuite/lib/libatomic.exp: Load scanltrans.exp instead of scanltranstree.exp. 2024-07-18 mayshao <mayshao-oc@zhaoxin.com> PR target/104688 * config/x86/init.c (__libat_feat1_init): Don't clear bit_AVX on ZHAOXIN CPUs. 2024-07-18 Uros Bizjak <ubizjak@gmail.com> * config/x86/init.c (__libat_feat1_init): Check the result of __get_cpuid and process FEAT1_REGISTER only when __get_cpuid returns success. Use __cpuid instead of nested __get_cpuid. 2024-06-25 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/atomic_16.S (libat_load_16): Add LRCPC3 variant. (libat_store_16): Likewise. * config/linux/aarch64/host-config.h (HWCAP2_LRCPC3): New. (LSE2_LRCPC3_ATOP): Previously LSE2_ATOP. New ifuncs guarded under it. (has_rcpc3): New. 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/atomic_16.S: Reorganize functions in file. (HAVE_FEAT_LSE2): Delete. 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/atomic_16.S: Remove unnecessary aliasing. (LSE): New. (ENTRY_ALIASED): Likewise. * config/linux/aarch64/host-config.h (LSE_ATOP): New. (LSE2_ATOP): Likewise. (LSE128_ATOP): Likewise. (IFUNC_COND_1): Make its definition conditional on above 3 macros. (IFUNC_NCOND): Likewise. 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com> * cas_n.c (LAT_CAS_N): New. * exch_n.c (LAT_EXCH_N): Likewise. * fadd_n.c (LAT_FADD_N): Likewise. * fand_n.c (LAT_FAND_N): Likewise. * fence.c (LAT_FENCE): Likewise. * fenv.c (LAT_FENV): Likewise. * fior_n.c (LAT_FIOR_N): Likewise. * flag.c (LAT_FLAG): Likewise. * fnand_n.c (LAT_FNAND_N): Likewise. * fop_n.c (LAT_FOP_N): Likewise * fsub_n.c (LAT_FSUB_N): Likewise. * fxor_n.c (LAT_FXOR_N): Likewise. * gcas.c (LAT_GCAS): Likewise. * gexch.c (LAT_GEXCH): Likewise. * glfree.c (LAT_GLFREE): Likewise. * gload.c (LAT_GLOAD): Likewise. * gstore.c (LAT_GSTORE): Likewise. * load_n.c (LAT_LOAD_N): Likewise. * store_n.c (LAT_STORE_N): Likewise. * tas_n.c (LAT_TAS_N): Likewise. 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com> * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): Delete. * auto-config.h.in (HAVE_FEAT_LSE128): Likewise * config/linux/aarch64/atomic_16.S: Replace all LSE128 instructions with equivalent `.inst' directives. (HAVE_FEAT_LSE128): Remove all references. * configure: Regenerate. * configure.ac: Remove call to LIBAT_TEST_FEAT_AARCH64_LSE128. 2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR testsuite/115294 * testsuite/lib/libatomic.exp (libatomic_target_compile): Pass new dg-additional-files-options args. 2024-05-07 Zac Walker <zacwalker@microsoft.com> * configure.tgt: Add aarch64-w64-mingw32 target. 2024-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * Makefile.am [LIBAT_BUILD_VERSIONED_SHLIB_SUN] (libatomic.map-sun): Pass $(libatomic_la_OBJECTS), $(libatomic_la_LIBADD) to make_sunver.pl unmodified. * Makefile.in: Regenerate. 2024-04-26 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/linux/aarch64/atomic_16.S: Add __libat_ prefix in the LSE2/LSE128/CORE macros, remove elsewhere. Add ATOMIC macro. 2024-04-05 Jakub Jelinek <jakub@redhat.com> * configure: Regenerate. 2024-04-04 Wilco Dijkstra <wilco.dijkstra@arm.com> PR target/113986 * Makefile.in: Regenerated. * Makefile.am: Make atomic_16.S not depend on HAVE_IFUNC. Remove predefine of HAVE_FEAT_LSE128. * acinclude.m4: Remove ARCH_AARCH64_HAVE_LSE128. * configure: Regenerated. * config/linux/aarch64/atomic_16.S: Add __atomic_ alias if !HAVE_IFUNC. * config/linux/aarch64/host-config.h: Correctly handle !HAVE_IFUNC. Add defines for HWCAP_ATOMICS and HWCAP_CPUID. 2024-02-14 Roger Sayle <roger@nextmovesoftware.com> Victor Do Nascimento <victor.donascimento@arm.com> PR other/113336 * Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX * Makefile.in: Regenerate. 2024-02-03 John David Anglin <danglin@gcc.gnu.org> PR target/59778 * configure.tgt (hppa*): Set ARCH. * config/pa/fenv.c: New file. 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/host-config.h (has_lse2): Add test for LSE. (has_lse128): Add test for LSE2. 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com> * Makefile.am (AM_CPPFLAGS): add conditional setting of -DHAVE_FEAT_LSE128. * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): New. * config/linux/aarch64/atomic_16.S (LSE128): New macro definition. (libat_exchange_16): New LSE128 variant. (libat_fetch_or_16): Likewise. (libat_or_fetch_16): Likewise. (libat_fetch_and_16): Likewise. (libat_and_fetch_16): Likewise. * config/linux/aarch64/host-config.h (IFUNC_COND_2): New. (IFUNC_NCOND): Add operand size checking. (has_lse2): Renamed from `ifunc1`. (has_lse128): New. (HWCAP2_LSE128): Likewise. * configure.ac: Add call to LIBAT_TEST_FEAT_AARCH64_LSE128. * configure (ac_subst_vars): Regenerated via autoreconf. * Makefile.in: Likewise. * auto-config.h.in: Likewise. 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/host-config.h (__ifunc_arg_t): Conditionally-defined if `sys/ifunc.h' not found. (_IFUNC_ARG_HWCAP): Likewise. (IFUNC_COND_1): Pass __ifunc_arg_t argument to ifunc. (ifunc1): Modify function signature to accept __ifunc_arg_t argument. * configure.tgt: Add second `const __ifunc_arg_t *features' argument to IFUNC_RESOLVER_ARGS. 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/atomic_16.S (CORE): New macro. (LSE2): Likewise. (ENTRY_FEAT): Likewise. (ENTRY_FEAT1): Likewise. (END_FEAT): Likewise. (END_FEAT1): Likewise. (ALIAS): Modify macro to take in `arch' arguments. (ALIAS1): New. 2023-12-15 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/linux/aarch64/atomic_16.S: Implement lock-free ARMv8.0 atomics. (libat_exchange_16): Merge RELEASE and ACQ_REL/SEQ_CST cases. * config/linux/aarch64/host-config.h: Use atomic_16.S for baseline v8.0. 2023-11-10 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/linux/aarch64/host-config.h (ifunc1): Use CPUID in ifunc selection. 2023-10-26 Thomas Schwinge <thomas@codesourcery.com> PR testsuite/109951 * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'. * Makefile.in: Regenerate. * configure: Likewise. * testsuite/Makefile.in: Likewise. * testsuite/lib/libatomic.exp (libatomic_init): If '--with-build-sysroot=[...]' was specified, use it for build-tree testing. * testsuite/libatomic-site-extra.exp.in (GCC_UNDER_TEST): Don't set. (SYSROOT_CFLAGS_FOR_TARGET): Set. 2023-10-23 Jan Beulich <jbeulich@suse.com> * Makefile.am (all-multi): Drop commands. * Makefile.in: Update accordingly. 2023-10-22 Iain Sandoe <iain@sandoe.co.uk> * testsuite/lib/libatomic.exp: Pass correct flags on darwin. 2023-10-22 Iain Sandoe <iain@sandoe.co.uk> * Makefile.am: Handle Darwin rpaths. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Handle Darwin rpaths. 2023-08-07 Nick Alcock <nick.alcock@oracle.com> * configure: Regenerate. 2023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com> * configure: Regenerate. 2023-08-07 Nick Alcock <nick.alcock@oracle.com> * configure: Regenerate. 2023-08-07 Nick Alcock <nick.alcock@oracle.com> * configure: Regenerate. 2023-08-07 H.J. Lu <hjl.tools@gmail.com> * configure: Regenerate. 2023-08-07 H.J. Lu <hjl.tools@gmail.com> * configure: Regenerate. 2023-06-10 Xi Ruoyao <xry111@xry111.site> * configure.tgt: For x86_64, always set try_ifunc=yes. 2023-06-02 Thomas Schwinge <thomas@codesourcery.com> * configure.ac (PERL): Remove. * configure: Regenerate. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. 2023-03-24 Wilco Dijkstra <wilco.dijkstra@arm.com> PR libgcc/108891 * config/linux/aarch64/atomic_16.S: Fix libat_load_16_i1. Add comments describing the memory order. 2023-03-03 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> * config/s390/cas_n.c: New file. * config/s390/load_n.c: New file. * config/s390/store_n.c: New file. 2023-01-16 Jonathan Wakely <jwakely@redhat.com> * configure.tgt (config_path) [target_thread_file=single]: Use 'mingw' config. 2023-01-07 LIU Hao <lh_mouse@126.com> PR middle-end/108300 * config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before <windows.h>. 2022-11-16 Martin Liska <mliska@suse.cz> * Makefile.in: Re-generate. 2022-11-15 Wilco Dijkstra <wilco.dijkstra@arm.com> * Makefile.in: Regenerated with automake 1.15.1. * Makefile.am: Add atomic_16.S for AArch64. * configure.tgt: Disable outline atomics in AArch64 build. * config/linux/aarch64/atomic_16.S: New file - implementation of ifuncs for 16-byte atomics. * config/linux/aarch64/host-config.h: Enable ifuncs, use LSE (HWCAP_ATOMICS) for 1-8-byte atomics and LSE2 (HWCAP_USCAT) for 16-byte atomics. 2022-11-15 Jakub Jelinek <jakub@redhat.com> PR target/104688 * config/x86/init.c (__libat_feat1_init): Don't clear bit_AVX on AMD CPUs. 2022-10-19 LIU Hao <lh_mouse@126.com> * configure.tgt: Add new case for `mcf` thread model 2022-10-12 Martin Liska <mliska@suse.cz> * configure: Regenerate. 2022-10-11 Olivier Hainque <hainque@adacore.com> Olivier Hainque <hainque@adacore.com> * configure: Regenerate. 2022-08-30 Martin Liska <mliska@suse.cz> * testsuite/Makefile.in: Regenerate. 2022-08-08 Tamar Christina <tamar.christina@arm.com> Lines 1–500 of 1161. Load more
2026-04-30 Release Manager * GCC 16.1.0 released. 2026-02-21 Jakub Jelinek <jakub@redhat.com> * Makefile.am (all-local): Depend on stmp-libatomic and otherwise do nothing. (stmp-libatomic): New goal, move all commands from all-local here plus touch $@ at the end. * Makefile.in: Regenerate. 2026-01-30 Jakub Jelinek <jakub@redhat.com> * Makefile.am (all-local, install-asneeded): Only create libatomic_asneeded.so script if libatomic.so exist, only create libatomic_asneeded.a symlink if libatomic.a exist. * Makefile.in: Regenerate. 2026-01-19 Jakub Jelinek <jakub@redhat.com> PR libgcc/123650 * Makefile.am (toolexeclib_DATA): Remove. (all-local): For LIBAT_BUILD_ASNEEDED_SOLINK instead of installing libatomic_asneeded.{so,a} from top_srcdir cd into the destination directory, use echo to write libatomic_asneeded.so and $(LN_S) to symlink libatomic_asneeded.a to libatomic.a. (install-data-am): For LIBAT_BUILD_ASNEEDED_SOLINK depend on install-asneeded. (install-asneeded): New goal. * libatomic_asneeded.so: Remove. * libatomic_asneeded.a: Remove. * Makefile.in: Regenerate. 2026-01-13 Jakub Jelinek <jakub@redhat.com> PR libstdc++/123396 * acinclude.m4 (LIBAT_BUILD_ASNEEDED_SOLINK): New AM_CONDITIONAL. * libatomic_asneeded.so: New file. * libatomic_asneeded.a: New file. * Makefile.am (toolexeclib_DATA): Set if LIBAT_BUILD_ASNEEDED_SOLINK. (all-local): Install those files into gcc subdir. * Makefile.in: Regenerate. * configure: Regenerate. 2025-12-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * configure: Regenerate. 2025-12-11 Mark Wielaard <mark@klomp.org> * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. 2025-12-09 John Ericson <git@johnericson.me> * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * configure.ac: Use GCC_AC_THREAD_MODEL instead of hand-rolled * testsuite/Makefile.in: Regenerate. 2025-11-19 Martin Liska <martin.liska@hey.com> * acinclude.m4: Add detection for wild linker. * configure: Regenerate. 2025-11-13 Xi Ruoyao <xry111@xry111.site> * configure.ac (ARCH_LOONGARCH): New AM_CONDITIONAL. * Makefile.am (IFUNC_OPT): Separate the item from IFUNC_OPTIONS to allow using multiple options for an ISA variant. (libatomic_la_LIBADD): Add *_16_1_.lo for LoongArch. (IFUNC_OPTIONS): Build *_16_1_.lo for LoongArch with -mlsx and -mscq. * configure: Regenerate. * Makefile.in: Regenerate. * configure.tgt (try_ifunc): Set to yes for LoongArch if the compiler can produce lock-free 16B atomic with -mlsx -mscq. * config/loongarch/host-config.h: Implement ifunc selector. 2025-11-03 Sam James <sam@gentoo.org> * configure: Regenerate. 2025-10-09 Prathamesh Kulkarni <prathameshk@nvidia.com> Matthew Malcolmson <mmalcolmson@nvidia.com> PR driver/81358 * Makefile.am: Pass -fno-link-libatomic. New rule all-local. * configure.ac: Assert that CFLAGS is set and pass -fno-link-libatomic. Use __libatomic_save_CFLAGS__ instead of save_CFLAGS. * Makefile.in: Regenerate. * configure: Regenerate. 2025-10-05 Sam James <sam@gentoo.org> * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/Makefile.in: Regenerate. 2025-07-31 Yury Khrustalev <yury.khrustalev@arm.com> * config/linux/aarch64/host-config.h (__ifunc_arg_t): Remove sys/ifunc.h and add new fields _hwcap3 and _hwcap4. 2025-05-22 Alexandre Oliva <oliva@adacore.com> * configure.tgt: Set partial_libatomic on *-*-vxworks*. * configure.ac (PARTIAL_VXWORKS): New AM_CONDITIONAL. * Makefile.am (libatomic_la_SOURCES): Select few sources for PARTIAL_VXWORKS. * configure, Makefile.in: Rebuilt. 2025-05-09 David Malcolm <dmalcolm@redhat.com> PR other/116792 * testsuite/lib/libatomic.exp: Add load_lib of scanhtml.exp. 2025-04-16 Jakub Jelinek <jakub@redhat.com> PR libgcc/101075 PR libgcc/119796 * config/mingw/lock.c (libat_lock_n, libat_unlock_n): Start with computing how many locks will be needed and take into account ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the locks array and others from the start of it will be needed, first lock the ones from the start followed by ones from the end. 2025-04-16 Jakub Jelinek <jakub@redhat.com> PR libgcc/101075 PR libgcc/119796 * config/posix/lock.c (libat_lock_n, libat_unlock_n): Start with computing how many locks will be needed and take into account ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the locks array and others from the start of it will be needed, first lock the ones from the start followed by ones from the end. 2025-01-10 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/linux/aarch64/host-config.h (has_lse2): Cleanup. (has_lse128): Likewise. (has_rcpc3): Add early check for LSE2. 2024-12-18 Prathamesh Kulkarni <prathameshk@nvidia.com> Revert: 2024-12-18 Prathamesh Kulkarni <prathameshk@nvidia.com> Matthew Malcolmson <mmalcolmson@nvidia.com> PR driver/81358 * Makefile.am: Pass -fno-link-libatomic. New rule all. * configure.ac: Assert that CFLAGS is set and pass -fno-link-libatomic. * Makefile.in: Regenerate. * configure: Regenerate. 2024-12-18 Prathamesh Kulkarni <prathameshk@nvidia.com> Matthew Malcolmson <mmalcolmson@nvidia.com> PR driver/81358 * Makefile.am: Pass -fno-link-libatomic. New rule all. * configure.ac: Assert that CFLAGS is set and pass -fno-link-libatomic. * Makefile.in: Regenerate. * configure: Regenerate. 2024-11-18 David Malcolm <dmalcolm@redhat.com> * testsuite/lib/libatomic.exp: Add "load_gcc_lib dg-test-cleanup.exp". 2024-11-14 Szabolcs Nagy <szabolcs.nagy@arm.com> * config/linux/aarch64/atomic_16.S (FEATURE_1_GCS): Define. (GCS_FLAG): Define if GCS is enabled. (GNU_PROPERTY): Add GCS_FLAG. 2024-09-02 Alex Coplan <alex.coplan@arm.com> * testsuite/lib/libatomic.exp: Load scanltrans.exp instead of scanltranstree.exp. 2024-07-18 mayshao <mayshao-oc@zhaoxin.com> PR target/104688 * config/x86/init.c (__libat_feat1_init): Don't clear bit_AVX on ZHAOXIN CPUs. 2024-07-18 Uros Bizjak <ubizjak@gmail.com> * config/x86/init.c (__libat_feat1_init): Check the result of __get_cpuid and process FEAT1_REGISTER only when __get_cpuid returns success. Use __cpuid instead of nested __get_cpuid. 2024-06-25 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/atomic_16.S (libat_load_16): Add LRCPC3 variant. (libat_store_16): Likewise. * config/linux/aarch64/host-config.h (HWCAP2_LRCPC3): New. (LSE2_LRCPC3_ATOP): Previously LSE2_ATOP. New ifuncs guarded under it. (has_rcpc3): New. 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/atomic_16.S: Reorganize functions in file. (HAVE_FEAT_LSE2): Delete. 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/atomic_16.S: Remove unnecessary aliasing. (LSE): New. (ENTRY_ALIASED): Likewise. * config/linux/aarch64/host-config.h (LSE_ATOP): New. (LSE2_ATOP): Likewise. (LSE128_ATOP): Likewise. (IFUNC_COND_1): Make its definition conditional on above 3 macros. (IFUNC_NCOND): Likewise. 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com> * cas_n.c (LAT_CAS_N): New. * exch_n.c (LAT_EXCH_N): Likewise. * fadd_n.c (LAT_FADD_N): Likewise. * fand_n.c (LAT_FAND_N): Likewise. * fence.c (LAT_FENCE): Likewise. * fenv.c (LAT_FENV): Likewise. * fior_n.c (LAT_FIOR_N): Likewise. * flag.c (LAT_FLAG): Likewise. * fnand_n.c (LAT_FNAND_N): Likewise. * fop_n.c (LAT_FOP_N): Likewise * fsub_n.c (LAT_FSUB_N): Likewise. * fxor_n.c (LAT_FXOR_N): Likewise. * gcas.c (LAT_GCAS): Likewise. * gexch.c (LAT_GEXCH): Likewise. * glfree.c (LAT_GLFREE): Likewise. * gload.c (LAT_GLOAD): Likewise. * gstore.c (LAT_GSTORE): Likewise. * load_n.c (LAT_LOAD_N): Likewise. * store_n.c (LAT_STORE_N): Likewise. * tas_n.c (LAT_TAS_N): Likewise. 2024-06-12 Victor Do Nascimento <victor.donascimento@arm.com> * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): Delete. * auto-config.h.in (HAVE_FEAT_LSE128): Likewise * config/linux/aarch64/atomic_16.S: Replace all LSE128 instructions with equivalent `.inst' directives. (HAVE_FEAT_LSE128): Remove all references. * configure: Regenerate. * configure.ac: Remove call to LIBAT_TEST_FEAT_AARCH64_LSE128. 2024-05-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR testsuite/115294 * testsuite/lib/libatomic.exp (libatomic_target_compile): Pass new dg-additional-files-options args. 2024-05-07 Zac Walker <zacwalker@microsoft.com> * configure.tgt: Add aarch64-w64-mingw32 target. 2024-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * Makefile.am [LIBAT_BUILD_VERSIONED_SHLIB_SUN] (libatomic.map-sun): Pass $(libatomic_la_OBJECTS), $(libatomic_la_LIBADD) to make_sunver.pl unmodified. * Makefile.in: Regenerate. 2024-04-26 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/linux/aarch64/atomic_16.S: Add __libat_ prefix in the LSE2/LSE128/CORE macros, remove elsewhere. Add ATOMIC macro. 2024-04-05 Jakub Jelinek <jakub@redhat.com> * configure: Regenerate. 2024-04-04 Wilco Dijkstra <wilco.dijkstra@arm.com> PR target/113986 * Makefile.in: Regenerated. * Makefile.am: Make atomic_16.S not depend on HAVE_IFUNC. Remove predefine of HAVE_FEAT_LSE128. * acinclude.m4: Remove ARCH_AARCH64_HAVE_LSE128. * configure: Regenerated. * config/linux/aarch64/atomic_16.S: Add __atomic_ alias if !HAVE_IFUNC. * config/linux/aarch64/host-config.h: Correctly handle !HAVE_IFUNC. Add defines for HWCAP_ATOMICS and HWCAP_CPUID. 2024-02-14 Roger Sayle <roger@nextmovesoftware.com> Victor Do Nascimento <victor.donascimento@arm.com> PR other/113336 * Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX * Makefile.in: Regenerate. 2024-02-03 John David Anglin <danglin@gcc.gnu.org> PR target/59778 * configure.tgt (hppa*): Set ARCH. * config/pa/fenv.c: New file. 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/host-config.h (has_lse2): Add test for LSE. (has_lse128): Add test for LSE2. 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com> * Makefile.am (AM_CPPFLAGS): add conditional setting of -DHAVE_FEAT_LSE128. * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): New. * config/linux/aarch64/atomic_16.S (LSE128): New macro definition. (libat_exchange_16): New LSE128 variant. (libat_fetch_or_16): Likewise. (libat_or_fetch_16): Likewise. (libat_fetch_and_16): Likewise. (libat_and_fetch_16): Likewise. * config/linux/aarch64/host-config.h (IFUNC_COND_2): New. (IFUNC_NCOND): Add operand size checking. (has_lse2): Renamed from `ifunc1`. (has_lse128): New. (HWCAP2_LSE128): Likewise. * configure.ac: Add call to LIBAT_TEST_FEAT_AARCH64_LSE128. * configure (ac_subst_vars): Regenerated via autoreconf. * Makefile.in: Likewise. * auto-config.h.in: Likewise. 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/host-config.h (__ifunc_arg_t): Conditionally-defined if `sys/ifunc.h' not found. (_IFUNC_ARG_HWCAP): Likewise. (IFUNC_COND_1): Pass __ifunc_arg_t argument to ifunc. (ifunc1): Modify function signature to accept __ifunc_arg_t argument. * configure.tgt: Add second `const __ifunc_arg_t *features' argument to IFUNC_RESOLVER_ARGS. 2024-01-28 Victor Do Nascimento <victor.donascimento@arm.com> * config/linux/aarch64/atomic_16.S (CORE): New macro. (LSE2): Likewise. (ENTRY_FEAT): Likewise. (ENTRY_FEAT1): Likewise. (END_FEAT): Likewise. (END_FEAT1): Likewise. (ALIAS): Modify macro to take in `arch' arguments. (ALIAS1): New. 2023-12-15 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/linux/aarch64/atomic_16.S: Implement lock-free ARMv8.0 atomics. (libat_exchange_16): Merge RELEASE and ACQ_REL/SEQ_CST cases. * config/linux/aarch64/host-config.h: Use atomic_16.S for baseline v8.0. 2023-11-10 Wilco Dijkstra <wilco.dijkstra@arm.com> * config/linux/aarch64/host-config.h (ifunc1): Use CPUID in ifunc selection. 2023-10-26 Thomas Schwinge <thomas@codesourcery.com> PR testsuite/109951 * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'. * Makefile.in: Regenerate. * configure: Likewise. * testsuite/Makefile.in: Likewise. * testsuite/lib/libatomic.exp (libatomic_init): If '--with-build-sysroot=[...]' was specified, use it for build-tree testing. * testsuite/libatomic-site-extra.exp.in (GCC_UNDER_TEST): Don't set. (SYSROOT_CFLAGS_FOR_TARGET): Set. 2023-10-23 Jan Beulich <jbeulich@suse.com> * Makefile.am (all-multi): Drop commands. * Makefile.in: Update accordingly. 2023-10-22 Iain Sandoe <iain@sandoe.co.uk> * testsuite/lib/libatomic.exp: Pass correct flags on darwin. 2023-10-22 Iain Sandoe <iain@sandoe.co.uk> * Makefile.am: Handle Darwin rpaths. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Handle Darwin rpaths. 2023-08-07 Nick Alcock <nick.alcock@oracle.com> * configure: Regenerate. 2023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com> * configure: Regenerate. 2023-08-07 Nick Alcock <nick.alcock@oracle.com> * configure: Regenerate. 2023-08-07 Nick Alcock <nick.alcock@oracle.com> * configure: Regenerate. 2023-08-07 H.J. Lu <hjl.tools@gmail.com> * configure: Regenerate. 2023-08-07 H.J. Lu <hjl.tools@gmail.com> * configure: Regenerate. 2023-06-10 Xi Ruoyao <xry111@xry111.site> * configure.tgt: For x86_64, always set try_ifunc=yes. 2023-06-02 Thomas Schwinge <thomas@codesourcery.com> * configure.ac (PERL): Remove. * configure: Regenerate. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. 2023-03-24 Wilco Dijkstra <wilco.dijkstra@arm.com> PR libgcc/108891 * config/linux/aarch64/atomic_16.S: Fix libat_load_16_i1. Add comments describing the memory order. 2023-03-03 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> * config/s390/cas_n.c: New file. * config/s390/load_n.c: New file. * config/s390/store_n.c: New file. 2023-01-16 Jonathan Wakely <jwakely@redhat.com> * configure.tgt (config_path) [target_thread_file=single]: Use 'mingw' config. 2023-01-07 LIU Hao <lh_mouse@126.com> PR middle-end/108300 * config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before <windows.h>. 2022-11-16 Martin Liska <mliska@suse.cz> * Makefile.in: Re-generate. 2022-11-15 Wilco Dijkstra <wilco.dijkstra@arm.com> * Makefile.in: Regenerated with automake 1.15.1. * Makefile.am: Add atomic_16.S for AArch64. * configure.tgt: Disable outline atomics in AArch64 build. * config/linux/aarch64/atomic_16.S: New file - implementation of ifuncs for 16-byte atomics. * config/linux/aarch64/host-config.h: Enable ifuncs, use LSE (HWCAP_ATOMICS) for 1-8-byte atomics and LSE2 (HWCAP_USCAT) for 16-byte atomics. 2022-11-15 Jakub Jelinek <jakub@redhat.com> PR target/104688 * config/x86/init.c (__libat_feat1_init): Don't clear bit_AVX on AMD CPUs. 2022-10-19 LIU Hao <lh_mouse@126.com> * configure.tgt: Add new case for `mcf` thread model 2022-10-12 Martin Liska <mliska@suse.cz> * configure: Regenerate. 2022-10-11 Olivier Hainque <hainque@adacore.com> Olivier Hainque <hainque@adacore.com> * configure: Regenerate. 2022-08-30 Martin Liska <mliska@suse.cz> * testsuite/Makefile.in: Regenerate. 2022-08-08 Tamar Christina <tamar.christina@arm.com>