From aa2fca384a7e71b7a9afbee0d68cfb2b7a5266f5 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Thu, 29 Jul 2010 22:18:04 +0000 Subject: Maintenance and minor speedup of libwmapro. Comment unused arrays, fix comment, remove tabs and introduce WMAPRO_FRACT to wma.h to remove magic numbers. Swap operands of fixmul16-call for minor speedup on ARM (+1%). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27617 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libwmapro/wmapro_math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/libwmapro/wmapro_math.h') diff --git a/apps/codecs/libwmapro/wmapro_math.h b/apps/codecs/libwmapro/wmapro_math.h index 06df737..b605f27 100644 --- a/apps/codecs/libwmapro/wmapro_math.h +++ b/apps/codecs/libwmapro/wmapro_math.h @@ -276,7 +276,7 @@ static inline void vector_fixmul_window(int32_t *dst, const int32_t *src0, dst[i+1] = fixmul24(src[i+1], mul); \ dst[i+2] = fixmul24(src[i+2], mul); \ dst[i+3] = fixmul24(src[i+3], mul); -#endif /* CPU_ARM */ +#endif /* CPU_ARM, CPU_COLDFIRE */ static inline void vector_fixmul_scalar(int32_t *dst, const int32_t *src, int32_t mul, int len) -- cgit v1.1