]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove FIXME and special case for quotient.
authorUlrich Drepper <drepper@redhat.com>
Thu, 19 Jun 1997 19:05:14 +0000 (19:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 19 Jun 1997 19:05:14 +0000 (19:05 +0000)
sysdeps/m68k/fpu/s_remquo.c

index 3682ba7896d8ab7b167f9d52522ce3865b278e2d..0332eccfd0cf4e209ce0f55088b52b9536a8ad27 100644 (file)
@@ -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;