Merge "dsp/cpu: add include for _xgetbv() w/MSVS"
This commit is contained in:
commit
279e66138d
@ -56,6 +56,7 @@ static WEBP_INLINE uint64_t xgetbv(void) {
|
||||
return ((uint64_t)edx << 32) | eax;
|
||||
}
|
||||
#elif defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 160040219 // >= VS2010 SP1
|
||||
#include <immintrin.h>
|
||||
#define xgetbv() _xgetbv(0)
|
||||
#elif defined(_MSC_VER) && defined(_M_IX86)
|
||||
static WEBP_INLINE uint64_t xgetbv(void) {
|
||||
|
Loading…
Reference in New Issue
Block a user