Remove attempt at detecting compile-time HLE
There's no __HLE__ macro and there won't be, since the HLE prefix can be run on older CPUs. There's no need for runtime detection. Change-Id: Ib306f8f647014b399b87ffff13f1daba0e654b02 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
baff532de0
commit
6392927152
@ -499,8 +499,7 @@ static const int features_indices[] = {
|
||||
static const int features_count = (sizeof features_indices - 1) / (sizeof features_indices[0]);
|
||||
|
||||
// record what CPU features were enabled by default in this Qt build
|
||||
// don't define for HLE, since the HLE prefix can be run on older CPUs
|
||||
static const uint minFeature = qCompilerCpuFeatures & ~HLE;
|
||||
static const uint minFeature = qCompilerCpuFeatures;
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#if defined(Q_CC_GNU)
|
||||
|
@ -265,9 +265,6 @@ static const uint qCompilerCpuFeatures = 0
|
||||
#if defined __RTM__
|
||||
| RTM
|
||||
#endif
|
||||
#if defined __HLE__
|
||||
| HLE
|
||||
#endif
|
||||
#if defined __AVX2__
|
||||
| AVX2
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user