This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.26.9000-1129-g953c49c


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  953c49cc3bb1041090281042148197ad3537c551 (commit)
       via  afce1991f6f61514172696ec3edf93331cb0e04f (commit)
      from  b725132d2b0aeddf970b1ce3e5a24f8637a7b4c2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=953c49cc3bb1041090281042148197ad3537c551

commit 953c49cc3bb1041090281042148197ad3537c551
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Jan 11 17:08:51 2018 +0000

    aarch64: Update bits/hwcap.h for Linux 4.15.
    
    Define new HWCAP bits and add their name to dl-procinfo.c following
    the linux definitions. Synchronizing with v4.15-rc8 version of linux,
    these are not expected to change before the 4.15 release.
    
    	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
    	(HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
    	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
    	(_dl_aarch64_cap_flags): Update.
    	(_DL_HWCAP_COUNT): Update.

diff --git a/ChangeLog b/ChangeLog
index d9d2a0f..ce13e85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2018-01-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
 
+	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
+	(HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
+	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
+	(_dl_aarch64_cap_flags): Update.
+	(_DL_HWCAP_COUNT): Update.
+
+2018-01-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
 	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
 	(_DL_HWCAP_LAST): Remove.
 	(_DL_HWCAP_COUNT): Move to ...
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 5a10156..569eb07 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -38,3 +38,9 @@
 #define HWCAP_FCMA		(1 << 14)
 #define HWCAP_LRCPC		(1 << 15)
 #define HWCAP_DCPOP		(1 << 16)
+#define HWCAP_SHA3		(1 << 17)
+#define HWCAP_SM3		(1 << 18)
+#define HWCAP_SM4		(1 << 19)
+#define HWCAP_ASIMDDP		(1 << 20)
+#define HWCAP_SHA512		(1 << 21)
+#define HWCAP_SVE		(1 << 22)
diff --git a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
index 2da8d7b..940f648 100644
--- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
+++ b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
@@ -57,7 +57,7 @@ PROCINFO_CLASS struct cpu_features _dl_aarch64_cpu_features
 #endif
 
 /* Number of HWCAP bits set.  */
-#define _DL_HWCAP_COUNT 16
+#define _DL_HWCAP_COUNT 23
 
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_aarch64_cap_flags
@@ -68,7 +68,7 @@ PROCINFO_CLASS const char _dl_aarch64_cap_flags[_DL_HWCAP_COUNT][10]
 /* Matches the names in arch/arm64/kernel/cpuinfo.c of Linux.  */
 = { "fp", "asimd", "evtstrm", "aes", "pmull", "sha1", "sha2", "crc32",
     "atomics", "fphp", "asimdhp", "cpuid", "asimdrdm", "jscvt", "fcma",
-    "lrcpc" }
+    "lrcpc", "dcpop", "sha3", "sm3", "sm4", "asimddp", "sha512", "sve" }
 #endif
 #if !defined SHARED || defined PROCINFO_DECL
 ;

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=afce1991f6f61514172696ec3edf93331cb0e04f

commit afce1991f6f61514172696ec3edf93331cb0e04f
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Jan 11 17:21:46 2018 +0000

    aarch64: make HWCAP updates less error prone
    
    Remove unused _DL_HWCAP_LAST definition and move _DL_HWCAP_COUNT
    where it is needed (dl-procinfo.h always includes dl-procinfo.c).
    
    	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
    	(_DL_HWCAP_LAST): Remove.
    	(_DL_HWCAP_COUNT): Move to ...
    	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
    	(_DL_HWCAP_COUNT): ... here.

diff --git a/ChangeLog b/ChangeLog
index 26914f7..d9d2a0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-01-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
+	(_DL_HWCAP_LAST): Remove.
+	(_DL_HWCAP_COUNT): Move to ...
+	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
+	(_DL_HWCAP_COUNT): ... here.
+
 2018-01-16  Florian Weimer  <fweimer@redhat.com>
 
 	* nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
diff --git a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
index 67d7fd6..2da8d7b 100644
--- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
+++ b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
@@ -56,10 +56,13 @@ PROCINFO_CLASS struct cpu_features _dl_aarch64_cpu_features
 # endif
 #endif
 
+/* Number of HWCAP bits set.  */
+#define _DL_HWCAP_COUNT 16
+
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_aarch64_cap_flags
 #else
-PROCINFO_CLASS const char _dl_aarch64_cap_flags[16][10]
+PROCINFO_CLASS const char _dl_aarch64_cap_flags[_DL_HWCAP_COUNT][10]
 #endif
 #ifndef PROCINFO_DECL
 /* Matches the names in arch/arm64/kernel/cpuinfo.c of Linux.  */
diff --git a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
index cf683f5..6887713 100644
--- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
@@ -27,12 +27,6 @@
 /* We cannot provide a general printing function.  */
 #define _dl_procinfo(type, word) -1
 
-/* Number of HWCAP bits set.  */
-#define _DL_HWCAP_COUNT 16
-
-/* Offset of the last bit allocated in HWCAP.  */
-#define _DL_HWCAP_LAST 15
-
 /* HWCAP_CPUID should be available by default to influence IFUNC as well as
    library search.  */
 #define HWCAP_IMPORTANT HWCAP_CPUID

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                     |   16 ++++++++++++++++
 sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h  |    6 ++++++
 sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c |    7 +++++--
 sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h |    6 ------
 4 files changed, 27 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]