projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c173d09
)
Fix typos in wp-mmx.pl.
author
Andy Polyakov
<appro@openssl.org>
Wed, 30 Nov 2005 20:52:27 +0000
(20:52 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Wed, 30 Nov 2005 20:52:27 +0000
(20:52 +0000)
crypto/whrlpool/asm/wp-mmx.pl
patch
|
blob
|
history
diff --git
a/crypto/whrlpool/asm/wp-mmx.pl
b/crypto/whrlpool/asm/wp-mmx.pl
index 60bae63554e6e45b4146432f9e9ef90c1b603302..ee7734b2a3e72e8abcaf8a4e7589cb69cafd2e72 100644
(file)
--- a/
crypto/whrlpool/asm/wp-mmx.pl
+++ b/
crypto/whrlpool/asm/wp-mmx.pl
@@
-31,7
+31,7
@@
#
# (*) I've sketched even non-MMX assembler, but for the record
# I've failed to beat the Intel compiler on P4, without using
#
# (*) I've sketched even non-MMX assembler, but for the record
# I've failed to beat the Intel compiler on P4, without using
-
*
MMX that is...
+
#
MMX that is...
# (**) ... on AMD on the other hand non-MMX assembler was observed
# to perform significantly better, but I figured this MMX
# implementation is even faster anyway, so why bother? As for
# (**) ... on AMD on the other hand non-MMX assembler was observed
# to perform significantly better, but I figured this MMX
# implementation is even faster anyway, so why bother? As for
@@
-106,9
+106,9
@@
$tbl="ebp";
for($i=0;$i<8;$i++) { &movq(@mm[$i],&QWP($i*8,"esi")); } # L=H
&set_label("outerloop");
for($i=0;$i<8;$i++) { &movq(@mm[$i],&QWP($i*8,"esi")); } # L=H
&set_label("outerloop");
- for($i=0;$i<8;$i++) { &movq(&QWP($i*8,"esp"),@mm[$i]); } # K=
H
+ for($i=0;$i<8;$i++) { &movq(&QWP($i*8,"esp"),@mm[$i]); } # K=
L
for($i=0;$i<8;$i++) { &pxor(@mm[$i],&QWP($i*8,"edi")); } # L^=inp
for($i=0;$i<8;$i++) { &pxor(@mm[$i],&QWP($i*8,"edi")); } # L^=inp
- for($i=0;$i<8;$i++) { &movq(&QWP(64+$i*8,"esp"),@mm[$i]); } #S=L
+ for($i=0;$i<8;$i++) { &movq(&QWP(64+$i*8,"esp"),@mm[$i]); } #
S=L
&xor ("esi","esi");
&mov (&DWP(12,"ebx"),"esi"); # zero round counter
&xor ("esi","esi");
&mov (&DWP(12,"ebx"),"esi"); # zero round counter