mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 10:25:46 +01:00 
			
		
		
		
	dsp/cpu: (msvs) avoid immintrin.h on _M_ARM
_xgetgv() isn't relevant there anyway broken since:279e661Merge "dsp/cpu: add include for _xgetbv() w/MSVS" (cherry picked from commit4fbe9cf202) Change-Id: Iaa7bc0c5be9c06bfffab39e194c64c09bf5b5a27
This commit is contained in:
		| @@ -55,7 +55,8 @@ static WEBP_INLINE uint64_t xgetbv(void) { | ||||
|     : "=a"(eax), "=d"(edx) : "c" (ecx)); | ||||
|   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> | ||||
| #define xgetbv() _xgetbv(0) | ||||
| #elif defined(_MSC_VER) && defined(_M_IX86) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user