diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-12-30 01:48:52 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-12-30 01:48:52 +0000 |
commit | 0b8da76c2914146f1cecfa8c25f86bf66cb27d23 (patch) | |
tree | 26d80bff1cfed2932506d1ede5b5b8b8a1222e5a /lib/libm/arch | |
parent | 13ee0efb097fa7f5ee5bf28530211a67920cb7d4 (diff) |
Provide proper ldexp{f,l} aliases to scalbn{f,l} to match the MI (ld80) code.
Diffstat (limited to 'lib/libm/arch')
-rw-r--r-- | lib/libm/arch/mc68881/s_scalbnf.S | 3 | ||||
-rw-r--r-- | lib/libm/arch/mc68881/s_scalbnl.S | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libm/arch/mc68881/s_scalbnf.S b/lib/libm/arch/mc68881/s_scalbnf.S index e0f529261ba..8b86f4a2101 100644 --- a/lib/libm/arch/mc68881/s_scalbnf.S +++ b/lib/libm/arch/mc68881/s_scalbnf.S @@ -1,4 +1,4 @@ -/* $OpenBSD: s_scalbnf.S,v 1.1 2011/05/28 21:55:04 martynas Exp $ */ +/* $OpenBSD: s_scalbnf.S,v 1.2 2012/12/30 01:48:50 miod Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -36,6 +36,7 @@ | scalbnf(x, N) | returns x * (2**N), for integer values N. +ALTENTRY(ldexpf,scalbnf) ENTRY(scalbnf) fmoves sp@(4),fp0 fbeq Ldone diff --git a/lib/libm/arch/mc68881/s_scalbnl.S b/lib/libm/arch/mc68881/s_scalbnl.S index 18f8728f0f1..c20331c61bf 100644 --- a/lib/libm/arch/mc68881/s_scalbnl.S +++ b/lib/libm/arch/mc68881/s_scalbnl.S @@ -1,4 +1,4 @@ -/* $OpenBSD: s_scalbnl.S,v 1.1 2011/05/28 22:13:52 martynas Exp $ */ +/* $OpenBSD: s_scalbnl.S,v 1.2 2012/12/30 01:48:51 miod Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -37,6 +37,7 @@ | scalbnl(x, N) | returns x * (2**N), for integer values N. .lcomm _ASM_LABEL(__rv),12 +ALTENTRY(ldexpl,scalbnl) ENTRY(scalbnl) fmovex sp@(4),fp0 fbeq Ldone |