Commit 96064ad3 authored by lorenm's avatar lorenm

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17058 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 66320343
......@@ -24,7 +24,7 @@
#include "libavutil/common.h"
#if ARCH_X86_32
#if ARCH_X86
#include "x86/mathops.h"
......
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment