summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-04-27 20:21:26 +0000
committerAndy Polyakov <appro@openssl.org>2012-04-27 20:21:26 +0000
commitc50847c28ba801fcf4a4c9a45fae800f661a97fe (patch)
treebaa9eb9d2d6ef97e13a7cf9c5178428a6f2db8e3 /crypto
parentb1ce2d24dda61f153121f025a3757f91b2ba36f6 (diff)
ppccpuid.pl: branch hints in OPENSSL_cleanse impact small block performance
of digest algorithms, mosty SHA, on Power7. Mystery of century, why SHA, why slower algorithm are affected more... [from HEAD]. PR: 2794 Submitted by: Ashley Lai
Diffstat (limited to 'crypto')
-rwxr-xr-xcrypto/ppccpuid.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ppccpuid.pl b/crypto/ppccpuid.pl
index 369e1d0df9..39473922f3 100755
--- a/crypto/ppccpuid.pl
+++ b/crypto/ppccpuid.pl
@@ -72,7 +72,7 @@ Loop: lwarx r5,0,r3
Little: mtctr r4
stb r0,0(r3)
addi r3,r3,1
- bdnz- \$-8
+ bdnz \$-8
blr
Lot: andi. r5,r3,3
beq Laligned
@@ -85,7 +85,7 @@ Laligned:
mtctr r5
stw r0,0(r3)
addi r3,r3,4
- bdnz- \$-8
+ bdnz \$-8
andi. r4,r4,3
bne Little
blr