changeset 4535:99dc749591e2

Enable SSH optimizations for FIR filter
author anders
date Tue, 05 Feb 2002 04:52:41 +0000
parents a38001c3f7e5
children fd65c9bdcc76
files libao2/fir.h libao2/pl_resample.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/fir.h	Tue Feb 05 04:09:50 2002 +0000
+++ b/libao2/fir.h	Tue Feb 05 04:52:41 2002 +0000
@@ -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])        \
                          :                    \
--- a/libao2/pl_resample.c	Tue Feb 05 04:09:50 2002 +0000
+++ b/libao2/pl_resample.c	Tue Feb 05 04:52:41 2002 +0000
@@ -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 =
 {