sha1-x86_64.pl (291719) | sha1-x86_64.pl (295009) |
---|---|
1#!/usr/bin/env perl 2# 3# ==================================================================== 4# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL 5# project. The module is, however, dual licensed under OpenSSL and 6# CRYPTOGAMS licenses depending on where you obtain it. For further 7# details see http://www.openssl.org/~appro/cryptogams/. 8# ==================================================================== --- 93 unchanged lines hidden (view full) --- 102 $avx = ($1>=2.09) + ($1>=2.10); 103} 104 105if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 106 `ml64 2>&1` =~ /Version ([0-9]+)\./) { 107 $avx = ($1>=10) + ($1>=11); 108} 109 | 1#!/usr/bin/env perl 2# 3# ==================================================================== 4# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL 5# project. The module is, however, dual licensed under OpenSSL and 6# CRYPTOGAMS licenses depending on where you obtain it. For further 7# details see http://www.openssl.org/~appro/cryptogams/. 8# ==================================================================== --- 93 unchanged lines hidden (view full) --- 102 $avx = ($1>=2.09) + ($1>=2.10); 103} 104 105if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) && 106 `ml64 2>&1` =~ /Version ([0-9]+)\./) { 107 $avx = ($1>=10) + ($1>=11); 108} 109 |
110if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|based on LLVM) ([2-9]\.[0-9]+)/) { | 110if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|.*based on LLVM) ([2-9]\.[0-9]+)/) { |
111 $avx = ($2>=3.0) + ($2>3.0); 112} 113 114$shaext=1; ### set to zero if compiling for 1.0.1 115$avx=1 if (!$shaext && $avx); 116 117open OUT,"| \"$^X\" $xlate $flavour $output"; 118*STDOUT=*OUT; --- 1949 unchanged lines hidden --- | 111 $avx = ($2>=3.0) + ($2>3.0); 112} 113 114$shaext=1; ### set to zero if compiling for 1.0.1 115$avx=1 if (!$shaext && $avx); 116 117open OUT,"| \"$^X\" $xlate $flavour $output"; 118*STDOUT=*OUT; --- 1949 unchanged lines hidden --- |