summaryrefslogtreecommitdiffstats
path: root/crypto/ppccpuid.pl
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/ppccpuid.pl
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/ppccpuid.pl')
-rwxr-xr-xcrypto/ppccpuid.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/ppccpuid.pl b/crypto/ppccpuid.pl
index 54da0286e9..8d800fe7d3 100755
--- a/crypto/ppccpuid.pl
+++ b/crypto/ppccpuid.pl
@@ -42,6 +42,16 @@ $code=<<___;
.byte 0,12,0x14,0,0,0,0,0
.size .OPENSSL_altivec_probe,.-..OPENSSL_altivec_probe
+.globl .OPENSSL_crypto207_probe
+.align 4
+.OPENSSL_crypto207_probe:
+ lvx_u v0,0,r1
+ vcipher v0,v0,v0
+ blr
+ .long 0
+ .byte 0,12,0x14,0,0,0,0,0
+.size .OPENSSL_crypto207_probe,.-.OPENSSL_crypto207_probe
+
.globl .OPENSSL_wipe_cpu
.align 4
.OPENSSL_wipe_cpu: