]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/alpha/remqu.S: Return the correct result when the same cvs/fedora-glibc-20051020T0651
authorUlrich Drepper <drepper@redhat.com>
Thu, 20 Oct 2005 05:25:40 +0000 (05:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 20 Oct 2005 05:25:40 +0000 (05:25 +0000)
dividend and divisor are provided, and they're negative numbers.
* sysdeps/alpha/divqu.S: Likewise.

ChangeLog
sysdeps/alpha/divqu.S
sysdeps/alpha/remqu.S

index d6cfbb7b726370c2911b1af429e8d935af8f5936..4c02f51b889ca3b6afbb2c75821765b7caba6bf0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-23  GOTO Masanori  <gotom@debian.or.jp>
+
+       * sysdeps/alpha/remqu.S: Return the correct result when the same
+       dividend and divisor are provided, and they're negative numbers.
+       * sysdeps/alpha/divqu.S: Likewise.
+
 2005-10-18  Steven Munroe  <sjmunroe@us.ibm.com>
 
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS):
index f2a8a4d53335e44a4b47265e17d946505874f1ba..ef3cdb1b2b53300bd10cf109994821fdc4c5ba0b 100644 (file)
@@ -240,7 +240,7 @@ $y_is_neg:
        /* If we get here, Y is so big that bit 63 is set.  The results
           from the divide will be completely wrong.  Fortunately, the
           quotient must be either 0 or 1, so just compute it directly.  */
-       cmpult  Y, X, RV
+       cmpule  Y, X, RV
        excb
        mt_fpcr $f3
        ldt     $f0, 0(sp)
index dcc1c88b3c5c0d3f6fb3255817baba6a858fa63d..398a345a18578569707299fc30e83b65d7ae99d2 100644 (file)
@@ -246,7 +246,7 @@ $y_is_neg:
           from the divide will be completely wrong.  Fortunately, the
           quotient must be either 0 or 1, so the remainder must be X
           or X-Y, so just compute it directly.  */
-       cmpult  Y, X, AT
+       cmpule  Y, X, AT
        subq    X, Y, RV
        ldt     $f0, 0(sp)
        cmoveq  AT, X, RV
This page took 0.05142 seconds and 5 git commands to generate.