Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Fix microsecond calculation in micr...



details:   https://anonhg.NetBSD.org/src/rev/567bb049323a
branches:  trunk
changeset: 521941:567bb049323a
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sat Feb 09 05:01:39 2002 +0000

description:
Fix microsecond calculation in microtime.

diffstat:

 sys/arch/sparc64/sparc64/locore.s |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r bff0f3aa9eda -r 567bb049323a sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Sat Feb 09 04:58:53 2002 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Sat Feb 09 05:01:39 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.146 2002/02/07 22:23:01 eeh Exp $ */
+/*     $NetBSD: locore.s,v 1.147 2002/02/09 05:01:39 eeh Exp $ */
 
 /*
  * Copyright (c) 1996-2001 Eduardo Horvath
@@ -12125,7 +12125,6 @@
        mulx    %o2, %o5, %o5                                   ! Now calculate usecs -- damn no remainder insn
        sub     %o4, %o5, %o1                                   ! %o1 has the remainder
 
-       add     %o1, %o3, %o1   ! I think this is wrong
        retl
         STPTR  %o1, [%o0+PTRSZ]                                ! Save time_t low word
 #endif



Home | Main Index | Thread Index | Old Index