diff options
author | Andy Polyakov <appro@openssl.org> | 2015-11-14 00:10:19 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-12-14 16:08:49 +0100 |
commit | 2688d99989902dea884632a8658f3abad0c26d16 (patch) | |
tree | 549d71385e938f4f8c913fddd9cfafb4249a1b72 /crypto/ppc_arch.h | |
parent | f562aedae47c5702b37fb842f96f48b95019d106 (diff) |
crypto/ppccap.c: add SIGILL-free processor capability detection code.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Diffstat (limited to 'crypto/ppc_arch.h')
-rw-r--r-- | crypto/ppc_arch.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/ppc_arch.h b/crypto/ppc_arch.h index b50ec996a5..c0b4f1846b 100644 --- a/crypto/ppc_arch.h +++ b/crypto/ppc_arch.h @@ -3,8 +3,14 @@ extern unsigned int OPENSSL_ppccap_P; +/* + * Flags' usage can appear ambiguous, because they are set rather + * to reflect OpenSSL performance preferences than actual processor + * capabilities. + */ # define PPC_FPU64 (1<<0) # define PPC_ALTIVEC (1<<1) # define PPC_CRYPTO207 (1<<2) +# define PPC_FPU (1<<3) #endif |