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: allow clang to compile AVX code.
[openssl.git]
/
crypto
/
bn
/
asm
/
rsaz-avx2.pl
diff --git
a/crypto/bn/asm/rsaz-avx2.pl
b/crypto/bn/asm/rsaz-avx2.pl
index 3eb95569fb6b7e6cf481dae7aea783069e13fe1e..f76ab609d1ccb8a94dfa00b6e67a83509f955f56 100755
(executable)
--- a/
crypto/bn/asm/rsaz-avx2.pl
+++ b/
crypto/bn/asm/rsaz-avx2.pl
@@
-90,6
+90,10
@@
if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) &&
$avx = ($1>=10) + ($1>=11);
}
+if (!$avx && `$ENV{CC} -v` =~ /LLVM ([3-9]\.[0-9]+)/) {
+ $avx = ($1>=3.0) + ($1>=3.1);
+}
+
open OUT,"| $^X $xlate $flavour $output";
*STDOUT = *OUT;