summaryrefslogtreecommitdiffstats
path: root/crypto/ppc_arch.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-07-20 14:36:49 +0200
committerAndy Polyakov <appro@openssl.org>2014-07-20 14:36:49 +0200
commitc991d8ae8bf712983ba527eef43388d8bb120a03 (patch)
tree7ddbeafe135648b3f22d561c56e9ee9fea540203 /crypto/ppc_arch.h
parentbe12cb3e24ad15343e83e826a63a9aa4a3edaea7 (diff)
Initial POWER8 support from development branch.
Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/ppc_arch.h')
-rw-r--r--crypto/ppc_arch.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/ppc_arch.h b/crypto/ppc_arch.h
new file mode 100644
index 0000000000..1192edfa2d
--- /dev/null
+++ b/crypto/ppc_arch.h
@@ -0,0 +1,10 @@
+#ifndef __PPC_ARCH_H__
+#define __PPC_ARCH_H__
+
+extern unsigned int OPENSSL_ppccap_P;
+
+#define PPC_FPU64 (1<<0)
+#define PPC_ALTIVEC (1<<1)
+#define PPC_CRYPTO207 (1<<2)
+
+#endif