summaryrefslogtreecommitdiff
path: root/apps/codecs/Tremor
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2005-06-08 13:41:07 +0000
committerThom Johansen <thomj@rockbox.org>2005-06-08 13:41:07 +0000
commit668205f4274d334625edc62253b9c2a35e764f09 (patch)
tree56f6225d6a54544a3479156ab2f611fa072271a5 /apps/codecs/Tremor
parent0a3f8e0924aff1da89cd8e2d594fe76474da8524 (diff)
downloadrockbox-668205f4274d334625edc62253b9c2a35e764f09.zip
rockbox-668205f4274d334625edc62253b9c2a35e764f09.tar.gz
rockbox-668205f4274d334625edc62253b9c2a35e764f09.tar.bz2
rockbox-668205f4274d334625edc62253b9c2a35e764f09.tar.xz
We clear our accumulators after we're done with them on Coldfire. No need to clear them on init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/Tremor')
-rw-r--r--apps/codecs/Tremor/asm_mcf5249.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/codecs/Tremor/asm_mcf5249.h b/apps/codecs/Tremor/asm_mcf5249.h
index b930ce1..4d7767c 100644
--- a/apps/codecs/Tremor/asm_mcf5249.h
+++ b/apps/codecs/Tremor/asm_mcf5249.h
@@ -28,12 +28,7 @@
static inline void mcf5249_init_mac(void) {
int r;
- asm volatile ("move.l #0x20, %%macsr;" /* frac, truncate, no saturation */
- "movclr.l %%acc0, %[r];" /* clear accumulators */
- "move.l %%acc0, %%acc1;"
- "move.l %%acc0, %%acc2;"
- "move.l %%acc0, %%acc3;"
- : [r] "=r" (r));
+ asm volatile ("move.l #0x20, %%macsr;"); /* frac, truncate, no saturation */
}
static inline ogg_int32_t MULT32(ogg_int32_t x, ogg_int32_t y) {