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:
U-GER\tjmaciei 2022-11-02 15:40:19 -07:00 committed by Qt Cherry-pick Bot
parent 9c027ac7ab
commit 70a4ff8d35

View File

@ -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