diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2019-03-22 11:14:07 +0100 |
---|---|---|
committer | Stefan Liebler <stli@linux.ibm.com> | 2019-03-22 11:14:07 +0100 |
commit | 1a7df49c92f62e14d8727f083fd055eba7c91ad9 (patch) | |
tree | 898f4d88731aac1c5588ab406f724245ca56016f /sysdeps/unix/sysv | |
parent | 5abcddd7949270998c6e8d99fdbbba821b664f8b (diff) | |
download | glibc-1a7df49c92f62e14d8727f083fd055eba7c91ad9.tar glibc-1a7df49c92f62e14d8727f083fd055eba7c91ad9.tar.gz glibc-1a7df49c92f62e14d8727f083fd055eba7c91ad9.tar.bz2 glibc-1a7df49c92f62e14d8727f083fd055eba7c91ad9.zip |
S390: Add new hwcap values for new cpu architecture arch13.
The new hwcap values indicate support for:
-"Vector-Enhancements Facility 2" (tag "vxe2", hwcap 2^15)
-"Vector-Packed-Decimal-Enhancement Facility" (tag "vxp", hwcap 2^16)
-"Enhanced-Sort Facility" (tag "sort", hwcap 2^17)
-"Deflate-Conversion Facility" (tag "dflt", hwcap 2^18)
The vxe2 hwcap is also marked as important hwcap.
ChangeLog:
* sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
Add vxe2, vxp, dflt, sort flags.
* sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
capabilities.
(HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
* sysdeps/unix/sysv/linux/s390/bits/hwcap.h
(HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
HWCAP_S390_DFLT): Define.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/bits/hwcap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/bits/hwcap.h b/sysdeps/unix/sysv/linux/s390/bits/hwcap.h index 60c38074c4..3608bea25c 100644 --- a/sysdeps/unix/sysv/linux/s390/bits/hwcap.h +++ b/sysdeps/unix/sysv/linux/s390/bits/hwcap.h @@ -39,3 +39,7 @@ #define HWCAP_S390_VXD 4096 #define HWCAP_S390_VXE 8192 #define HWCAP_S390_GS 16384 +#define HWCAP_S390_VXRS_EXT2 32768 +#define HWCAP_S390_VXRS_PDE 65536 +#define HWCAP_S390_SORT 131072 +#define HWCAP_S390_DFLT 262144 |