summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-11-15 16:02:17 +0000
committerNils Wallménius <nils@rockbox.org>2010-11-15 16:02:17 +0000
commit76027b5951364af9351dd83f5845c44022617c20 (patch)
treee522408ff4b8a25118fc3c0fd9414ce4511d8b1f /apps
parent2142628a2dba84c5dd79cc54b48ab1ee5f8b70f8 (diff)
downloadrockbox-76027b5951364af9351dd83f5845c44022617c20.tar.gz
rockbox-76027b5951364af9351dd83f5845c44022617c20.tar.bz2
rockbox-76027b5951364af9351dd83f5845c44022617c20.zip
libtremor: correct constraint for coldfire asm, swap can only be used on data registers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28604 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/libtremor/codebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libtremor/codebook.c b/apps/codecs/libtremor/codebook.c
index e75dddb29c..561b597aeb 100644
--- a/apps/codecs/libtremor/codebook.c
+++ b/apps/codecs/libtremor/codebook.c
@@ -195,7 +195,7 @@ static inline ogg_uint32_t bitreverse(register ogg_uint32_t x)
#ifdef CPU_COLDFIRE
ret = x;
- asm ("swap %[r]" : [r] "+r" (ret)); /* swap halfwords */
+ asm ("swap %[r]" : [r] "+d" (ret)); /* swap halfwords */
#else
ret = (x>>16) | (x<<16);
#endif