changeset 3541:3fbddeb13686 libavcodec

10l, vorbis_inverse_coupling_sse() was really 3dnow
author lorenm
date Thu, 03 Aug 2006 07:09:29 +0000
parents f31fda209742
children bdbe52f38868
files i386/dsputil_mmx.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Thu Aug 03 06:07:13 2006 +0000
+++ b/i386/dsputil_mmx.c	Thu Aug 03 07:09:29 2006 +0000
@@ -2711,7 +2711,7 @@
 }
 #endif
 
-static void vorbis_inverse_coupling_sse(float *mag, float *ang, int blocksize)
+static void vorbis_inverse_coupling_3dnow(float *mag, float *ang, int blocksize)
 {
     int i;
     asm volatile("pxor %%mm7, %%mm7":);
@@ -3193,8 +3193,8 @@
 
         if(mm_flags & MM_SSE2)
             c->vorbis_inverse_coupling = vorbis_inverse_coupling_sse2;
-        else if(mm_flags & MM_SSE)
-            c->vorbis_inverse_coupling = vorbis_inverse_coupling_sse;
+        else if(mm_flags & MM_3DNOW)
+            c->vorbis_inverse_coupling = vorbis_inverse_coupling_3dnow;
     }
 
 #ifdef CONFIG_ENCODERS