ppccpuid.pl: branch hints in OPENSSL_cleanse impact small block performance
authorAndy Polyakov <appro@openssl.org>
Fri, 27 Apr 2012 20:21:26 +0000 (20:21 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 27 Apr 2012 20:21:26 +0000 (20:21 +0000)
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

crypto/ppccpuid.pl

index 369e1d0df932c66022b970db3f61d117385e2574..39473922f32df9bbaa83713916d3063d28f72d7f 100755 (executable)
@@ -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