summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-11-29 10:40:45 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-11-29 10:40:45 +0000
commitb96d5a7746af67bc78d851a9b28ace79615c6262 (patch)
tree82aef54e3ef0309d3601cb74b28a85a79fabb0f2 /sys/arch/hppa
parent05b562347f8f72d181574c98799c66ecd5db1bc2 (diff)
unused file and functions
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/spmath/Makefile4
-rw-r--r--sys/arch/hppa/spmath/dbl_float.h4
-rw-r--r--sys/arch/hppa/spmath/setovfl.c91
-rw-r--r--sys/arch/hppa/spmath/sgl_float.h3
4 files changed, 4 insertions, 98 deletions
diff --git a/sys/arch/hppa/spmath/Makefile b/sys/arch/hppa/spmath/Makefile
index 3c17c1a5823..7592ec23e3b 100644
--- a/sys/arch/hppa/spmath/Makefile
+++ b/sys/arch/hppa/spmath/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2000/01/11 21:32:57 mickey Exp $
+# $OpenBSD: Makefile,v 1.5 2006/11/29 10:40:44 mickey Exp $
LIB= spmath
NOPIC=
@@ -6,7 +6,7 @@ NOPIC=
SRCS= dfadd.c dfcmp.c dfdiv.c dfmpy.c dfrem.c dfsqrt.c dfsub.c divsfm.c \
divsfr.c divsim.c divsir.c divu.S divufr.c divuir.c fcnvff.c fcnvfx.c \
fcnvfxt.c fcnvxf.c frnd.c impys.S impyu.S mpyaccs.c mpyaccu.c mpys.c \
- mpyscv.c mpyu.c mpyucv.c setovfl.c sfadd.c sfcmp.c sfdiv.c sfmpy.c \
+ mpyscv.c mpyu.c mpyucv.c sfadd.c sfcmp.c sfdiv.c sfmpy.c \
sfrem.c sfsqrt.c sfsub.c
MACHINE= ${XMACHINE}
diff --git a/sys/arch/hppa/spmath/dbl_float.h b/sys/arch/hppa/spmath/dbl_float.h
index e0cbbe356dd..871b0e48f40 100644
--- a/sys/arch/hppa/spmath/dbl_float.h
+++ b/sys/arch/hppa/spmath/dbl_float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dbl_float.h,v 1.10 2004/01/02 14:39:01 mickey Exp $ */
+/* $OpenBSD: dbl_float.h,v 1.11 2006/11/29 10:40:44 mickey Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -534,8 +534,6 @@ int dbl_frem(dbl_floating_point *, dbl_floating_point *, dbl_floating_point *, u
int dbl_fsqrt(dbl_floating_point *, dbl_floating_point *, dbl_floating_point *, unsigned int *);
int dbl_fsub(dbl_floating_point *, dbl_floating_point *, dbl_floating_point *, unsigned int *);
-dbl_floating_point dbl_setoverflow(unsigned int);
-
int sgl_to_dbl_fcnvff(sgl_floating_point *, sgl_floating_point *, dbl_floating_point *, unsigned int *);
int dbl_to_sgl_fcnvff(dbl_floating_point *, dbl_floating_point *, sgl_floating_point *, unsigned int *);
diff --git a/sys/arch/hppa/spmath/setovfl.c b/sys/arch/hppa/spmath/setovfl.c
deleted file mode 100644
index c28074bda40..00000000000
--- a/sys/arch/hppa/spmath/setovfl.c
+++ /dev/null
@@ -1,91 +0,0 @@
-/* $OpenBSD: setovfl.c,v 1.6 2002/09/20 19:26:59 mickey Exp $ */
-/*
- (c) Copyright 1986 HEWLETT-PACKARD COMPANY
- To anyone who acknowledges that this file is provided "AS IS"
- without any express or implied warranty:
- permission to use, copy, modify, and distribute this file
- for any purpose is hereby granted without fee, provided that
- the above copyright notice and this notice appears in all
- copies, and that the name of Hewlett-Packard Company not be
- used in advertising or publicity pertaining to distribution
- of the software without specific, written prior permission.
- Hewlett-Packard Company makes no representations about the
- suitability of this software for any purpose.
-*/
-/* @(#)setovfl.c: Revision: 1.7.88.1 Date: 93/12/07 15:06:57 */
-
-#include "float.h"
-#include "sgl_float.h"
-#include "dbl_float.h"
-
-/*ARGSUSED*/
-sgl_floating_point
-sgl_setoverflow(sign)
- unsigned int sign;
-{
- sgl_floating_point result;
-
- /* set result to infinity or largest number */
- /* ignore for now
- switch (Rounding_mode()) {
- case ROUNDPLUS:
- if (sign) {
- Sgl_setlargestnegative(result);
- }
- else {
- Sgl_setinfinitypositive(result);
- }
- break;
- case ROUNDMINUS:
- if (sign==0) {
- Sgl_setlargestpositive(result);
- }
- else {
- Sgl_setinfinitynegative(result);
- }
- break;
- case ROUNDNEAREST:
- Sgl_setinfinity(result,sign);
- break;
- case ROUNDZERO:
- Sgl_setlargest(result,sign);
- }
- */
- return(result);
-}
-
-/*ARGSUSED*/
-dbl_floating_point
-dbl_setoverflow(sign)
- unsigned int sign;
-{
- dbl_floating_point result;
-
- /* set result to infinity or largest number */
- /* ignore for now
- switch (Rounding_mode()) {
- case ROUNDPLUS:
- if (sign) {
- Dbl_setlargestnegative(result);
- }
- else {
- Dbl_setinfinitypositive(result);
- }
- break;
- case ROUNDMINUS:
- if (sign==0) {
- Dbl_setlargestpositive(result);
- }
- else {
- Dbl_setinfinitynegative(result);
- }
- break;
- case ROUNDNEAREST:
- Dbl_setinfinity(result,sign);
- break;
- case ROUNDZERO:
- Dbl_setlargest(result,sign);
- }
- */
- return(result);
-}
diff --git a/sys/arch/hppa/spmath/sgl_float.h b/sys/arch/hppa/spmath/sgl_float.h
index f20c43bbff9..c4725bbb54b 100644
--- a/sys/arch/hppa/spmath/sgl_float.h
+++ b/sys/arch/hppa/spmath/sgl_float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sgl_float.h,v 1.10 2004/01/02 14:39:01 mickey Exp $ */
+/* $OpenBSD: sgl_float.h,v 1.11 2006/11/29 10:40:44 mickey Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -309,7 +309,6 @@
Sgl_setzero(opnd); \
}
-sgl_floating_point sgl_setoverflow(unsigned int);
int sgl_fadd(sgl_floating_point *, sgl_floating_point *, sgl_floating_point *, unsigned int *);
int sgl_fcmp(sgl_floating_point *, sgl_floating_point *, unsigned int, unsigned int *);
int sgl_fdiv(sgl_floating_point *, sgl_floating_point *, sgl_floating_point *, unsigned int *);