diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-01-26 19:38:20 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-01-27 23:04:52 +0000 |
commit | 72f49ef46a3426471b3c2102566d7d04390217d2 (patch) | |
tree | 48bb4d41669c74c8067f76072763ad378919a837 /qmake | |
parent | 099f2868701932ee99b60d19429d9c43f96dcadc (diff) |
MSVC: Fix use of POPCNT instruction without CPU check
The __popcnt family of intrinsics with MSVC generates directly the
POPCNT instruction and are documented to do so:
https://msdn.microsoft.com/en-us/library/bb385231.aspx
So we can't use __popcnt unless the target processor supports it.
[ChangeLog][Windows] Fixed a bug that caused applications to crash with
"Illegal instruction" faults when compiled with Visual Studio and run on
some older processors.
Task-number: QTBUG-58446
Change-Id: I445bb15619f6401494e8fffd149d83bd2a7e3376
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions