mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
S/390: Add hwcap value for transactional execution.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
|
* sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
|
||||||
|
* sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
|
||||||
|
* sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
|
||||||
|
definition.
|
||||||
|
|
||||||
2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||||
|
|
||||||
* elf/elf.h: Update comment before AArch64 relocations.
|
* elf/elf.h: Update comment before AArch64 relocations.
|
||||||
|
@@ -46,11 +46,11 @@
|
|||||||
#if !defined PROCINFO_DECL && defined SHARED
|
#if !defined PROCINFO_DECL && defined SHARED
|
||||||
._dl_s390_cap_flags
|
._dl_s390_cap_flags
|
||||||
#else
|
#else
|
||||||
PROCINFO_CLASS const char _dl_s390_cap_flags[10][9]
|
PROCINFO_CLASS const char _dl_s390_cap_flags[11][9]
|
||||||
#endif
|
#endif
|
||||||
#ifndef PROCINFO_DECL
|
#ifndef PROCINFO_DECL
|
||||||
= {
|
= {
|
||||||
"esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh", "highgprs"
|
"esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh", "highgprs", "te"
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if !defined SHARED || defined PROCINFO_DECL
|
#if !defined SHARED || defined PROCINFO_DECL
|
||||||
|
@@ -33,7 +33,9 @@
|
|||||||
|
|
||||||
/* Hardware capablity bit numbers are derived directly from the
|
/* Hardware capablity bit numbers are derived directly from the
|
||||||
facility indications as stored by the "store facility list" (STFL)
|
facility indications as stored by the "store facility list" (STFL)
|
||||||
instruction. */
|
instruction.
|
||||||
|
highgprs is an alien in that list. It describes a *kernel*
|
||||||
|
capability. */
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@@ -47,6 +49,7 @@ enum
|
|||||||
HWCAP_S390_HPAGE = 1 << 7,
|
HWCAP_S390_HPAGE = 1 << 7,
|
||||||
HWCAP_S390_ETF3EH = 1 << 8,
|
HWCAP_S390_ETF3EH = 1 << 8,
|
||||||
HWCAP_S390_HIGH_GPRS = 1 << 9,
|
HWCAP_S390_HIGH_GPRS = 1 << 9,
|
||||||
|
HWCAP_S390_TE = 1 << 10,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \
|
#define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \
|
||||||
|
@@ -34,3 +34,4 @@
|
|||||||
#define HWCAP_S390_HPAGE 128
|
#define HWCAP_S390_HPAGE 128
|
||||||
#define HWCAP_S390_ETF3EH 256
|
#define HWCAP_S390_ETF3EH 256
|
||||||
#define HWCAP_S390_HIGH_GPRS 512
|
#define HWCAP_S390_HIGH_GPRS 512
|
||||||
|
#define HWCAP_S390_TE 1024
|
||||||
|
Reference in New Issue
Block a user