summaryrefslogtreecommitdiffstats
path: root/libvo/aclib.c
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-21 11:55:20 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-10-21 11:55:20 +0000
commit798d2d133780c000166f01fd2d7fbde395196be3 (patch)
tree1346451ddb9911c63cd778af21261a6ae6f70346 /libvo/aclib.c
parent159928a38a3fc65427a1336b2c73aa3f78a82aa7 (diff)
downloadmpv-798d2d133780c000166f01fd2d7fbde395196be3.tar.bz2
mpv-798d2d133780c000166f01fd2d7fbde395196be3.tar.xz
adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/aclib.c')
-rw-r--r--libvo/aclib.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libvo/aclib.c b/libvo/aclib.c
index e2a19223f8..a3330eafef 100644
--- a/libvo/aclib.c
+++ b/libvo/aclib.c
@@ -17,7 +17,7 @@
//Feel free to fine-tune the above 2, it might be possible to get some speedup with them :)
//#define STATISTICS
-#ifdef ARCH_X86
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
#define CAN_COMPILE_X86_ASM
#endif
@@ -50,7 +50,6 @@
#undef HAVE_3DNOW
#undef HAVE_SSE
#undef HAVE_SSE2
-#undef ARCH_X86
/*
#ifdef COMPILE_C
#undef HAVE_MMX
@@ -69,7 +68,6 @@
#undef HAVE_3DNOW
#undef HAVE_SSE
#undef HAVE_SSE2
-#define ARCH_X86
#define RENAME(a) a ## _MMX
#include "aclib_template.c"
#endif
@@ -82,7 +80,6 @@
#undef HAVE_3DNOW
#undef HAVE_SSE
#undef HAVE_SSE2
-#define ARCH_X86
#define RENAME(a) a ## _MMX2
#include "aclib_template.c"
#endif
@@ -95,7 +92,6 @@
#define HAVE_3DNOW
#undef HAVE_SSE
#undef HAVE_SSE2
-#define ARCH_X86
#define RENAME(a) a ## _3DNow
#include "aclib_template.c"
#endif
@@ -108,7 +104,6 @@
#undef HAVE_3DNOW
#define HAVE_SSE
#define HAVE_SSE2
-#define ARCH_X86
#define RENAME(a) a ## _SSE
#include "aclib_template.c"
#endif