diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-01 10:45:11 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-02 15:16:00 +0100 |
commit | b94e2048610f8ea9dba81ddc2dcf912b33c4d20d (patch) | |
tree | e53f41e5c6cd7245af763700159e6b0c02ee2a5b /src/corelib/global | |
parent | 8bd2e6d0d497da9362038d5e852cea1091d3622c (diff) |
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>
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qfloat16.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qfloat16.cpp b/src/corelib/global/qfloat16.cpp index 33f5535a79..5960244ac8 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 "," \ |