diff options
author | Andy Polyakov <appro@openssl.org> | 2016-04-12 00:09:47 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-04-13 12:09:46 +0200 |
commit | e0e532823f1568ef72b3ebc108c38c2cfa44e5aa (patch) | |
tree | b3fd741fbd25a1e00eec4a944a62c9381f1873d0 /crypto/ppccpuid.pl | |
parent | b9077d85b0042d3d5d877d5cf7f06a8a8c035673 (diff) |
PPC assebmly pack: initial POWER9 support tidbits.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/ppccpuid.pl')
-rwxr-xr-x | crypto/ppccpuid.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/ppccpuid.pl b/crypto/ppccpuid.pl index 4c2530d147..9de1355b2f 100755 --- a/crypto/ppccpuid.pl +++ b/crypto/ppccpuid.pl @@ -60,6 +60,16 @@ $code=<<___; .byte 0,12,0x14,0,0,0,0,0 .size .OPENSSL_crypto207_probe,.-.OPENSSL_crypto207_probe +.globl .OPENSSL_madd300_probe +.align 4 +.OPENSSL_madd300_probe: + xor r0,r0,r0 + maddld r3,r0,r0,r0 + maddhdu r3,r0,r0,r0 + blr + .long 0 + .byte 0,12,0x14,0,0,0,0,0 + .globl .OPENSSL_wipe_cpu .align 4 .OPENSSL_wipe_cpu: |