From 9d9225ed1ddefab985ab3ffd7e77bccf979f1c5b Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Mon, 22 Oct 2007 23:44:19 +0000 Subject: iir_mem16() in assembler for Coldfire for a decent performance boost. Add EMAC init in nb_celp.c, since all modes need this as a base. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15274 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libspeex/nb_celp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/codecs/libspeex/nb_celp.c') diff --git a/apps/codecs/libspeex/nb_celp.c b/apps/codecs/libspeex/nb_celp.c index 0798ffbcf4..5d167a2aa3 100644 --- a/apps/codecs/libspeex/nb_celp.c +++ b/apps/codecs/libspeex/nb_celp.c @@ -1108,6 +1108,9 @@ void *nb_decoder_init(const SpeexMode *m) st->isWideband = 0; st->highpass_enabled = 1; +#ifdef CPU_COLDFIRE + coldfire_set_macsr(0); // Integer mode +#endif #ifdef ENABLE_VALGRIND VALGRIND_MAKE_READABLE(st, NB_DEC_STACK); #endif -- cgit v1.2.3