Increase minimum clang version requirement for rsaz-avx512.pl
authorAndrey Matyukov <andrey.matyukov@intel.com>
Wed, 24 Mar 2021 07:05:29 +0000 (10:05 +0300)
committerTomas Mraz <tomas@openssl.org>
Tue, 30 Mar 2021 17:05:35 +0000 (19:05 +0200)
commit788a72e92fc0b78c2ca12df90e45cccbaf7a800e
tree017633f8b8bf5bd5863906c13edb6ec112018772
parent1ee1a169c310f3dc735a3d83298686cf70aa427a
Increase minimum clang version requirement for rsaz-avx512.pl

The reason is that clang-6 does not enable proper -march flags by
default for assembly modules (rsaz-avx512.pl requires avx512ifma, avx512dq,
avx512vl, avx512f). This is not true for newer clang versions - clang-7 and
further work ok.

For older clang versions users who want to get optimization from this
file, we have a note in the OPENSSL_ia32cap.pod with the workaround that
proposes having a wrapper that forces using external assembler.

Fixes #14668: clang-6.0.0 build broken

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14671)
crypto/bn/asm/rsaz-avx512.pl