summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-08-05 18:53:42 +0000
committerMohamed Tarek <mt@rockbox.org>2010-08-05 18:53:42 +0000
commit13167d2389ba39d8f6e261c63538d8dbe01b3541 (patch)
tree27b1a16fb47f7186b6303bc27c2340bdd0238da3 /apps
parentf704ca415f1ac1bd4d56eba6a75b14614a5d6f02 (diff)
downloadrockbox-13167d2389ba39d8f6e261c63538d8dbe01b3541.tar.gz
rockbox-13167d2389ba39d8f6e261c63538d8dbe01b3541.zip
Remove the comment about Coldfire asm. The current code (using fixmul16 macros) is fast enough; even faster than an equivalent CF asm version, as pointed out by Nils Wallménius.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27724 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/libwmapro/wmapro_math.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/apps/codecs/libwmapro/wmapro_math.h b/apps/codecs/libwmapro/wmapro_math.h
index 54c5f45914..261a7bd89d 100644
--- a/apps/codecs/libwmapro/wmapro_math.h
+++ b/apps/codecs/libwmapro/wmapro_math.h
@@ -223,40 +223,6 @@ static inline void vector_fixmul_window(int32_t *dst, const int32_t *src0,
223 : [dst]"+r"(dst), [src]"+r"(src) \ 223 : [dst]"+r"(dst), [src]"+r"(src) \
224 : [mul]"r"(mul) \ 224 : [mul]"r"(mul) \
225 : "r0", "r1", "r2", "r3", "r4", "r5", "memory"); 225 : "r0", "r1", "r2", "r3", "r4", "r5", "memory");
226/* Disable ColdFire version until a correct version is written
227#elif defined (CPU_COLDFIRE)
228 #define VECT_MUL_SCALAR_KERNEL(dst, src, mul) \
229 int32_t tmp; \
230 asm volatile ( \
231 "movem.l (%[src]), %%d0-%%d3 \n\t" \
232 "mac.l %[mul], %%d0, %%acc0 \n\t" \
233 "mac.l %[mul], %%d1, %%acc1 \n\t" \
234 "mac.l %[mul], %%d2, %%acc2 \n\t" \
235 "mac.l %[mul], %%d3, %%acc3 \n\t" \
236 "move.l %%accext01, %[tmp] \n\t" \
237 "movclr.l %%acc0, %%d0 \n\t" \
238 "movclr.l %%acc1, %%d1 \n\t" \
239 "lsl.l #7, %%d0 \n\t" \
240 "move.b %[tmp], %%d0 \n\t" \
241 "swap %[tmp] \n\t" \
242 "lsl.l #7, %%d1 \n\t" \
243 "move.b %[tmp], %%d1 \n\t" \
244 "move.l %%accext23, %[tmp] \n\t" \
245 "movclr.l %%acc2, %%d2 \n\t" \
246 "movclr.l %%acc3, %%d3 \n\t" \
247 "lsl.l #7, %%d2 \n\t" \
248 "move.b %[tmp], %%d2 \n\t" \
249 "swap %[tmp] \n\t" \
250 "lsl.l #7, %%d3 \n\t" \
251 "move.b %[tmp], %%d3 \n\t" \
252 "movem.l %%d0-%%d3, (%[dst]) \n\t" \
253 "lea.l (4*4, %[src]), %[src]\n\t" \
254 "lea.l (4*4, %[dst]), %[dst]\n\t" \
255 : [dst] "+a" (dst), [src] "+a" (src),\
256 [tmp] "=d" (tmp) \
257 : [mul] "r" (mul) \
258 : "d0", "d1", "d2", "d3", "memory", "cc");
259*/
260#else 226#else
261 #define VECT_MUL_SCALAR_KERNEL(dst, src, mul) \ 227 #define VECT_MUL_SCALAR_KERNEL(dst, src, mul) \
262 dst[i ] = fixmul16(src[i ], mul); \ 228 dst[i ] = fixmul16(src[i ], mul); \