projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
18d7158
)
sha256-586.pl: fix typos.
author
Andy Polyakov
<appro@openssl.org>
Sun, 1 Jul 2012 08:46:38 +0000
(08:46 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 1 Jul 2012 08:46:38 +0000
(08:46 +0000)
crypto/sha/asm/sha256-586.pl
patch
|
blob
|
history
diff --git
a/crypto/sha/asm/sha256-586.pl
b/crypto/sha/asm/sha256-586.pl
index 46bd92943bf72e384a627ecb3f86d191512a6293..7244b00c87532f298d69b58e9d5766b7474d4db6 100644
(file)
--- a/
crypto/sha/asm/sha256-586.pl
+++ b/
crypto/sha/asm/sha256-586.pl
@@
-34,7
+34,7
@@
# gcc 36 41 27 26 25 50 36
# icc 33 38 25 23 - - -
# x86 asm(*) 27/24 28 19/15.5 18/15.6 12.5 30/25 16.6
# gcc 36 41 27 26 25 50 36
# icc 33 38 25 23 - - -
# x86 asm(*) 27/24 28 19/15.5 18/15.6 12.5 30/25 16.6
-# x86_64 asm(**) 17.5 15
15.5 17.5 23 21
+# x86_64 asm(**) 17.5 15
.1 13.9 11.6 22 13.7
#
# (*) numbers after slash are for unrolled loop, where available;
# (**) x86_64 assembly performance is presented for reference
#
# (*) numbers after slash are for unrolled loop, where available;
# (**) x86_64 assembly performance is presented for reference
@@
-499,7
+499,7
@@
my @AH = ($A,$T);
&mov ("edi",&DWP(96+4,"esp")); # inp
&mov (&DWP(24,"esp"),"ecx");
&mov (&DWP(28,"esp"),"esi");
&mov ("edi",&DWP(96+4,"esp")); # inp
&mov (&DWP(24,"esp"),"ecx");
&mov (&DWP(28,"esp"),"esi");
- &vmovdqa ($t3,&
D
WP(256,$K256));
+ &vmovdqa ($t3,&
Q
WP(256,$K256));
&jmp (&label("grand_xop"));
&set_label("grand_xop",16);
&jmp (&label("grand_xop"));
&set_label("grand_xop",16);
@@
-738,7
+738,7
@@
sub body_00_15 () {
&mov ("edi",&DWP(96+4,"esp")); # inp
&mov (&DWP(24,"esp"),"ecx");
&mov (&DWP(28,"esp"),"esi");
&mov ("edi",&DWP(96+4,"esp")); # inp
&mov (&DWP(24,"esp"),"ecx");
&mov (&DWP(28,"esp"),"esi");
- &vmovdqa ($t3,&
D
WP(256,$K256));
+ &vmovdqa ($t3,&
Q
WP(256,$K256));
&jmp (&label("grand_avx"));
&set_label("grand_avx",16);
&jmp (&label("grand_avx"));
&set_label("grand_avx",16);