Module Name: src Committed By: joerg Date: Sat Apr 27 18:39:28 UTC 2013
Modified Files: src/lib/libm/arch/i387: s_scalbn.S s_scalbnf.S src/lib/libm/arch/mc68881: s_scalbn.S src/lib/libm/arch/vax: n_scalbn.S Log Message: Add aliases for scalbn* to ldexp, they are identical for FLT_RADIX=2. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libm/arch/i387/s_scalbn.S cvs rdiff -u -r1.12 -r1.13 src/lib/libm/arch/i387/s_scalbnf.S cvs rdiff -u -r1.8 -r1.9 src/lib/libm/arch/mc68881/s_scalbn.S cvs rdiff -u -r1.1 -r1.2 src/lib/libm/arch/vax/n_scalbn.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libm/arch/i387/s_scalbn.S diff -u src/lib/libm/arch/i387/s_scalbn.S:1.11 src/lib/libm/arch/i387/s_scalbn.S:1.12 --- src/lib/libm/arch/i387/s_scalbn.S:1.11 Sat Apr 27 18:36:41 2013 +++ src/lib/libm/arch/i387/s_scalbn.S Sat Apr 27 18:39:28 2013 @@ -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) Index: src/lib/libm/arch/i387/s_scalbnf.S diff -u src/lib/libm/arch/i387/s_scalbnf.S:1.12 src/lib/libm/arch/i387/s_scalbnf.S:1.13 --- src/lib/libm/arch/i387/s_scalbnf.S:1.12 Sat Apr 27 18:36:41 2013 +++ src/lib/libm/arch/i387/s_scalbnf.S Sat Apr 27 18:39:28 2013 @@ -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__ Index: src/lib/libm/arch/mc68881/s_scalbn.S diff -u src/lib/libm/arch/mc68881/s_scalbn.S:1.8 src/lib/libm/arch/mc68881/s_scalbn.S:1.9 --- src/lib/libm/arch/mc68881/s_scalbn.S:1.8 Fri Apr 23 19:17:07 2010 +++ src/lib/libm/arch/mc68881/s_scalbn.S Sat Apr 27 18:39:28 2013 @@ -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) Index: src/lib/libm/arch/vax/n_scalbn.S diff -u src/lib/libm/arch/vax/n_scalbn.S:1.1 src/lib/libm/arch/vax/n_scalbn.S:1.2 --- src/lib/libm/arch/vax/n_scalbn.S:1.1 Thu Jul 28 20:53:20 2011 +++ src/lib/libm/arch/vax/n_scalbn.S Sat Apr 27 18:39:28 2013 @@ -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