[FFmpeg-cvslog] r17058 - in trunk/libavcodec: mathops.h x86/mathops.h

lorenm subversion
Sun Feb 8 18:44:04 CET 2009


Author: lorenm
Date: Sun Feb  8 18:44:04 2009
New Revision: 17058

Log:
re-enable mid_pred asm on x86_64. (broke in r16681)

Modified:
   trunk/libavcodec/mathops.h
   trunk/libavcodec/x86/mathops.h

Modified: trunk/libavcodec/mathops.h
==============================================================================
--- trunk/libavcodec/mathops.h	Sun Feb  8 14:34:22 2009	(r17057)
+++ trunk/libavcodec/mathops.h	Sun Feb  8 18:44:04 2009	(r17058)
@@ -24,7 +24,7 @@
 
 #include "libavutil/common.h"
 
-#if   ARCH_X86_32
+#if   ARCH_X86
 
 #include "x86/mathops.h"
 

Modified: trunk/libavcodec/x86/mathops.h
==============================================================================
--- trunk/libavcodec/x86/mathops.h	Sun Feb  8 14:34:22 2009	(r17057)
+++ trunk/libavcodec/x86/mathops.h	Sun Feb  8 18:44:04 2009	(r17058)
@@ -25,6 +25,7 @@
 #include "config.h"
 #include "libavutil/common.h"
 
+#if ARCH_X86_32
 #define MULL(ra, rb, shift) \
         ({ int rt, dummy; __asm__ (\
             "imull %3               \n\t"\
@@ -42,6 +43,7 @@
     ({ int64_t rt;\
      __asm__ ("imull %2\n\t" : "=A"(rt) : "a" ((int)ra), "g" ((int)rb));\
      rt; })
+#endif
 
 #if HAVE_CMOV
 /* median of 3 */




More information about the ffmpeg-cvslog mailing list