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
/
aes
/
asm
/
aesni-mb-x86_64.pl
diff --git
a/crypto/aes/asm/aesni-mb-x86_64.pl
b/crypto/aes/asm/aesni-mb-x86_64.pl
index 33b1aed3c0b4c3cf86c4f09ef328247aa93789b1..5a100fa8983b57510d5a8a94acce483ab6ee696c 100644
(file)
--- a/
crypto/aes/asm/aesni-mb-x86_64.pl
+++ b/
crypto/aes/asm/aesni-mb-x86_64.pl
@@
-63,7
+63,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);
}