summaryrefslogtreecommitdiffstats
path: root/crypto/sha/asm/sha256-586.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-07-01 08:46:38 +0000
committerAndy Polyakov <appro@openssl.org>2012-07-01 08:46:38 +0000
commit2dce10c56d8c254f228c3a142468f120ea5074d1 (patch)
treed6a1bf7ae24b8537e60bae36bd384327e72bfb96 /crypto/sha/asm/sha256-586.pl
parent18d7158809c9722f4c6d2a8af7513577274f9b56 (diff)
sha256-586.pl: fix typos.
Diffstat (limited to 'crypto/sha/asm/sha256-586.pl')
-rw-r--r--crypto/sha/asm/sha256-586.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/sha/asm/sha256-586.pl b/crypto/sha/asm/sha256-586.pl
index 46bd92943b..7244b00c87 100644
--- 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
-# 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
@@ -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");
- &vmovdqa ($t3,&DWP(256,$K256));
+ &vmovdqa ($t3,&QWP(256,$K256));
&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");
- &vmovdqa ($t3,&DWP(256,$K256));
+ &vmovdqa ($t3,&QWP(256,$K256));
&jmp (&label("grand_avx"));
&set_label("grand_avx",16);