projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86_64 assembly pack: tune clang version detection.
[openssl.git]
/
crypto
/
sha
/
asm
/
sha512-x86_64.pl
diff --git
a/crypto/sha/asm/sha512-x86_64.pl
b/crypto/sha/asm/sha512-x86_64.pl
index 04ab412398fbe0b90fe13193cba61cf94a2411f3..a71762bd6030a1647e5dbeaab01ed6f5bbaa5229 100755
(executable)
--- a/
crypto/sha/asm/sha512-x86_64.pl
+++ b/
crypto/sha/asm/sha512-x86_64.pl
@@
-125,7
+125,7
@@
if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) &&
$avx = ($1>=10) + ($1>=11);
}
-if (!$avx && `$ENV{CC} -v 2>&1` =~ /(
^clang
version|based on LLVM) ([3-9]\.[0-9]+)/) {
+if (!$avx && `$ENV{CC} -v 2>&1` =~ /(
(?:^clang|LLVM)
version|based on LLVM) ([3-9]\.[0-9]+)/) {
$avx = ($2>=3.0) + ($2>3.0);
}