[xiph-commits] r11145 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Sun Apr 16 08:29:21 PDT 2006
Author: jm
Date: 2006-04-16 08:29:18 -0700 (Sun, 16 Apr 2006)
New Revision: 11145
Modified:
trunk/speex/libspeex/filters_arm4.h
Log:
this should fix the ARM assembly (but I can't test it at the moment).
Modified: trunk/speex/libspeex/filters_arm4.h
===================================================================
--- trunk/speex/libspeex/filters_arm4.h 2006-04-16 15:03:48 UTC (rev 11144)
+++ trunk/speex/libspeex/filters_arm4.h 2006-04-16 15:29:18 UTC (rev 11145)
@@ -101,6 +101,8 @@
int i,j;
spx_sig_t xi,yi,nyi;
+ for (i=0;i<ord;i++)
+ mem[i] = SHR32(mem[i],1);
for (i=0;i<N;i++)
{
int deadm, deadn, deadd, deadidx, x1, y1, dead1, dead2, dead3, dead4, dead5, dead6;
@@ -252,6 +254,8 @@
: "cc", "memory");
}
+ for (i=0;i<ord;i++)
+ mem[i] = SHL32(mem[i],1);
}
#define OVERRIDE_IIR_MEM2
@@ -260,6 +264,9 @@
int i,j;
spx_sig_t xi,yi,nyi;
+ for (i=0;i<ord;i++)
+ mem[i] = SHR32(mem[i],1);
+
for (i=0;i<N;i++)
{
int deadm, deadd, deadidx, dead1, dead2, dead3, dead4, dead5, dead6;
@@ -376,4 +383,7 @@
: "cc", "memory");
}
+ for (i=0;i<ord;i++)
+ mem[i] = SHL32(mem[i],1);
+
}
More information about the commits
mailing list