summaryrefslogtreecommitdiff
path: root/apps/codecs/Tremor/asm_mcf5249.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/Tremor/asm_mcf5249.h')
-rw-r--r--apps/codecs/Tremor/asm_mcf5249.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/Tremor/asm_mcf5249.h b/apps/codecs/Tremor/asm_mcf5249.h
index eb6ed759fc..16878d73ee 100644
--- a/apps/codecs/Tremor/asm_mcf5249.h
+++ b/apps/codecs/Tremor/asm_mcf5249.h
@@ -55,8 +55,8 @@ static inline ogg_int32_t MULT31_SHIFT15(ogg_int32_t x, ogg_int32_t y) {
55 ogg_int32_t r; 55 ogg_int32_t r;
56 56
57 asm volatile ("mac.l %[x], %[y], %%acc0;" /* multiply */ 57 asm volatile ("mac.l %[x], %[y], %%acc0;" /* multiply */
58 "mulu.l %[y], %[x];" /* get lower half, avoid emac stall */
58 "movclr.l %%acc0, %[r];" /* get higher half */ 59 "movclr.l %%acc0, %[r];" /* get higher half */
59 "mulu.l %[y], %[x];" /* get lower half */
60 "asl.l #8, %[r];" /* hi<<16, plus one free */ 60 "asl.l #8, %[r];" /* hi<<16, plus one free */
61 "asl.l #8, %[r];" 61 "asl.l #8, %[r];"
62 "lsr.l #8, %[x];" /* (unsigned)lo >> 15 */ 62 "lsr.l #8, %[x];" /* (unsigned)lo >> 15 */