From a4125f421b7b37db156bcae04459ab063c3bb9bd Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 5 Jul 2023 08:57:31 +0200 Subject: [PATCH] qYieldCpu(): use Q_CC_GNU_ONLY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simplifies the expression. Change-Id: Ia0524d10126bf77980711c83b45fc974d9f0ae1f Reviewed-by: MÃ¥rten Nordheim Reviewed-by: Thiago Macieira --- src/corelib/global/qsimd_p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/corelib/global/qsimd_p.h b/src/corelib/global/qsimd_p.h index 5d53ec7dd4b..031ac78c607 100644 --- a/src/corelib/global/qsimd_p.h +++ b/src/corelib/global/qsimd_p.h @@ -407,8 +407,7 @@ static inline void qYieldCpu() #elif defined(Q_PROCESSOR_ARM) && Q_PROCESSOR_ARM >= 7 /* yield was added in ARMv7 */ # if __has_builtin(__builtin_arm_yield) /* e.g. Clang */ __builtin_arm_yield(); -# elif defined(Q_OS_INTEGRITY) || \ - (defined(Q_CC_GNU) && !defined(Q_CC_CLANG)) +# elif defined(Q_OS_INTEGRITY) || defined(Q_CC_GNU_ONLY) /* - Integrity is missing the arm_acle.h header - GCC doesn't have __yield() in arm_acle.h