diff options
author | Nils Wallménius <nils@rockbox.org> | 2010-11-15 16:02:17 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2010-11-15 16:02:17 +0000 |
commit | 76027b5951364af9351dd83f5845c44022617c20 (patch) | |
tree | e522408ff4b8a25118fc3c0fd9414ce4511d8b1f /apps/codecs/libtremor/codebook.c | |
parent | 2142628a2dba84c5dd79cc54b48ab1ee5f8b70f8 (diff) |
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/codecs/libtremor/codebook.c')
-rw-r--r-- | apps/codecs/libtremor/codebook.c | 2 |
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 |