From a3344c8e5edbf8560143ac456d55efd109938000 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 30 Nov 2005 20:52:27 +0000 Subject: [PATCH] Fix typos in wp-mmx.pl. --- crypto/whrlpool/asm/wp-mmx.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/whrlpool/asm/wp-mmx.pl b/crypto/whrlpool/asm/wp-mmx.pl index 60bae63554..ee7734b2a3 100644 --- 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 -* 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 @@ -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(&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++) { &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 -- 2.25.1