From: Andy Polyakov Date: Fri, 27 Apr 2012 20:20:15 +0000 (+0000) Subject: ppccpuid.pl: branch hints in OPENSSL_cleanse impact small block performance X-Git-Tag: OpenSSL_1_0_1c~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c9b31189a947d42a413f489df1edcd105bc269f4;p=oweals%2Fopenssl.git 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 --- diff --git a/crypto/ppccpuid.pl b/crypto/ppccpuid.pl index 067746947e..4ba736a1d1 100755 --- a/crypto/ppccpuid.pl +++ b/crypto/ppccpuid.pl @@ -105,7 +105,7 @@ Ladd: 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 @@ -118,7 +118,7 @@ Laligned: mtctr r5 stw r0,0(r3) addi r3,r3,4 - bdnz- \$-8 + bdnz \$-8 andi. r4,r4,3 bne Little blr