提交 9474483a 编写于 作者: A Andy Polyakov

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...
PR: 2794
Submitted by: Ashley Lai
上级 a7086099
...@@ -105,7 +105,7 @@ Ladd: lwarx r5,0,r3 ...@@ -105,7 +105,7 @@ Ladd: lwarx r5,0,r3
Little: mtctr r4 Little: mtctr r4
stb r0,0(r3) stb r0,0(r3)
addi r3,r3,1 addi r3,r3,1
bdnz- \$-8 bdnz \$-8
blr blr
Lot: andi. r5,r3,3 Lot: andi. r5,r3,3
beq Laligned beq Laligned
...@@ -118,7 +118,7 @@ Laligned: ...@@ -118,7 +118,7 @@ Laligned:
mtctr r5 mtctr r5
stw r0,0(r3) stw r0,0(r3)
addi r3,r3,4 addi r3,r3,4
bdnz- \$-8 bdnz \$-8
andi. r4,r4,3 andi. r4,r4,3
bne Little bne Little
blr blr
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册