# HG changeset patch # User lorenm # Date 1234115044 0 # Node ID 4cea2f47219a193c69f687080bec1ca2d2a439ae # Parent 93980b03673e9c3152f0870ff538cf5893ea05c5 re-enable mid_pred asm on x86_64. (broke in r16681) diff -r 93980b03673e -r 4cea2f47219a mathops.h --- a/mathops.h Sun Feb 08 06:35:21 2009 +0000 +++ b/mathops.h Sun Feb 08 17:44:04 2009 +0000 @@ -24,7 +24,7 @@ #include "libavutil/common.h" -#if ARCH_X86_32 +#if ARCH_X86 #include "x86/mathops.h" diff -r 93980b03673e -r 4cea2f47219a x86/mathops.h --- a/x86/mathops.h Sun Feb 08 06:35:21 2009 +0000 +++ b/x86/mathops.h Sun Feb 08 17:44:04 2009 +0000 @@ -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 */