diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/libwmapro/wmapro_math.h | 34 |
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); \ |