diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-12-12 19:30:18 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2008-12-12 19:30:18 +0000 |
commit | 14428d3e83d39502b69f402bd066c6414825222e (patch) | |
tree | 4d8c9077fb856930eba900297fa74e9499c6b118 | |
parent | 6d66b65bbd746959edd904245c19e9dd75f5f58c (diff) |
space
-rw-r--r-- | lib/libm/Makefile | 3 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_atan2.S | 4 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_sincos.S | 6 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_sqrt.S | 4 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_support.S | 8 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_tan.S | 4 |
6 files changed, 14 insertions, 15 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile index b13ae38a514..375eed02165 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.61 2008/12/12 00:10:26 martynas Exp $ +# $OpenBSD: Makefile,v 1.62 2008/12/12 19:30:17 martynas Exp $ # $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $ # # @(#)Makefile 5.1beta 93/09/24 @@ -56,7 +56,6 @@ ARCH_SRCS = e_sqrt.c e_sqrtf.c e_remainder.c e_remainderf.c \ s_ceil.c s_ceilf.c s_floor.c s_floorf.c s_rint.c s_rintf.c .elif (${MACHINE_ARCH} == "vax") .PATH: ${.CURDIR}/arch/vax -CPPFLAGS+= -D__STDC__ NOIEEE_ARCH = n_argred.S n_infnan.S n_sqrt.S ARCH_SRCS = n_atan2.S n_cbrt.S n_hypot.S n_sincos.S n_support.S n_tan.S .endif diff --git a/lib/libm/arch/vax/n_atan2.S b/lib/libm/arch/vax/n_atan2.S index 55382f0bb07..64cac52adc6 100644 --- a/lib/libm/arch/vax/n_atan2.S +++ b/lib/libm/arch/vax/n_atan2.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_atan2.S,v 1.5 2008/12/09 20:21:07 martynas Exp $ */ +/* $OpenBSD: n_atan2.S,v 1.6 2008/12/12 19:30:17 martynas Exp $ */ /* $NetBSD: n_atan2.S,v 1.1 1995/10/10 23:40:25 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -73,7 +73,7 @@ * atan2(y,x) returns the exact ARG(x+iy) nearly rounded. */ -WEAK_ALIAS(atan2l, atan2) +WEAK_ALIAS(atan2l,atan2) ENTRY(atan2, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) movq 4(ap),r2 # r2 = y movq 12(ap),r4 # r4 = x diff --git a/lib/libm/arch/vax/n_sincos.S b/lib/libm/arch/vax/n_sincos.S index ca65d4af784..40da562d466 100644 --- a/lib/libm/arch/vax/n_sincos.S +++ b/lib/libm/arch/vax/n_sincos.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_sincos.S,v 1.6 2008/12/09 20:21:07 martynas Exp $ */ +/* $OpenBSD: n_sincos.S,v 1.7 2008/12/12 19:30:17 martynas Exp $ */ /* $NetBSD: n_sincos.S,v 1.1 1995/10/10 23:40:28 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -48,7 +48,7 @@ * S. McDonald, April 4, 1985 */ -WEAK_ALIAS(sinl, sin) +WEAK_ALIAS(sinl,sin) ENTRY(sin, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) movq 4(ap),r0 bicw3 $0x807f,r0,r2 @@ -78,7 +78,7 @@ ENTRY(sin, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) * S. McDonald, April 4, 1985 */ -WEAK_ALIAS(cosl, cos) +WEAK_ALIAS(cosl,cos) ENTRY(cos, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) movq 4(ap),r0 bicw3 $0x7f,r0,r2 diff --git a/lib/libm/arch/vax/n_sqrt.S b/lib/libm/arch/vax/n_sqrt.S index 30c286ffcde..1476163f6c1 100644 --- a/lib/libm/arch/vax/n_sqrt.S +++ b/lib/libm/arch/vax/n_sqrt.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_sqrt.S,v 1.7 2008/12/09 20:21:07 martynas Exp $ */ +/* $OpenBSD: n_sqrt.S,v 1.8 2008/12/12 19:30:17 martynas Exp $ */ /* $NetBSD: n_sqrt.S,v 1.1 1995/10/10 23:40:29 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -45,7 +45,7 @@ * entry points: sqrt double arg is on the stack */ -WEAK_ALIAS(sqrtl, sqrt) +WEAK_ALIAS(sqrtl,sqrt) ENTRY(sqrt, R2|R3|R4|R5) movq 4(ap),r0 dsqrt2: bicw3 $0x807f,r0,r2 # check exponent of input diff --git a/lib/libm/arch/vax/n_support.S b/lib/libm/arch/vax/n_support.S index f060356a6a6..ee1d6a57fb8 100644 --- a/lib/libm/arch/vax/n_support.S +++ b/lib/libm/arch/vax/n_support.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_support.S,v 1.15 2008/12/09 20:21:07 martynas Exp $ */ +/* $OpenBSD: n_support.S,v 1.16 2008/12/12 19:30:17 martynas Exp $ */ /* $NetBSD: n_support.S,v 1.1 1995/10/10 23:40:30 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -51,7 +51,7 @@ * copysign(double x, double y) */ -WEAK_ALIAS(copysignl, copysign) +WEAK_ALIAS(copysignl,copysign) ENTRY(copysign, R2) movq 4(ap),r0 # load x into r0 bicw3 $0x807f,r0,r2 # mask off the exponent of x @@ -80,7 +80,7 @@ Fz: ret * logb(double x) */ -WEAK_ALIAS(logbl, logb) +WEAK_ALIAS(logbl,logb) ENTRY(logb, 0) bicl3 $0xffff807f,4(ap),r0 # mask off the exponent of x beql Ln @@ -115,7 +115,7 @@ Fn: movl 4(ap),r0 # r0:1 = x (zero or reserved op) * scalbn(double x, int N) */ -WEAK_ALIAS(scalbnl, scalbn) +WEAK_ALIAS(scalbnl,scalbn) ENTRY(scalbn, R2|R3) movq 4(ap),r0 bicl3 $0xffff807f,r0,r3 diff --git a/lib/libm/arch/vax/n_tan.S b/lib/libm/arch/vax/n_tan.S index a27ae77e6e5..553bc80b1fa 100644 --- a/lib/libm/arch/vax/n_tan.S +++ b/lib/libm/arch/vax/n_tan.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_tan.S,v 1.6 2008/12/09 20:21:07 martynas Exp $ */ +/* $OpenBSD: n_tan.S,v 1.7 2008/12/12 19:30:17 martynas Exp $ */ /* $NetBSD: n_tan.S,v 1.1 1995/10/10 23:40:31 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -46,7 +46,7 @@ * S. McDonald, April 4, 1985 */ -WEAK_ALIAS(tanl, tan) +WEAK_ALIAS(tanl,tan) ENTRY(tan, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) movq 4(ap),r0 bicw3 $0x807f,r0,r2 |