qsimd.h: add two more CPU feature macros that MSVC doesn't define

Ivy Bridge added RDRAND and Haswell (x86-64-v3) added MOVBE.

Pick-to: 6.4
Change-Id: I3d74c753055744deb8acfffd1723e5b9bdfaaafb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
U-GER\tjmaciei 2022-11-02 15:40:19 -07:00 committed by Thiago Macieira
parent c2aa05991d
commit 3a8980304f

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