Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/mips/gen Slight optimization.



details:   https://anonhg.NetBSD.org/src/rev/92c1df930c70
branches:  trunk
changeset: 780029:92c1df930c70
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jul 08 00:59:34 2012 +0000

description:
Slight optimization.

diffstat:

 lib/libc/arch/mips/gen/_setjmp.S |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 3a26cb06a65a -r 92c1df930c70 lib/libc/arch/mips/gen/_setjmp.S
--- a/lib/libc/arch/mips/gen/_setjmp.S  Sun Jul 08 00:53:44 2012 +0000
+++ b/lib/libc/arch/mips/gen/_setjmp.S  Sun Jul 08 00:59:34 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _setjmp.S,v 1.23 2011/03/09 16:10:29 tsutsui Exp $     */
+/*     $NetBSD: _setjmp.S,v 1.24 2012/07/08 00:59:34 matt Exp $        */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -46,7 +46,7 @@
 #if 0
        RCSID("from: @(#)_setjmp.s      8.1 (Berkeley) 6/4/93")
 #else
-       RCSID("$NetBSD: _setjmp.S,v 1.23 2011/03/09 16:10:29 tsutsui Exp $")
+       RCSID("$NetBSD: _setjmp.S,v 1.24 2012/07/08 00:59:34 matt Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -113,7 +113,7 @@
        REG_EPILOGUE
 
        j       ra
-       move    v0, zero
+        move   v0, zero
 END(_setjmp)
 
 LEAF(_longjmp)
@@ -175,9 +175,8 @@
 #endif /* SOFTFLOAT_FOR_GCC */
 
        REG_EPILOGUE
-       move    v0, a1                  # get return value in 1st arg
        j       ra
-       nop
+        move   v0, a1                  # get return value in 1st arg
 
 botch:
        /*



Home | Main Index | Thread Index | Old Index