From 04b80f4003fa9fa77c56032c386886447d01f2a1 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 31 Jul 2013 23:53:49 +0200 Subject: crypto/sha/asm/sha1-x86_64.pl: comply with Win64 ABI. --- crypto/sha/asm/sha1-x86_64.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/sha') 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] -- cgit v1.2.3