Add aliases for scalbn* to ldexp, they are identical for FLT_RADIX=2.

This commit is contained in:
joerg 2013-04-27 18:39:28 +00:00
parent d816b4de58
commit 5204c9072e
4 changed files with 12 additions and 5 deletions

View File

@ -5,11 +5,12 @@
#include <machine/asm.h>
RCSID("$NetBSD: s_scalbn.S,v 1.11 2013/04/27 18:36:41 joerg Exp $")
RCSID("$NetBSD: s_scalbn.S,v 1.12 2013/04/27 18:39:28 joerg Exp $")
#ifdef WEAK_ALIAS
WEAK_ALIAS(scalbn,_scalbln)
WEAK_ALIAS(scalbln,_scalbln)
WEAK_ALIAS(ldexp,_scalbln)
#endif
#ifdef __x86_64__
ENTRY(_scalbn)

View File

@ -5,11 +5,12 @@
#include <machine/asm.h>
RCSID("$NetBSD: s_scalbnf.S,v 1.12 2013/04/27 18:36:41 joerg Exp $")
RCSID("$NetBSD: s_scalbnf.S,v 1.13 2013/04/27 18:39:28 joerg Exp $")
#ifdef WEAK_ALIAS
WEAK_ALIAS(scalbnf,_scalbnf)
WEAK_ALIAS(scalblnf,_scalblnf)
WEAK_ALIAS(ldexpf,_scalblnf)
#endif
#ifdef __x86_64__

View File

@ -1,4 +1,4 @@
/* $NetBSD: s_scalbn.S,v 1.8 2010/04/23 19:17:07 drochner Exp $ */
/* $NetBSD: s_scalbn.S,v 1.9 2013/04/27 18:39:28 joerg Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -38,10 +38,11 @@
;_sccsid:
;.asciz "from: @(#)support.s 5.2 (Berkeley) 5/17/90"
RCSID("$NetBSD: s_scalbn.S,v 1.8 2010/04/23 19:17:07 drochner Exp $")
RCSID("$NetBSD: s_scalbn.S,v 1.9 2013/04/27 18:39:28 joerg Exp $")
#ifdef WEAK_ALIAS
WEAK_ALIAS(scalbn,_scalbn)
WEAK_ALIAS(ldexp,_scalbln)
#endif
| scalbn(x, N)

View File

@ -30,7 +30,11 @@
#include <machine/asm.h>
#include <sys/errno.h>
RCSID("$NetBSD: n_scalbn.S,v 1.1 2011/07/28 20:53:20 matt Exp $")
RCSID("$NetBSD: n_scalbn.S,v 1.2 2013/04/27 18:39:28 joerg Exp $")
WEAK_ALIAS(ldexp,_scalbln)
WEAK_ALIAS(ldexpf,_scalblnf)
WEAK_ALIAS(ldexpl,_scalblnl)
ENTRY(scalbnf, 0)
cvtfd 4(%ap), %r0