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 remove extra lw (SOFTFLOAT)



details:   https://anonhg.NetBSD.org/src/rev/d87f61e825c4
branches:  trunk
changeset: 477099:d87f61e825c4
user:      shin <shin%NetBSD.org@localhost>
date:      Mon Oct 11 05:25:35 1999 +0000

description:
remove extra lw (SOFTFLOAT)

diffstat:

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

diffs (28 lines):

diff -r 111ee25f31a9 -r d87f61e825c4 lib/libc/arch/mips/gen/_setjmp.S
--- a/lib/libc/arch/mips/gen/_setjmp.S  Mon Oct 11 05:21:06 1999 +0000
+++ b/lib/libc/arch/mips/gen/_setjmp.S  Mon Oct 11 05:25:35 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _setjmp.S,v 1.13 1999/10/11 05:21:06 shin Exp $        */
+/*     $NetBSD: _setjmp.S,v 1.14 1999/10/11 05:25:35 shin Exp $        */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -44,7 +44,7 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
        ASMSTR("from: @(#)_setjmp.s     8.1 (Berkeley) 6/4/93")
-       ASMSTR("$NetBSD: _setjmp.S,v 1.13 1999/10/11 05:21:06 shin Exp $")
+       ASMSTR("$NetBSD: _setjmp.S,v 1.14 1999/10/11 05:25:35 shin Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 #ifdef ABICALLS
@@ -129,7 +129,9 @@
        REG_L   s5, (S5 * SZREG + _OFFSETOF_SC_REGS)(a0)
        REG_L   s6, (S6 * SZREG + _OFFSETOF_SC_REGS)(a0)
        REG_L   s7, (S7 * SZREG + _OFFSETOF_SC_REGS)(a0)
+#ifndef SOFTFLOAT
        lw      v0, (32 * 4 + _OFFSETOF_SC_FPREGS)(a0)  # get fpu status
+#endif
        REG_L   sp, (SP * SZREG + _OFFSETOF_SC_REGS)(a0)
        REG_L   s8, (S8 * SZREG + _OFFSETOF_SC_REGS)(a0)
 #ifndef SOFTFLOAT



Home | Main Index | Thread Index | Old Index