Only use fma functions when CV_FMA3 is set.
authorVincent Rabaud <vrabaud@google.com>
Thu, 4 Nov 2021 21:48:10 +0000 (22:48 +0100)
committerVincent Rabaud <vrabaud@google.com>
Thu, 4 Nov 2021 22:15:49 +0000 (23:15 +0100)
commitffd010767fe401f87a747c0e7f935ddb7da4c63b
tree0b759db953f393c299efee483d31432ce98f22fa
parent38d0063c367b2697b57ab0809530889cc2e20fd7
Only use fma functions when CV_FMA3 is set.

In practice, processors offering AVX2/AVX512 also FMA, that is why it got unnoticed.
modules/core/include/opencv2/core/hal/intrin_avx.hpp
modules/core/include/opencv2/core/hal/intrin_avx512.hpp