[xiph-commits] r10116 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Tue Oct 4 07:15:23 PDT 2005


Author: jm
Date: 2005-10-04 07:15:21 -0700 (Tue, 04 Oct 2005)
New Revision: 10116

Modified:
   trunk/speex/libspeex/filters_sse.h
Log:
Stupid off-by-one bug (thanks to David Laing for tracking it down)


Modified: trunk/speex/libspeex/filters_sse.h
===================================================================
--- trunk/speex/libspeex/filters_sse.h	2005-10-03 06:51:10 UTC (rev 10115)
+++ trunk/speex/libspeex/filters_sse.h	2005-10-04 14:15:21 UTC (rev 10116)
@@ -48,8 +48,8 @@
       den[i] = _mm_loadu_ps(_den+4*i);
    }
    mem[2] = _mm_setr_ps(_mem[8], _mem[9], 0, 0);
-   num[2] = _mm_setr_ps(_num[9], _num[10], 0, 0);
-   den[2] = _mm_setr_ps(_den[9], _den[10], 0, 0);
+   num[2] = _mm_setr_ps(_num[8], _num[9], 0, 0);
+   den[2] = _mm_setr_ps(_den[8], _den[9], 0, 0);
    
    for (i=0;i<N;i++)
    {
@@ -154,7 +154,7 @@
       den[i] = _mm_loadu_ps(_den+4*i);
    }
    mem[2] = _mm_setr_ps(_mem[8], _mem[9], 0, 0);
-   den[2] = _mm_setr_ps(_den[9], _den[10], 0, 0);
+   den[2] = _mm_setr_ps(_den[8], _den[9], 0, 0);
    
    for (i=0;i<N;i++)
    {
@@ -252,7 +252,7 @@
       num[i] = _mm_loadu_ps(_num+4*i);
    }
    mem[2] = _mm_setr_ps(_mem[8], _mem[9], 0, 0);
-   num[2] = _mm_setr_ps(_num[9], _num[10], 0, 0);
+   num[2] = _mm_setr_ps(_num[8], _num[9], 0, 0);
    
    for (i=0;i<N;i++)
    {



More information about the commits mailing list