qsimd.h: add two more CPU feature macros that MSVC doesn't define
Ivy Bridge added RDRAND and Haswell (x86-64-v3) added MOVBE. Change-Id: I3d74c753055744deb8acfffd1723e5b9bdfaaafb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 3a8980304f313bc82f0a079bc0239172036ba3ea) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
9c027ac7ab
commit
70a4ff8d35
@ -77,9 +77,11 @@
|
||||
# ifdef __AVX2__
|
||||
// MSVC defines __AVX2__ with /arch:AVX2
|
||||
# define __F16C__ 1
|
||||
# define __RDRND__ 1
|
||||
# define __FMA__ 1
|
||||
# define __BMI__ 1
|
||||
# define __BMI2__ 1
|
||||
# define __MOVBE__ 1
|
||||
# define __LZCNT__ 1
|
||||
# endif
|
||||
// Starting with /arch:AVX512, MSVC defines all the macros
|
||||
|
Loading…
x
Reference in New Issue
Block a user