From 2dce10c56d8c254f228c3a142468f120ea5074d1 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 1 Jul 2012 08:46:38 +0000 Subject: [PATCH] sha256-586.pl: fix typos. --- crypto/sha/asm/sha256-586.pl | 6 +++--- 1 file 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); -- 2.34.1