]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
S390: Add new hwcap values.
authorStefan Liebler <stli@linux.ibm.com>
Tue, 16 Feb 2021 15:18:56 +0000 (16:18 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 16 Feb 2021 15:31:20 +0000 (16:31 +0100)
The new hwcap values indicate support for arch14 architecture.

sysdeps/s390/dl-procinfo.c
sysdeps/s390/dl-procinfo.h
sysdeps/unix/sysv/linux/s390/bits/hwcap.h

index 0c334a2551c79be8a018e8360f9e3a286f35f6b7..c174e27b3559c57c45b48a991dcb2aebfd5b711e 100644 (file)
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_s390_cap_flags
 #else
-PROCINFO_CLASS const char _dl_s390_cap_flags[19][9]
+PROCINFO_CLASS const char _dl_s390_cap_flags[21][9]
 #endif
 #ifndef PROCINFO_DECL
 = {
      "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh",
-     "highgprs", "te", "vx", "vxd", "vxe", "gs", "vxe2", "vxp", "sort", "dflt"
+     "highgprs", "te", "vx", "vxd", "vxe", "gs", "vxe2", "vxp", "sort", "dflt",
+     "vxp2", "nnpa"
   }
 #endif
 #if !defined SHARED || defined PROCINFO_DECL
index 9e1a8c7ba9b8e01b62021df714510b9f5411f379..2d9c3058083e5dda73c996c6d333d5c678ca56cb 100644 (file)
@@ -21,7 +21,7 @@
 #define _DL_PROCINFO_H 1
 #include <ldsodefs.h>
 
-#define _DL_HWCAP_COUNT 19
+#define _DL_HWCAP_COUNT 21
 
 #define _DL_PLATFORMS_COUNT    10
 
@@ -61,6 +61,8 @@ enum
   HWCAP_S390_VXRS_PDE = 1 << 16,
   HWCAP_S390_SORT = 1 << 17,
   HWCAP_S390_DFLT = 1 << 18,
+  HWCAP_S390_VXRS_PDE2 = 1 << 19,
+  HWCAP_S390_NNPA = 1 << 20,
 };
 
 #define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \
index 696616e77923f6542efcbb3494d382bc60cc5ffb..e9bd3684db862d1b7625654ab9caac465974507d 100644 (file)
@@ -46,3 +46,5 @@
 #define HWCAP_S390_VXRS_PDE     65536
 #define HWCAP_S390_SORT         131072
 #define HWCAP_S390_DFLT         262144
+#define HWCAP_S390_VXRS_PDE2    524288
+#define HWCAP_S390_NNPA         1048576