Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/lib/libc/arch/sparc64/gen Pullup revisions 1.2->1.3 (re...
details: https://anonhg.NetBSD.org/src/rev/be236070b21e
branches: netbsd-1-6
changeset: 530013:be236070b21e
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Feb 03 05:09:49 2003 +0000
description:
Pullup revisions 1.2->1.3 (requested by martin in ticket #1137)
Check how the compiler expects the return value of this function
by testing SOFTFLOATSPARC64_FOR_GCC. Fixes PR#20140
diffstat:
lib/libc/arch/sparc64/gen/fabs.S | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 6891923fbee6 -r be236070b21e lib/libc/arch/sparc64/gen/fabs.S
--- a/lib/libc/arch/sparc64/gen/fabs.S Fri Jan 31 09:36:42 2003 +0000
+++ b/lib/libc/arch/sparc64/gen/fabs.S Mon Feb 03 05:09:49 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fabs.S,v 1.2 2000/07/23 07:12:22 eeh Exp $ */
+/* $NetBSD: fabs.S,v 1.2.4.1 2003/02/03 05:09:49 jmc Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,7 +44,7 @@
#if 0
.asciz "@(#)fabs.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: fabs.S,v 1.2 2000/07/23 07:12:22 eeh Exp $")
+ RCSID("$NetBSD: fabs.S,v 1.2.4.1 2003/02/03 05:09:49 jmc Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@@ -52,7 +52,9 @@
ENTRY(fabs)
+#ifndef SOFTFLOATSPARC64_FOR_GCC
stx %o0, [%sp + BIAS + 32] ! return value => %f0:f1
ldd [%sp + BIAS + 32], %f0 ! (via kernel %o0/%o1 slot)
+#endif
retl
fabss %f0, %f0 ! return absolute value
Home |
Main Index |
Thread Index |
Old Index