diff options
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 fa81b0d197..138f718651 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, | |||
197 | static int render_point(int x0,int x1,int y0,int y1,int x){ | 197 | static int render_point(int x0,int x1,int y0,int y1,int x){ |
198 | y0&=0x7fff; /* mask off flag */ | 198 | y0&=0x7fff; /* mask off flag */ |
199 | y1&=0x7fff; | 199 | y1&=0x7fff; |
200 | #if defined(CPU_COLDFIRE) | ||
201 | asm volatile ("sub.l %[x0],%[x];" | ||
202 | "sub.l %[y0],%[y1];" | ||
203 | "sub.l %[x0],%[x1];" | ||
204 | "muls.l %[y1],%[x];" | ||
205 | "divs.l %[x1],%[x];" | ||
206 | "add.l %[y0],%[x];" | ||
207 | : [x] "+d" (x), [x1] "+d" (x1), [y1] "+d" (y1) | ||
208 | : [x0] "r" (x0), [y0] "r" (y0) ); | ||
209 | return x; | ||
210 | #else | ||
211 | return y0+((y1-y0)*(x-x0))/(x1-x0); | 200 | return y0+((y1-y0)*(x-x0))/(x1-x0); |
212 | #endif | ||
213 | } | 201 | } |
214 | 202 | ||
215 | #ifdef _LOW_ACCURACY_ | 203 | #ifdef _LOW_ACCURACY_ |