diff options
| author | Nils Wallménius <nils@rockbox.org> | 2009-12-10 21:43:59 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2009-12-10 21:43:59 +0000 |
| commit | c0dc3c7a74e3eaaf28b3c18c5cdc3077a20e1dda (patch) | |
| tree | 6d88a32ad8bc2bf6f5c4305f09ccff594a9d3b8d /apps/codecs | |
| parent | 75be896c07492dea72cb3328abee3a810755778a (diff) | |
| download | rockbox-c0dc3c7a74e3eaaf28b3c18c5cdc3077a20e1dda.zip rockbox-c0dc3c7a74e3eaaf28b3c18c5cdc3077a20e1dda.tar.gz rockbox-c0dc3c7a74e3eaaf28b3c18c5cdc3077a20e1dda.tar.bz2 rockbox-c0dc3c7a74e3eaaf28b3c18c5cdc3077a20e1dda.tar.xz | |
Remove inline asm that hasn't been useful for years, no speed difference
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23928 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/libtremor/floor1.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/codecs/libtremor/floor1.c b/apps/codecs/libtremor/floor1.c index fa81b0d..138f718 100644 --- a/apps/codecs/libtremor/floor1.c +++ b/apps/codecs/libtremor/floor1.c @@ -197,19 +197,7 @@ static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,vorbis_info_mode *mi, static int render_point(int x0,int x1,int y0,int y1,int x){ y0&=0x7fff; /* mask off flag */ y1&=0x7fff; -#if defined(CPU_COLDFIRE) - asm volatile ("sub.l %[x0],%[x];" - "sub.l %[y0],%[y1];" - "sub.l %[x0],%[x1];" - "muls.l %[y1],%[x];" - "divs.l %[x1],%[x];" - "add.l %[y0],%[x];" - : [x] "+d" (x), [x1] "+d" (x1), [y1] "+d" (y1) - : [x0] "r" (x0), [y0] "r" (y0) ); - return x; -#else return y0+((y1-y0)*(x-x0))/(x1-x0); -#endif } #ifdef _LOW_ACCURACY_ |