From b94e2048610f8ea9dba81ddc2dcf912b33c4d20d Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 1 Feb 2022 10:45:11 +0100 Subject: [PATCH] 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 --- src/corelib/global/qfloat16.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/global/qfloat16.cpp b/src/corelib/global/qfloat16.cpp index 33f5535a796..5960244ac81 100644 --- a/src/corelib/global/qfloat16.cpp +++ b/src/corelib/global/qfloat16.cpp @@ -191,7 +191,7 @@ int qfloat16::fpClassify() const noexcept 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 \ QT_FUNCTION_TARGET_STRING_AVX512VL "," \ QT_FUNCTION_TARGET_STRING_AVX512BW "," \