Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/arch Add copysignl aliases.
details: https://anonhg.NetBSD.org/src/rev/0167386a1d67
branches: trunk
changeset: 333756:0167386a1d67
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Nov 15 20:59:02 2014 +0000
description:
Add copysignl aliases.
diffstat:
lib/libm/arch/alpha/s_copysign.S | 5 ++++-
lib/libm/arch/m68k/s_copysign.S | 7 +++++--
lib/libm/arch/riscv/s_copysign.S | 5 ++++-
3 files changed, 13 insertions(+), 4 deletions(-)
diffs (57 lines):
diff -r 6dc4b3a51a53 -r 0167386a1d67 lib/libm/arch/alpha/s_copysign.S
--- a/lib/libm/arch/alpha/s_copysign.S Sat Nov 15 20:28:50 2014 +0000
+++ b/lib/libm/arch/alpha/s_copysign.S Sat Nov 15 20:59:02 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_copysign.S,v 1.5 2008/04/28 20:23:01 martin Exp $ */
+/* $NetBSD: s_copysign.S,v 1.6 2014/11/15 20:59:02 joerg Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -31,6 +31,9 @@
#include <machine/asm.h>
+STRONG_ALIAS(_copysignl, _copysign)
+WEAK_ALIAS(copysignl, _copysignl)
+
LEAF(copysign, 2)
cpys fa1, fa0, fv0
RET
diff -r 6dc4b3a51a53 -r 0167386a1d67 lib/libm/arch/m68k/s_copysign.S
--- a/lib/libm/arch/m68k/s_copysign.S Sat Nov 15 20:28:50 2014 +0000
+++ b/lib/libm/arch/m68k/s_copysign.S Sat Nov 15 20:59:02 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_copysign.S,v 1.7 2003/08/07 16:44:41 agc Exp $ */
+/* $NetBSD: s_copysign.S,v 1.8 2014/11/15 20:59:02 joerg Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -38,7 +38,10 @@
;_sccsid:
;.asciz "from: @(#)support.s 5.2 (Berkeley) 5/17/90"
-RCSID("$NetBSD: s_copysign.S,v 1.7 2003/08/07 16:44:41 agc Exp $")
+RCSID("$NetBSD: s_copysign.S,v 1.8 2014/11/15 20:59:02 joerg Exp $")
+
+STRONG_ALIAS(_copysignl, _copysign)
+WEAK_ALIAS(copysignl, _copysignl)
| copysign(x,y)
| returns x with the sign of y.
diff -r 6dc4b3a51a53 -r 0167386a1d67 lib/libm/arch/riscv/s_copysign.S
--- a/lib/libm/arch/riscv/s_copysign.S Sat Nov 15 20:28:50 2014 +0000
+++ b/lib/libm/arch/riscv/s_copysign.S Sat Nov 15 20:59:02 2014 +0000
@@ -1,9 +1,12 @@
-/* $NetBSD: s_copysign.S,v 1.1 2014/09/19 17:36:25 matt Exp $ */
+/* $NetBSD: s_copysign.S,v 1.2 2014/11/15 20:59:02 joerg Exp $ */
/* The contents of this file are in the public domain. */
#include <machine/asm.h>
+STRONG_ALIAS(_copysignl, _copysign)
+WEAK_ALIAS(copysignl, _copysignl)
+
ENTRY(copysign)
fsgnj.d fv0, fa0, fa1
ret
Home |
Main Index |
Thread Index |
Old Index