Only use inlined target functions when supported

To support clang-cl builds, until we add the necessary logic to enable
function targets for this case.

Pick-to: 6.3
Fixes: QTBUG-98253
Change-Id: Ied296babaa85a13321663d50019fad49134f0f44
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Allan Sandfeld Jensen 2022-02-01 10:45:11 +01:00
parent 8bd2e6d0d4
commit b94e204861

View File

@ -191,7 +191,7 @@ int qfloat16::fpClassify() const noexcept
exactness is stronger the smaller the numbers are. exactness is stronger the smaller the numbers are.
*/ */
#if QT_COMPILER_SUPPORTS(F16C) #if QT_COMPILER_SUPPORTS_HERE(F16C)
#define QT_FUNCTION_TARGET_STRING_AVX512VLBW \ #define QT_FUNCTION_TARGET_STRING_AVX512VLBW \
QT_FUNCTION_TARGET_STRING_AVX512VL "," \ QT_FUNCTION_TARGET_STRING_AVX512VL "," \
QT_FUNCTION_TARGET_STRING_AVX512BW "," \ QT_FUNCTION_TARGET_STRING_AVX512BW "," \