summaryrefslogtreecommitdiff
path: root/apps/codecs/lib
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-11-24 12:01:08 +0000
committerNils Wallménius <nils@rockbox.org>2010-11-24 12:01:08 +0000
commitff9e1861b3882914d1089bc36b2cc1aa97aa0f47 (patch)
treebb2414eb41340b6eaa83d49d44e813921134ecf6 /apps/codecs/lib
parent72b4c4ff3bc2ff90f922a7a522aad74a5d0310cd (diff)
codeclib: there is no need to limit the outputs of the coldfire X(N)PROD_R macros to data registers, no significant speed diff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28656 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib')
-rw-r--r--apps/codecs/lib/asm_mcf5249.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/lib/asm_mcf5249.h b/apps/codecs/lib/asm_mcf5249.h
index 9be92d2f2d..49d2ddf7cb 100644
--- a/apps/codecs/lib/asm_mcf5249.h
+++ b/apps/codecs/lib/asm_mcf5249.h
@@ -129,7 +129,7 @@ void XNPROD31(int32_t a, int32_t b,
"msac.l %[a], %[v], %%acc1;" \
"movclr.l %%acc0, %[x];" \
"movclr.l %%acc1, %[y];" \
- : [x] "=d" (_x), [y] "=d" (_y) \
+ : [x] "=r" (_x), [y] "=r" (_y) \
: [a] "r" (_a), [b] "r" (_b), \
[t] "r" (_t), [v] "r" (_v) \
: "cc");
@@ -141,7 +141,7 @@ void XNPROD31(int32_t a, int32_t b,
"mac.l %[a], %[v], %%acc1;" \
"movclr.l %%acc0, %[x];" \
"movclr.l %%acc1, %[y];" \
- : [x] "=d" (_x), [y] "=d" (_y) \
+ : [x] "=r" (_x), [y] "=r" (_y) \
: [a] "r" (_a), [b] "r" (_b), \
[t] "r" (_t), [v] "r" (_v) \
: "cc");