2014-07-20 12:16:31 +00:00
|
|
|
#ifndef __PPC_ARCH_H__
|
2015-01-22 03:40:55 +00:00
|
|
|
# define __PPC_ARCH_H__
|
2014-07-20 12:16:31 +00:00
|
|
|
|
|
|
|
extern unsigned int OPENSSL_ppccap_P;
|
|
|
|
|
2015-11-13 23:10:19 +00:00
|
|
|
/*
|
|
|
|
* Flags' usage can appear ambiguous, because they are set rather
|
|
|
|
* to reflect OpenSSL performance preferences than actual processor
|
|
|
|
* capabilities.
|
|
|
|
*/
|
2015-01-22 03:40:55 +00:00
|
|
|
# define PPC_FPU64 (1<<0)
|
|
|
|
# define PPC_ALTIVEC (1<<1)
|
|
|
|
# define PPC_CRYPTO207 (1<<2)
|
2015-11-13 23:10:19 +00:00
|
|
|
# define PPC_FPU (1<<3)
|
2014-07-20 12:16:31 +00:00
|
|
|
|
|
|
|
#endif
|