Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/m68k/gen Remove wrong comment (copy-pas...



details:   https://anonhg.NetBSD.org/src/rev/ee4d8e7ea737
branches:  trunk
changeset: 970030:ee4d8e7ea737
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Mar 09 08:29:11 2020 +0000

description:
Remove wrong comment (copy-paste from somewhere);
__mulsi3 does not depend on __udivsi3.

diffstat:

 common/lib/libc/arch/m68k/gen/mulsi3.S |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 8845bebac516 -r ee4d8e7ea737 common/lib/libc/arch/m68k/gen/mulsi3.S
--- a/common/lib/libc/arch/m68k/gen/mulsi3.S    Mon Mar 09 05:10:19 2020 +0000
+++ b/common/lib/libc/arch/m68k/gen/mulsi3.S    Mon Mar 09 08:29:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mulsi3.S,v 1.4 2013/07/16 23:24:18 matt Exp $  */
+/*     $NetBSD: mulsi3.S,v 1.5 2020/03/09 08:29:11 rin Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -39,7 +39,7 @@
 #if 0
        RCSID("from: @(#)mulsi3.s       5.1 (Berkeley) 6/7/90")
 #else
-       RCSID("$NetBSD: mulsi3.S,v 1.4 2013/07/16 23:24:18 matt Exp $")
+       RCSID("$NetBSD: mulsi3.S,v 1.5 2020/03/09 08:29:11 rin Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -49,8 +49,6 @@
        movel   4(%sp),%d0
        mulsl   8(%sp),%d0
 #else
-| NB: this requires that __udivsi3 preserve %a0 and return
-| the modulus in %d1:
        movew   6(%sp), %d0
        movel   %d0, %a0        | save B
        muluw   8(%sp), %d0     | %d0 holds B * C



Home | Main Index | Thread Index | Old Index