summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qtimezoneprivate_data_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-07-17 13:22:13 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-09-22 06:22:07 +0000
commit6a8251a89b6a61258498f4af1ba7b3d5b7f7096c (patch)
tree3776a2c70572a3735f452b4c467cfe208ccab3a1 /src/corelib/tools/qtimezoneprivate_data_p.h
parent09aeda21b902763919c2e0b2b06d09275d136e8c (diff)
Reorganize the bits for the CPU feature detection
Instead of trying to detect one bit and set another, let's just use the bits from the x86 CPUID instruction on x86. This makes use of the full 64-bit space now. Since MSVC doesn't like enums bigger than 32-bit, we have to store the bit number instead of the actual bit value in the constant. For that reason, I also renamed the constants, to catch anyone who was using them directly, instead of through qCpuHasFeature. Change-Id: Ib306f8f647014b399b87ffff13f1d587692d827a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qtimezoneprivate_data_p.h')
0 files changed, 0 insertions, 0 deletions