diff options
author | David S. Miller <davem@redhat.com> | 2012-04-27 18:00:52 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2012-04-27 18:00:52 +0000 |
commit | 4d29644716886a249209e5aaf493bde6fe3b1e31 (patch) | |
tree | 1f218f100001eb47ec00379f08a5b094d193fee4 | |
parent | 557865dd95ce7e9fbc91b26b48a3dfb74ae4b579 (diff) | |
download | gdb-4d29644716886a249209e5aaf493bde6fe3b1e31.zip gdb-4d29644716886a249209e5aaf493bde6fe3b1e31.tar.gz gdb-4d29644716886a249209e5aaf493bde6fe3b1e31.tar.bz2 |
Add new ELF_SPARC_HWCAP_* defines for features found on SPARC-T4.
include/elf/
* sparc.h: Add new ELF_SPARC_HWCAP_* defines for crypto,
pause, and compare-and-branch instructions.
-rw-r--r-- | include/elf/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/sparc.h | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 2d8264e..eb6edc5 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2012-04-27 David S. Miller <davem@davemloft.net> + + * sparc.h: Add new ELF_SPARC_HWCAP_* defines for crypto, + pause, and compare-and-branch instructions. + 2012-03-07 Nick Clifton <nickc@redhat.com> * mn10300.h (elf_mn10300_reloc_type): Add R_MN10300_TLS_GD, diff --git a/include/elf/sparc.h b/include/elf/sparc.h index 880ead6..d182f4d 100644 --- a/include/elf/sparc.h +++ b/include/elf/sparc.h @@ -213,5 +213,19 @@ enum #define ELF_SPARC_HWCAP_IMA 0x00008000 /* integer multiply-add */ #define ELF_SPARC_HWCAP_ASI_CACHE_SPARING \ 0x00010000 /* cache sparing ASIs */ +#define ELF_SPARC_HWCAP_AES 0x00020000 /* AES crypto insns */ +#define ELF_SPARC_HWCAP_DES 0x00040000 /* DES crypto insns */ +#define ELF_SPARC_HWCAP_KASUMI 0x00080000 /* KASUMI crypto insns */ +#define ELF_SPARC_HWCAP_CAMELLIA \ + 0x00100000 /* CAMELLIA crypto insns */ +#define ELF_SPARC_HWCAP_MD5 0x00200000 /* MD5 hashing insns */ +#define ELF_SPARC_HWCAP_SHA1 0x00400000 /* SHA1 hashing insns */ +#define ELF_SPARC_HWCAP_SHA256 0x00800000 /* SHA256 hashing insns */ +#define ELF_SPARC_HWCAP_SHA512 0x01000000 /* SHA512 hashing insns */ +#define ELF_SPARC_HWCAP_MPMUL 0x02000000 /* Multiple Precision Multiply */ +#define ELF_SPARC_HWCAP_MONT 0x04000000 /* Montgomery Mult/Sqrt */ +#define ELF_SPARC_HWCAP_PAUSE 0x08000000 /* Pause insn */ +#define ELF_SPARC_HWCAP_CBCOND 0x10000000 /* Compare and Branch insns */ +#define ELF_SPARC_HWCAP_CRC32C 0x20000000 /* CRC32C insn */ #endif /* _ELF_SPARC_H */ |