From 9b3a3ad7ff3db7f43640be02faa0f869ecff5b99 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Tue, 21 Jan 2014 16:23:24 -0500 Subject: Unrolled version of the comb filter for ARM (eliminates MOVs) --- celt/celt.c | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/celt/celt.c b/celt/celt.c index 5741b6b5..b67c2d3d 100644 --- a/celt/celt.c +++ b/celt/celt.c @@ -97,7 +97,37 @@ static void comb_filter_const(opus_val32 *y, opus_val32 *x, int T, int N, x3 = SHL32(x[-T-1], 1); x2 = SHL32(x[-T], 1); x1 = SHL32(x[-T+1], 1); - for (i=0;i