From: Andy Polyakov Date: Sun, 15 Jul 2012 13:25:31 +0000 (+0000) Subject: sha1-586.pl: let masm compile AVX code. X-Git-Tag: master-pre-reformat~1711 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=367b126491e0918786c732d779b58edfc09f8a25;p=openssl sha1-586.pl: let masm compile AVX code. --- diff --git a/crypto/sha/asm/sha1-586.pl b/crypto/sha/asm/sha1-586.pl index 6b706be3d7..a9dbeae694 100644 --- a/crypto/sha/asm/sha1-586.pl +++ b/crypto/sha/asm/sha1-586.pl @@ -119,6 +119,10 @@ $ymm=1 if ($xmm && !$ymm && $ARGV[0] eq "win32n" && `nasm -v 2>&1` =~ /NASM version ([2-9]\.[0-9]+)/ && $1>=2.03); # first version supporting AVX +$ymm=1 if ($xmm && !$ymm && $ARGV[0] eq "win32" && + `ml 2>&1` =~ /Version ([0-9]+)\./ && + $1>=10); # first version supporting AVX + &external_label("OPENSSL_ia32cap_P") if ($xmm);