1
0
Fork 0
forked from len0rd/rockbox

Woops, movem.l needs other order.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15178 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thom Johansen 2007-10-18 00:48:00 +00:00
parent 00662a235c
commit fffc257897

View file

@ -113,11 +113,11 @@ void vector_fmul_add_add(fixed32 *dst, const fixed32 *data,
asm volatile ( asm volatile (
"0:" "0:"
"movem.l (%[d]), %%d0-%%d3;" "movem.l (%[d]), %%d0-%%d3;"
"movem.l (%[w]), %%a0-%%a1/%%d4-%%d5;" "movem.l (%[w]), %%d4-%%d5/%%a0-%%a1;"
"mac.l %%d0, %%a0, %%acc0;" "mac.l %%d0, %%d4, %%acc0;"
"mac.l %%d1, %%a1, %%acc1;" "mac.l %%d1, %%d5, %%acc1;"
"mac.l %%d2, %%d4, %%acc2;" "mac.l %%d2, %%a0, %%acc2;"
"mac.l %%d3, %%d5, %%acc3;" "mac.l %%d3, %%a1, %%acc3;"
"lea.l (%[d], 16), %[d];" "lea.l (%[d], 16), %[d];"
"lea.l (%[w], 16), %[w];" "lea.l (%[w], 16), %[w];"
"movclr.l %%acc0, %%d0;" "movclr.l %%acc0, %%d0;"