aboutsummaryrefslogtreecommitdiff
path: root/libatomic
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-03-18 00:16:27 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-03-18 00:16:27 +0000
commite9ea30165b7c8086e83aaaed6b035518e7ae9285 (patch)
tree5375594f54843a0513d5b3b7f488f26fc7cd3840 /libatomic
parent79e210f0c8e1fad875333e93b5ae2fe9b4879b7a (diff)
downloadgcc-e9ea30165b7c8086e83aaaed6b035518e7ae9285.zip
gcc-e9ea30165b7c8086e83aaaed6b035518e7ae9285.tar.gz
gcc-e9ea30165b7c8086e83aaaed6b035518e7ae9285.tar.bz2
Daily bump.
Diffstat (limited to 'libatomic')
-rw-r--r--libatomic/ChangeLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog
index e9eba57..645257a 100644
--- a/libatomic/ChangeLog
+++ b/libatomic/ChangeLog
@@ -1,3 +1,27 @@
+2022-03-17 Jakub Jelinek <jakub@redhat.com>
+
+ 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 <soap@gentoo.org>
Jakub Jelinek <jakub@redhat.com>