Fix detectProcessorFeatures() fallback path on ARM
Change-Id: Ifcad547caf2d2a7ad7aa1ccb4fbed08810905cee Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>bb10
parent
35405858a3
commit
e6b8d742a7
|
|
@ -167,10 +167,10 @@ static inline quint64 detectProcessorFeatures()
|
|||
#endif
|
||||
|
||||
#if defined(__ARM_NEON__)
|
||||
features = Q_UINT64_C(1) << CpuFeatureNEON;
|
||||
features |= Q_UINT64_C(1) << CpuFeatureNEON;
|
||||
#endif
|
||||
#if defined(__ARM_FEATURE_CRC32)
|
||||
features = Q_UINT64_C(1) << CpuFeatureCRC32;
|
||||
features |= Q_UINT64_C(1) << CpuFeatureCRC32;
|
||||
#endif
|
||||
|
||||
return features;
|
||||
|
|
|
|||
Loading…
Reference in New Issue