[x265] [PATCH] pixel8.inc: Avoiding overlap of _MSC_VER macro

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Aug 26 16:08:59 CEST 2013


# HG changeset patch
# User praveentiwari
# Date 1377526132 -19800
# Node ID 98dfcf2092a23af5624d1656e0f0a250bd5e74d8
# Parent  1aec416c274690e1f5bd50d5250d171c469d71ec
pixel8.inc: Avoiding overlap of _MSC_VER macro

diff -r 1aec416c2746 -r 98dfcf2092a2 source/common/vec/pixel8.inc
--- a/source/common/vec/pixel8.inc	Mon Aug 26 18:28:51 2013 +0530
+++ b/source/common/vec/pixel8.inc	Mon Aug 26 19:38:52 2013 +0530
@@ -35,7 +35,7 @@
 #pragma warning(disable: 4799) // MMX warning EMMS
 #endif
 
-#define HAVE_MMX (!((_MSC_VER) && (X86_64)))
+#define HAVE_MMX (!(defined(_MSC_VER) && defined(X86_64)) || defined(__INTEL_COMPILER) || defined(__GCC__))
 
 #if INSTRSET >= X265_CPU_LEVEL_SSE41
 #if HAVE_MMX


More information about the x265-devel mailing list