From: Andy Polyakov Date: Wed, 31 Jul 2013 21:53:49 +0000 (+0200) Subject: crypto/sha/asm/sha1-x86_64.pl: comply with Win64 ABI. X-Git-Tag: OpenSSL_1_0_1f~64 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=04b80f4003fa9fa77c56032c386886447d01f2a1;p=oweals%2Fopenssl.git crypto/sha/asm/sha1-x86_64.pl: comply with Win64 ABI. --- diff --git a/crypto/sha/asm/sha1-x86_64.pl b/crypto/sha/asm/sha1-x86_64.pl index cfdc45cce6..f15c7ec39b 100755 --- a/crypto/sha/asm/sha1-x86_64.pl +++ b/crypto/sha/asm/sha1-x86_64.pl @@ -745,7 +745,7 @@ $code.=<<___; mov %rdi,$ctx # reassigned argument mov %rsi,$inp # reassigned argument mov %rdx,$num # reassigned argument - vzeroall + vzeroupper shl \$6,$num add $inp,$num @@ -1038,7 +1038,7 @@ ___ &Xtail_avx(\&body_20_39); $code.=<<___; - vzeroall + vzeroupper add 0($ctx),$A # update context add 4($ctx),@T[0]