2024-07-18 mayshao PR target/104688 * config/x86/init.c (__libat_feat1_init): Don't clear bit_AVX on ZHAOXIN CPUs. 2024-07-18 Uros Bizjak * 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 * 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 * config/linux/aarch64/atomic_16.S: Reorganize functions in file. (HAVE_FEAT_LSE2): Delete. 2024-06-12 Victor Do Nascimento * 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 * 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 * 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 PR testsuite/115294 * testsuite/lib/libatomic.exp (libatomic_target_compile): Pass new dg-additional-files-options args. 2024-05-07 Zac Walker * configure.tgt: Add aarch64-w64-mingw32 target. 2024-05-07 Rainer Orth * 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 * 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 * configure: Regenerate. 2024-04-04 Wilco Dijkstra 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 Victor Do Nascimento PR other/113336 * Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX * Makefile.in: Regenerate. 2024-02-03 John David Anglin PR target/59778 * configure.tgt (hppa*): Set ARCH. * config/pa/fenv.c: New file. 2024-01-28 Victor Do Nascimento * config/linux/aarch64/host-config.h (has_lse2): Add test for LSE. (has_lse128): Add test for LSE2. 2024-01-28 Victor Do Nascimento * 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 * 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 * 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 * 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 * config/linux/aarch64/host-config.h (ifunc1): Use CPUID in ifunc selection. 2023-10-26 Thomas Schwinge 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 * Makefile.am (all-multi): Drop commands. * Makefile.in: Update accordingly. 2023-10-22 Iain Sandoe * testsuite/lib/libatomic.exp: Pass correct flags on darwin. 2023-10-22 Iain Sandoe * Makefile.am: Handle Darwin rpaths. * Makefile.in: Regenerate. * configure: Regenerate. * configure.ac: Handle Darwin rpaths. 2023-08-07 Nick Alcock * configure: Regenerate. 2023-08-07 Alexander von Gluck IV * configure: Regenerate. 2023-08-07 Nick Alcock * configure: Regenerate. 2023-08-07 Nick Alcock * configure: Regenerate. 2023-08-07 H.J. Lu * configure: Regenerate. 2023-08-07 H.J. Lu * configure: Regenerate. 2023-06-10 Xi Ruoyao * configure.tgt: For x86_64, always set try_ifunc=yes. 2023-06-02 Thomas Schwinge * configure.ac (PERL): Remove. * configure: Regenerate. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. 2023-03-24 Wilco Dijkstra 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 * 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 * configure.tgt (config_path) [target_thread_file=single]: Use 'mingw' config. 2023-01-07 LIU Hao PR middle-end/108300 * config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before . 2022-11-16 Martin Liska * Makefile.in: Re-generate. 2022-11-15 Wilco Dijkstra * 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 PR target/104688 * config/x86/init.c (__libat_feat1_init): Don't clear bit_AVX on AMD CPUs. 2022-10-19 LIU Hao * configure.tgt: Add new case for `mcf` thread model 2022-10-12 Martin Liska * configure: Regenerate. 2022-10-11 Olivier Hainque Olivier Hainque * configure: Regenerate. 2022-08-30 Martin Liska * testsuite/Makefile.in: Regenerate. 2022-08-08 Tamar Christina PR target/102218 * config/arm/host-config.h (pre_seq_barrier, post_seq_barrier, pre_post_seq_barrier): Require barrier on __ATOMIC_SEQ_CST. 2022-08-08 Tamar Christina PR target/102218 * config/aarch64/aarch64-config.h: New file. * config/aarch64/host-config.h: New file. 2022-06-02 David Malcolm * testsuite/lib/libatomic.exp: Add load_gcc_lib of scansarif.exp. 2022-03-24 Tom de Vries PR target/105011 * tas_n.c (libat_test_and_set): Fix return value. 2022-03-17 Jakub Jelinek PR target/104688 * Makefile.am (IFUNC_OPTIONS): Change on x86_64 to -mcx16 -mcx16. (libatomic_la_LIBADD): Add $(addsuffix _16_2_.lo,$(SIZEOBJS)) for x86_64. * Makefile.in: Regenerated. * config/x86/host-config.h (IFUNC_COND_1): For x86_64 define to both AVX and CMPXCHG16B bits. (IFUNC_COND_2): Define. (IFUNC_NCOND): For x86_64 define to 2 * (N == 16). (MAYBE_HAVE_ATOMIC_CAS_16, MAYBE_HAVE_ATOMIC_EXCHANGE_16, MAYBE_HAVE_ATOMIC_LDST_16): Define to IFUNC_COND_2 rather than IFUNC_COND_1. (HAVE_ATOMIC_CAS_16): Redefine to 1 whenever IFUNC_ALT != 0. (HAVE_ATOMIC_LDST_16): Redefine to 1 whenever IFUNC_ALT == 1. (atomic_compare_exchange_n): Define whenever IFUNC_ALT != 0 on x86_64 for N == 16. (__atomic_load_n, __atomic_store_n): Redefine whenever IFUNC_ALT == 1 on x86_64 for N == 16. (atomic_load_n, atomic_store_n): New functions. * config/x86/init.c (__libat_feat1_init): On x86_64 clear bit_AVX if CPU vendor is not Intel. 2022-02-03 David Seifert Jakub Jelinek * configure.ac: Support --disable-werror. * configure: Regenerate. 2022-01-31 Martin Liska * acinclude.m4: Detect *_ld_is_mold and use it. * configure: Regenerate. 2022-01-24 Martin Liska * acinclude.m4: Remove duplicate LIBAT_CHECK_LINKER_FEATURES. * configure: Regenerate. 2021-07-21 Martin Sebor PR bootstrap/101379 * config/linux/arm/host-config.h (__kernel_helper_version): New function. Adjust shadow macro. 2021-01-15 Jakub Jelinek PR target/70454 * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to be added through preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. Determine if try_ifunc is needed based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8. 2021-01-05 Samuel Thibault * configure: Re-generate. 2020-12-05 Iain Sandoe PR target/97865 * configure: Regenerate. 2020-11-29 John David Anglin * configure: Regenerate. 2020-10-11 Clement Chigot * config/t-aix: Delete and recreate libatomic before creating FAT library. 2020-09-27 Clement Chigot * config/t-aix: Use $(AR) without -X32_64. 2020-09-11 Tom de Vries PR target/96898 * configure.tgt: Add nvptx. * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition. * config/nvptx/host-config.h: New file. * config/nvptx/lock.c: New file. 2020-09-07 Tom de Vries * testsuite/libatomic.c/atomic-generic.c: Include string.h. 2020-07-14 David Edelsohn * config/t-aix: Set BITS from compiler cpp macro. 2020-06-22 David Edelsohn * Makefile.am: Use -include. * Makefile.in: Regenerate. 2020-06-21 David Edelsohn * Makefile.am (tmake_file): Build and install AIX-style FAT libraries. * Makefile.in: Regenerate. * configure.ac (tmake_file): Substitute. * configure: Regenerate. * configure.tgt (powerpc-ibm-aix*): Define tmake_file. * config/t-aix: New file. 2020-06-01 Uroš Bizjak * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)). 2020-05-29 H.J. Lu PR bootstrap/95413 * configure: Regenerated. 2020-05-15 H.J. Lu PR bootstrap/95147 * configure: Regenerated. 2020-05-14 H.J. Lu * configure: Regenerated. 2020-05-06 Uroš Bizjak * config/x86/fenv.c (__math_force_eval): Remove. (__math_force_eval_div): New define. (__atomic_deraiseexcept): Use __math_force_eval_div to use generic division to generate INVALID, DIVZERO and INEXACT exceptions. 2020-05-01 Uroš Bizjak * config/x86/fenv.c (__math_force_eval): New define. (__atomic_feraiseexcept): Use __math_force_eval to evaluate generic division to generate INVALID and DIVZERO exceptions. 2020-04-19 Uroš Bizjak * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]: Remove unneeded assignments to volatile memory. 2020-04-06 Maciej W. Rozycki * configure.ac: Add testsuite/libatomic-site-extra.exp to output files. * configure: Regenerate. * libatomic/testsuite/libatomic-site-extra.exp.in: New file. * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New variable. * testsuite/Makefile.in: Regenerate. 2020-02-22 Jakub Jelinek PR other/55930 * Makefile.am (M_DEPS): Guard the empty definition with @AMDEP_FALSE@ rather than @AMDEP_TRUE@. * Makefile.in: Regenerated. 2020-02-22 Richard Purdie PR other/55930 * Makefile.am (M_DEPS): Honor -disable-dependency-tracking. * Makefile.in: Regenerated. 2020-01-24 Maciej W. Rozycki * configure.ac: Handle `--with-toolexeclibdir='. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/Makefile.in: Regenerate. 2020-01-01 Jakub Jelinek Update copyright years. 2019-09-27 Maciej W. Rozycki * configure: Regenerate. 2019-09-10 Christophe Lyon * configure.tgt: Handle arm*-*-uclinux*. * configure: Regenerate. 2019-09-03 Chung-Lin Tang PR other/79543 * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version scanning to conform to the GNU Coding Standards. * configure: Regenerate. 2019-06-14 Matt Thomas Matthew Green Nick Hudson Maya Rashish * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD. 2019-01-01 Jakub Jelinek Update copyright years. 2018-10-31 Joseph Myers PR bootstrap/82856 * Makefile.am: Include multilib.am. * acinclude.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ. * testsuite/Makefile.am (RUNTEST): Remove quotes. * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Regenerate. 2018-06-21 Christophe Lyon * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX and HAVE_STREXBHD 2018-05-23 Florian Weimer PR libgcc/60790 x86: Do not assume ELF constructors run before IFUNC resolvers. * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx): Remove declarations. (__libat_feat1, __libat_feat1_init): Declare. (FEAT1_REGISTER): Define. (load_feat1): New function. (IFUNC_COND_1): Adjust. * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx) (init_cpuid): Remove definitions. (__libat_feat1): New variable. (__libat_feat1_init): New function. 2018-05-02 Tom de Vries PR testsuite/85106 * testsuite/lib/libatomic.exp: Include scanltranstree.exp. 2018-05-02 Tom de Vries PR testsuite/85106 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp. 2018-04-24 H.J. Lu * configure: Regenerated. 2018-04-19 Jakub Jelinek * configure: Regenerated. 2018-04-18 David Malcolm PR jit/85384 * configure: Regenerate. 2018-03-09 Andreas Krebbel * config/s390/exch_n.c: New file. * configure.tgt: Add the config directory for s390. 2018-02-14 Igor Tsimbalist PR target/84148 * configure: Regenerate. 2018-01-03 Jakub Jelinek Update copyright years. 2017-12-14 Steve Ellcey * Makefile.am (IFUNC_OPTIONS): Change aarch64 option from -march=armv8.1-a to -march=armv8-a+lse. * configure.ac (*aarch64*): Check to see if compiler understands -march=armv8-a+lse option. * configure.tgt (*aarch64*): Only set try_ifunc if compiler understands -march=armv8-a+lse option. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. * configure: Regenerate. * aclocal.m4: Regenerate. 2017-12-04 Steve Ellcey * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and libatomic_la_LIBADD. * config/linux/aarch64/host-config.h: New file. * configure.ac (IFUNC_RESOLVER_ARGS): Define. (ARCH_AARCH64_LINUX): New conditional for IFUNC builds. * configure.tgt (aarch64): Set ARCH and try_ifunc. (aarch64*-*-linux*) Update config_path. (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS. * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument. * Makefile.in: Regenerate. * auto-config.h.in: Regenerate. * configure: Regenerate. 2017-11-17 Igor Tsimbalist * configure.ac: Set CET_FLAGS, update XCFLAGS. * acinclude.m4: Add cet.m4 and enable.m4. * configure: Regenerate. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. 2017-10-20 Richard Earnshaw * Makefile.am: (IFUNC_OPTIONS): Set the architecture to -march=armv7-a+fp on Linux/Arm. * Makefile.in: Regenerated. 2017-10-02 Martin Sebor PR c/81854 * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return a function pointer rather than void* to avoid GCC 8 warnings. * configure: Regenerate. * libatomic_i.h: Declare ifunc resolvers to return function pointers rather than void*. 2017-05-12 Rainer Orth * testsuite/lib/libatomic.exp: Load scanlang.exp. 2017-02-06 Palmer Dabbelt * configure.tgt: Add RISC-V tuple. 2017-02-01 Richard Henderson Torvald Riegel * acinclude.m4: Add #define FAST_ATOMIC_LDST_*. * auto-config.h.in: Regenerate. * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0. (atomic_compare_exchange_n): New. * glfree.c (EXACT, LARGER): Change condition and add comments. 2017-01-30 Szabolcs Nagy PR target/78945 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32. 2017-01-21 Jakub Jelinek PR other/79046 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * testsuite/Makefile.in: Regenerated. 2017-01-17 Jakub Jelinek PR other/79046 * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. * testsuite/Makefile.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. 2017-01-01 Jakub Jelinek Update copyright years. 2016-11-15 Matthias Klose * configure: Regenerate. 2016-04-27 Sebastian Huber * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable. (*-*-rtems*): New supported target. * config/rtems/host-config.h: New file. * config/rtems/lock.c: Likewise. 2016-04-25 H.J. Lu PR target/70454 * configure.tgt (XCFLAGS): Revert the last change. 2016-04-20 H.J. Lu PR target/70454 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile 32-bit x86 target library on x86-64. 2016-01-06 Szabolcs Nagy PR other/67627 * Makefile.am (all-multi): Add dependency. * Makefile.in: Regenerate. 2016-01-04 Jakub Jelinek Update copyright years. 2015-11-18 Joseph Myers PR c/65083 * fence.c, flag.c: New files. * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c. * Makefile.in: Regenerate. * configure.ac (libtool_VERSION): Change to 3:0:2. * configure: Regenerate. * libatomic.map (LIBATOMIC_1.2): New symbol version. 2015-10-09 David Malcolm * testsuite/lib/libatomic.exp: Load multiline.exp before prune.exp, using load_gcc_lib. 2015-07-14 John Marino * configure.tgt: Add *-*-dragonfly to supported targets. 2015-01-21 Andrew Waterman * fop_n.c (libat_fetch_op): Align address to word boundary. (libat_op_fetch): Likewise. 2015-01-16 Ilya Verbin PR testsuite/64605 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp. * testsuite/libatomic.c/c.exp: Load gcc-dg.exp. 2015-01-09 Andreas Tobler * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc. 2015-01-05 Jakub Jelinek Update copyright years. 2014-12-12 Kyrylo Tkachov * testsuite/lib/libatomic.exp: Load target-utils.exp 2014-11-21 H.J. Lu PR bootstrap/63784 * configure: Regenerated. 2014-11-13 Andrew Waterman * cas_n.c (libat_compare_exchange): Add missing cast. 2014-11-11 Francois-Xavier Coudert PR target/63610 * configure: Regenerate. 2014-08-19 Yaakov Selkowitz * configure.tgt: Add cygwin to supported targets. 2014-07-18 Uros Bizjak * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS. 2014-06-17 Kai Tietz * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags. * configure.ac (ACX_LT_HOST_FLAGS): New. (target_thread_file): New. * configure.tgt (mingw): Add mingw support. * config/mingw/host-config.h: New file. * config/mingw/lock.c: Likewise. * Makefile.in: Regenerated. * configure: Likewise. * aclocal.m4: Likewise. * testsuite/Makefile.in: Likewise. 2014-02-20 Richard Henderson PR c++/60272 * cas_n.c (libat_compare_exchange): Conditionalize on failure the store back to EPTR. 2014-01-02 Richard Sandiford Update copyright years 2013-12-09 Uros Bizjak * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE instructions when __SSE_MATH__ is defined. 2013-11-18 Joseph Myers * testsuite/libatomic.c/atomic-compare-exchange-1.c, testsuite/libatomic.c/atomic-compare-exchange-2.c, testsuite/libatomic.c/atomic-compare-exchange-3.c, testsuite/libatomic.c/atomic-compare-exchange-4.c, testsuite/libatomic.c/atomic-compare-exchange-5.c, testsuite/libatomic.c/atomic-exchange-1.c, testsuite/libatomic.c/atomic-exchange-2.c, testsuite/libatomic.c/atomic-exchange-3.c, testsuite/libatomic.c/atomic-exchange-4.c, testsuite/libatomic.c/atomic-exchange-5.c, testsuite/libatomic.c/atomic-generic.c, testsuite/libatomic.c/atomic-load-1.c, testsuite/libatomic.c/atomic-load-2.c, testsuite/libatomic.c/atomic-load-3.c, testsuite/libatomic.c/atomic-load-4.c, testsuite/libatomic.c/atomic-load-5.c, testsuite/libatomic.c/atomic-op-1.c, testsuite/libatomic.c/atomic-op-2.c, testsuite/libatomic.c/atomic-op-3.c, testsuite/libatomic.c/atomic-op-4.c, testsuite/libatomic.c/atomic-op-5.c, testsuite/libatomic.c/atomic-store-1.c, testsuite/libatomic.c/atomic-store-2.c, testsuite/libatomic.c/atomic-store-3.c, testsuite/libatomic.c/atomic-store-4.c, testsuite/libatomic.c/atomic-store-5.c: Declare main as returning int. Do not require built-in sync support or add target-specific options. * testsuite/libatomic.c/atomic-exchange-1.c, testsuite/libatomic.c/atomic-exchange-2.c, testsuite/libatomic.c/atomic-exchange-3.c, testsuite/libatomic.c/atomic-exchange-4.c, testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of count from expression using value of count. 2013-11-10 Uros Bizjak * config/x86/fenv.c: New file. 2013-11-07 Joseph Myers * fenv.c: New file. * libatomic.map (LIBATOMIC_1.1): New symbol version. Include __atomic_feraiseexcept. * configure.ac (libtool_VERSION): Change to 2:0:1. (fenv.h): Test for header. * Makefile.am (libatomic_la_SOURCES): Add fenv.c. * Makefile.in, auto-config.h.in, configure: Regenerate. 2013-10-17 Michael Hudson-Doyle * libatomic/configure.tgt (aarch64*): Remove code preventing build. 2013-09-20 Alan Modra * configure: Regenerate. 2013-01-14 Richard Sandiford Update copyright years. 2012-12-18 Ian Lance Taylor PR go/55201 * Makefile.am (noinst_LTLIBRARIES): Define new make variable. (libatomic_convenience_la_SOURCES): Likewise. (libatomic_convenience_la_LIBADD): Likewise. * Makefile.in: Rebuild. * testsuite/Makefile.in: Rebuild. 2012-12-04 Marcus Shawcroft * config/arm/arm-config.h (__ARM_ARCH_8A__): New. 2012-11-21 Matthias Klose * configure.tgt (i[3456]86): Handle -mx32 like -m64. 2012-11-04 Thomas Schwinge * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message. * configure: Regenerate. * configure: Regenerate. 2012-10-23 Sofiane Naci Mark libatomic unsupported in AArch64. * configure.tgt: Mark libatomic unsupported. 2012-09-20 Jakub Jelinek PR other/43620 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. * configure: Regenerate. * Makefile.in: Regenerate. 2012-09-14 David Edelsohn * configure: Regenerated. 2012-05-22 John David Anglin PR other/53231 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable. 2012-05-16 H.J. Lu * configure: Regenerated. 2012-05-10 Rainer Orth PR other/53284 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS instead of overriding. * configure: Regenerate. 2012-05-07 Rainer Orth * Makefile.am (libatomic.map-sun): Handle objects in libatomic_la_LIBADD. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. 2012-05-07 Rainer Orth * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS. * configure: Regenerate. 2012-05-03 Richard Henderson * configure.ac (AM_MAINTAINER_MODE): New. * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation failure in gcc_no_link path. * configure, aclocal.m4, Makefile.in: Rebuild. 2012-05-01 Richard Henderson * Initial commit. Copyright (C) 2012-2024 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.