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
Tor Arne Vestbø 2016-02-29 14:36:38 +01:00
parent 35405858a3
commit e6b8d742a7
1 changed files with 2 additions and 2 deletions

View File

@ -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;