dsp/cpu: (msvs) avoid immintrin.h on _M_ARM

_xgetgv() isn't relevant there anyway

broken since:
279e661 Merge "dsp/cpu: add include for _xgetbv() w/MSVS"

Change-Id: Iaa7bc0c5be9c06bfffab39e194c64c09bf5b5a27
This commit is contained in:
James Zern 2015-01-15 23:04:08 -08:00
parent 3fd59039bd
commit 4fbe9cf202

View File

@ -55,7 +55,8 @@ static WEBP_INLINE uint64_t xgetbv(void) {
: "=a"(eax), "=d"(edx) : "c" (ecx)); : "=a"(eax), "=d"(edx) : "c" (ecx));
return ((uint64_t)edx << 32) | eax; return ((uint64_t)edx << 32) | eax;
} }
#elif defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 160040219 // >= VS2010 SP1 #elif (defined(_M_X64) || defined(_M_IX86)) && \
defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 160040219 // >= VS2010 SP1
#include <immintrin.h> #include <immintrin.h>
#define xgetbv() _xgetbv(0) #define xgetbv() _xgetbv(0)
#elif defined(_MSC_VER) && defined(_M_IX86) #elif defined(_MSC_VER) && defined(_M_IX86)