From: Ulrich Drepper Date: Thu, 19 Jun 1997 19:05:14 +0000 (+0000) Subject: Remove FIXME and special case for quotient. X-Git-Tag: glibc-2.16-ports-before-merge~3569 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dab1d3494ebb5736752e3f51d1e8f602fa52565;p=thirdparty%2Fglibc.git Remove FIXME and special case for quotient. --- diff --git a/sysdeps/m68k/fpu/s_remquo.c b/sysdeps/m68k/fpu/s_remquo.c index 3682ba7896d..0332eccfd0c 100644 --- a/sysdeps/m68k/fpu/s_remquo.c +++ b/sysdeps/m68k/fpu/s_remquo.c @@ -37,18 +37,9 @@ s(__remquo) (float_type x, float_type y, int *quo) float_type result; int cquo, fpsr; - /* FIXME: Which of frem and fmod is correct? */ -#if 1 __asm ("frem%.x %2,%0\n\tfmove%.l %/fpsr,%1" : "=f" (result), "=dm" (fpsr) : "f" (y), "0" (x)); cquo = (fpsr >> 16) & 0x7f; - if ((result > 0) != (x > 0)) - cquo--; -#else - __asm ("fmod%.x %2,%0\n\tfmove%.l %/fpsr,%1" - : "=f" (result), "=dm" (fpsr) : "f" (y), "0" (x)); - cquo = (fpsr >> 16) & 0x7f; -#endif if (fpsr & (1 << 23)) cquo = -cquo; *quo = cquo;