diff options
author | Andy Polyakov <appro@openssl.org> | 2011-07-17 17:40:29 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2011-07-17 17:40:29 +0000 |
commit | 87873f4328274fc64b4089de6deabf52e5b2d481 (patch) | |
tree | acd172d7a94fcc74f1ea9972571d587e1d7990a5 /crypto/arm_arch.h | |
parent | 9fe51d5f73fdd07d6bae82f415f203bafb4b00f5 (diff) |
ARM assembler pack: add platform run-time detection.
Diffstat (limited to 'crypto/arm_arch.h')
-rw-r--r-- | crypto/arm_arch.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crypto/arm_arch.h b/crypto/arm_arch.h index 82401add19..15027ed3de 100644 --- a/crypto/arm_arch.h +++ b/crypto/arm_arch.h @@ -18,7 +18,7 @@ */ # if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || \ defined(__ARM_ARCH_7R__)|| defined(__ARM_ARCH_7M__) || \ - defined(__ARM_ARCH_7EM) + defined(__ARM_ARCH_7EM__) # define __ARM_ARCH__ 7 # elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || \ defined(__ARM_ARCH_6K__)|| defined(__ARM_ARCH_6M__) || \ @@ -39,5 +39,12 @@ #include <openssl/fipssyms.h> #endif +#if !__ASSEMBLER__ +extern unsigned int OPENSSL_armcap_P; + +#define ARMV7_NEON (1<<0) +#define ARMV7_TICK (1<<1) +#endif + #endif #endif |