diff options
author | Francisco Boni <boboniboni@gmail.com> | 2019-10-15 17:56:26 -0300 |
---|---|---|
committer | Francisco Boni <boboniboni@gmail.com> | 2019-10-27 15:53:58 -0300 |
commit | a9b34f5726923babed448e2b4af42f117ae53ca4 (patch) | |
tree | 4ab9a97bfa9b250f9f09aa411b6cc33b7f52472a /mkspecs/macx-clang | |
parent | 7ac3bc9f830a8ea1ebdf4738e883bdc01522c31f (diff) |
QRandom: add support for RDSEED on INTEL_ICL & MSVC
We set the macro for RDSEED because neither MSVC nor the Intel compiler
on Windows defines the macro. The implication is that when qRandomCpu()
calls qCpuHasFeature() in simd.cpp, qDetectCpuFeatures() correctly
receives the expected CPU features enabled in the build from
qCompilerCpuFeatures, namely CpuFeatureRDSEED (qsimd_x86_p.h)
Change-Id: I5741d4f956a93f21c358af8a4ee393c1741b85ee
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/macx-clang')
0 files changed, 0 insertions, 0 deletions