libtremor: remove some inline cf asm that is no longer needed with the new toolchain, no speed diff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30371 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
12e159dcb4
commit
1be2290bfa
1 changed files with 0 additions and 5 deletions
|
@ -209,12 +209,7 @@ static inline ogg_uint32_t bitreverse(register ogg_uint32_t x)
|
|||
);
|
||||
#else /* !_ARM_ASSEM_ */
|
||||
|
||||
#ifdef CPU_COLDFIRE
|
||||
ret = x;
|
||||
asm ("swap %[r]" : [r] "+d" (ret)); /* swap halfwords */
|
||||
#else
|
||||
ret = (x>>16) | (x<<16);
|
||||
#endif
|
||||
tmp = ret & 0x00ff00ff;
|
||||
ret ^= tmp;
|
||||
ret = (ret >> 8) | (tmp << 8); /* bytes swapped */
|
||||
|
|
Loading…
Reference in a new issue