summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
authoranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-05 04:52:41 +0000
committeranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-05 04:52:41 +0000
commit30566067491f1ccb3cc0cdc02b12bb22e0022502 (patch)
tree478170cf6dfc0367554940152259ce345ca78542 /libao2
parent5e7513f5899eb278d6cea47fb19f7d5b7605caec (diff)
downloadmpv-30566067491f1ccb3cc0cdc02b12bb22e0022502.tar.bz2
mpv-30566067491f1ccb3cc0cdc02b12bb22e0022502.tar.xz
Enable SSH optimizations for FIR filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4536 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r--libao2/fir.h2
-rw-r--r--libao2/pl_resample.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/libao2/fir.h b/libao2/fir.h
index 17ccb9b343..8690824784 100644
--- a/libao2/fir.h
+++ b/libao2/fir.h
@@ -32,6 +32,7 @@
:"memory");
#define SAVE_QUE(x) \
__asm __volatile("movq %%mm2, %0\n\t" \
+ "emms \n\t" \
:"=m"(x[0]) \
: \
:"memory");
@@ -68,6 +69,7 @@
#define SAVE_QUE(x) \
__asm __volatile("movq %%mm5, %0\n\t" \
"movq %%mm4, %1\n\t" \
+ "emms \n\t" \
:"=m"((x)[0]), \
"=m"((x)[4]) \
: \
diff --git a/libao2/pl_resample.c b/libao2/pl_resample.c
index 3cc0b9beaf..1fc4c72c2b 100644
--- a/libao2/pl_resample.c
+++ b/libao2/pl_resample.c
@@ -24,7 +24,7 @@
#include "audio_plugin.h"
#include "audio_plugin_internal.h"
#include "afmt.h"
-// #include "../config.h"
+#include "../config.h"
static ao_info_t info =
{