diff --git a/src/corelib/tools/qsimd.cpp b/src/corelib/tools/qsimd.cpp index bf801cfb13..2d679e036e 100644 --- a/src/corelib/tools/qsimd.cpp +++ b/src/corelib/tools/qsimd.cpp @@ -157,7 +157,7 @@ static inline uint detectProcessorFeatures() static int maxBasicCpuidSupported() { #if defined(Q_CC_GNU) - qintptr tmp1; + qregisterint tmp1; # if Q_PROCESSOR_X86 < 5 // check if the CPUID instruction is supported @@ -198,7 +198,7 @@ static int maxBasicCpuidSupported() static void cpuidFeatures01(uint &ecx, uint &edx) { #if defined(Q_CC_GNU) - qintptr tmp1; + qregisterint tmp1; asm ("xchg " PICreg", %2\n" "cpuid\n" "xchg " PICreg", %2\n" @@ -219,7 +219,7 @@ inline void __cpuidex(int info[4], int, __int64) { memset(info, 0, 4*sizeof(int) static void cpuidFeatures07_00(uint &ebx) { #if defined(Q_CC_GNU) - quintptr rbx; // in case it's 64-bit + qregisteruint rbx; // in case it's 64-bit asm ("xchg " PICreg", %0\n" "cpuid\n" "xchg " PICreg", %0\n"