diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-06-23 09:38:47 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-06-23 09:40:05 -0500 |
commit | db22400947e1c82153e5270d23fed53fc1e3a659 (patch) | |
tree | 32ba584b92e594001ddc078e4611c5d3307df5e1 | |
parent | cc7d044752ded296cf737c311f786e87b88180ec (diff) | |
download | glibc-db22400947e1c82153e5270d23fed53fc1e3a659.tar glibc-db22400947e1c82153e5270d23fed53fc1e3a659.tar.gz glibc-db22400947e1c82153e5270d23fed53fc1e3a659.tar.bz2 glibc-db22400947e1c82153e5270d23fed53fc1e3a659.zip |
PowerPC: sync hwcap.h capabilities
Linux commit dd58a092c4202f2bd490adab7285b3ff77f8e467 added the
PPC_FEATURE2_VEC_CRYPTO auvx capability to indicate whether to
hardware supports vector crypto hardware instructions. This patch
adds its definition to powerpc hwcap bits.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/bits/hwcap.h | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New + macro: hardware supports Vector Crypto instructions. + 2014-06-23 Will Newton <will.newton@linaro.org> * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely diff --git a/sysdeps/powerpc/bits/hwcap.h b/sysdeps/powerpc/bits/hwcap.h index 7daec9151d..e894bd4920 100644 --- a/sysdeps/powerpc/bits/hwcap.h +++ b/sysdeps/powerpc/bits/hwcap.h @@ -62,3 +62,5 @@ #define PPC_FEATURE2_HAS_EBB 0x10000000 /* Event Base Branching */ #define PPC_FEATURE2_HAS_ISEL 0x08000000 /* Integer Select */ #define PPC_FEATURE2_HAS_TAR 0x04000000 /* Target Address Register */ +#define PPC_FEATURE2_HAS_VEC_CRYPTO 0x02000000 /* Target supports vector + instruction. */ |