summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/gnu/i386/fpemul/errors.c3
-rw-r--r--sys/gnu/i386/fpemul/exception.h5
-rw-r--r--sys/gnu/i386/fpemul/fpu_arith.c4
-rw-r--r--sys/gnu/i386/fpemul/fpu_aux.c5
-rw-r--r--sys/gnu/i386/fpemul/fpu_entry.c3
-rw-r--r--sys/gnu/i386/fpemul/fpu_etc.c7
-rw-r--r--sys/gnu/i386/fpemul/fpu_trig.c6
-rw-r--r--sys/gnu/i386/fpemul/load_store.c4
-rw-r--r--sys/gnu/i386/fpemul/poly_2xm1.c4
-rw-r--r--sys/gnu/i386/fpemul/poly_atan.c4
-rw-r--r--sys/gnu/i386/fpemul/poly_l2.c4
-rw-r--r--sys/gnu/i386/fpemul/poly_sin.c7
-rw-r--r--sys/gnu/i386/fpemul/poly_tan.c4
-rw-r--r--sys/gnu/i386/fpemul/reg_add_sub.c5
-rw-r--r--sys/gnu/i386/fpemul/reg_compare.c3
-rw-r--r--sys/gnu/i386/fpemul/reg_constant.c3
-rw-r--r--sys/gnu/i386/fpemul/reg_div.s4
-rw-r--r--sys/gnu/i386/fpemul/reg_ld_str.c3
-rw-r--r--sys/gnu/i386/fpemul/reg_mul.c5
-rw-r--r--sys/gnu/i386/fpemul/reg_round.s3
-rw-r--r--sys/gnu/i386/fpemul/reg_u_add.s4
-rw-r--r--sys/gnu/i386/fpemul/reg_u_div.s4
-rw-r--r--sys/gnu/i386/fpemul/reg_u_mul.s4
-rw-r--r--sys/gnu/i386/fpemul/reg_u_sub.s4
-rw-r--r--sys/gnu/i386/fpemul/wm_sqrt.s3
25 files changed, 37 insertions, 68 deletions
diff --git a/sys/gnu/i386/fpemul/errors.c b/sys/gnu/i386/fpemul/errors.c
index 89890520eb385..2c9bf36663ef2 100644
--- a/sys/gnu/i386/fpemul/errors.c
+++ b/sys/gnu/i386/fpemul/errors.c
@@ -56,7 +56,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: errors.c,v 1.7 1997/02/22 09:29:01 peter Exp $
*
*/
@@ -74,7 +74,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
-#include <machine/cpu.h>
#include <machine/pcb.h>
#include <gnu/i386/fpemul/fpu_emu.h>
diff --git a/sys/gnu/i386/fpemul/exception.h b/sys/gnu/i386/fpemul/exception.h
index f7d860fe11c8f..88316f88e9815 100644
--- a/sys/gnu/i386/fpemul/exception.h
+++ b/sys/gnu/i386/fpemul/exception.h
@@ -54,7 +54,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: exception.h,v 1.7 1997/02/22 09:29:02 peter Exp $
*
*
*/
@@ -91,9 +91,6 @@
#ifndef LOCORE
#ifdef DEBUG
-#include <sys/param.h>
-#include <sys/systm.h>
-
#define EXCEPTION(x) \
do { \
printf("exception in %s at line %d\n", __FILE__, __LINE__); \
diff --git a/sys/gnu/i386/fpemul/fpu_arith.c b/sys/gnu/i386/fpemul/fpu_arith.c
index cfc78fa1c03f6..c2183ba75d970 100644
--- a/sys/gnu/i386/fpemul/fpu_arith.c
+++ b/sys/gnu/i386/fpemul/fpu_arith.c
@@ -56,7 +56,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: fpu_arith.c,v 1.7 1997/02/22 09:29:03 peter Exp $
*
*/
@@ -65,12 +65,10 @@
#include <sys/param.h>
#include <sys/proc.h>
-#include <machine/cpu.h>
#include <machine/pcb.h>
#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/fpu_system.h>
-#include <gnu/i386/fpemul/control_w.h>
void
diff --git a/sys/gnu/i386/fpemul/fpu_aux.c b/sys/gnu/i386/fpemul/fpu_aux.c
index ddfae949a9a73..26bb61df769b2 100644
--- a/sys/gnu/i386/fpemul/fpu_aux.c
+++ b/sys/gnu/i386/fpemul/fpu_aux.c
@@ -56,12 +56,15 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: fpu_aux.c,v 1.7 1997/02/22 09:29:04 peter Exp $
*
*/
#include <sys/param.h>
+#ifdef DEBUG
+#include <sys/systm.h> /* for printf() in EXCEPTION() */
+#endif
#include <sys/proc.h>
#include <machine/cpu.h>
#include <machine/pcb.h>
diff --git a/sys/gnu/i386/fpemul/fpu_entry.c b/sys/gnu/i386/fpemul/fpu_entry.c
index 8fc715332af1e..60a3e07cbbb74 100644
--- a/sys/gnu/i386/fpemul/fpu_entry.c
+++ b/sys/gnu/i386/fpemul/fpu_entry.c
@@ -55,7 +55,7 @@
*
* W. Metzenthen June 1994.
*
- * $Id$
+ * $Id: fpu_entry.c,v 1.11 1997/02/22 09:29:06 peter Exp $
*
*/
@@ -86,7 +86,6 @@
#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/fpu_system.h>
#include <gnu/i386/fpemul/exception.h>
-#include <gnu/i386/fpemul/control_w.h>
#include <gnu/i386/fpemul/status_w.h>
diff --git a/sys/gnu/i386/fpemul/fpu_etc.c b/sys/gnu/i386/fpemul/fpu_etc.c
index 3ba4cbdb3827d..0e1865360877b 100644
--- a/sys/gnu/i386/fpemul/fpu_etc.c
+++ b/sys/gnu/i386/fpemul/fpu_etc.c
@@ -56,20 +56,21 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: fpu_etc.c,v 1.6 1997/02/22 09:29:06 peter Exp $
*
*/
#include <sys/param.h>
+#ifdef DEBUG
+#include <sys/systm.h> /* for printf() in EXCEPTION() */
+#endif
#include <sys/proc.h>
-#include <machine/cpu.h>
#include <machine/pcb.h>
#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/fpu_system.h>
#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/status_w.h>
-#include <gnu/i386/fpemul/reg_constant.h>
static void
diff --git a/sys/gnu/i386/fpemul/fpu_trig.c b/sys/gnu/i386/fpemul/fpu_trig.c
index c54c9074c3afd..9d9ce227fb083 100644
--- a/sys/gnu/i386/fpemul/fpu_trig.c
+++ b/sys/gnu/i386/fpemul/fpu_trig.c
@@ -56,14 +56,16 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: fpu_trig.c,v 1.8 1997/02/22 09:29:08 peter Exp $
*
*/
#include <sys/param.h>
+#ifdef DEBUG
+#include <sys/systm.h> /* for printf() in EXCEPTION() */
+#endif
#include <sys/proc.h>
-#include <machine/cpu.h>
#include <machine/pcb.h>
#include <gnu/i386/fpemul/fpu_emu.h>
diff --git a/sys/gnu/i386/fpemul/load_store.c b/sys/gnu/i386/fpemul/load_store.c
index f48d019423e01..3573df0b35df2 100644
--- a/sys/gnu/i386/fpemul/load_store.c
+++ b/sys/gnu/i386/fpemul/load_store.c
@@ -57,7 +57,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: load_store.c,v 1.8 1997/02/22 09:29:10 peter Exp $
*
*/
@@ -71,13 +71,11 @@
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
-#include <machine/cpu.h>
#include <machine/md_var.h>
#include <machine/pcb.h>
#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/fpu_system.h>
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/status_w.h>
diff --git a/sys/gnu/i386/fpemul/poly_2xm1.c b/sys/gnu/i386/fpemul/poly_2xm1.c
index 11025cbec921a..c7902e5c50ee6 100644
--- a/sys/gnu/i386/fpemul/poly_2xm1.c
+++ b/sys/gnu/i386/fpemul/poly_2xm1.c
@@ -56,13 +56,11 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: poly_2xm1.c,v 1.6 1997/02/22 09:29:14 peter Exp $
*
*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/reg_constant.h>
-#include <gnu/i386/fpemul/fpu_emu.h>
diff --git a/sys/gnu/i386/fpemul/poly_atan.c b/sys/gnu/i386/fpemul/poly_atan.c
index bdd1d0635422d..c7379bf892379 100644
--- a/sys/gnu/i386/fpemul/poly_atan.c
+++ b/sys/gnu/i386/fpemul/poly_atan.c
@@ -56,13 +56,11 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: poly_atan.c,v 1.8 1997/02/22 09:29:15 peter Exp $
*
*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/reg_constant.h>
-#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/control_w.h>
diff --git a/sys/gnu/i386/fpemul/poly_l2.c b/sys/gnu/i386/fpemul/poly_l2.c
index 18503e169a8ae..a4684c9547f17 100644
--- a/sys/gnu/i386/fpemul/poly_l2.c
+++ b/sys/gnu/i386/fpemul/poly_l2.c
@@ -56,14 +56,12 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: poly_l2.c,v 1.8 1997/02/22 09:29:17 peter Exp $
*
*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/reg_constant.h>
-#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/control_w.h>
diff --git a/sys/gnu/i386/fpemul/poly_sin.c b/sys/gnu/i386/fpemul/poly_sin.c
index 1c12419a9dcfc..8bcbe93f807d8 100644
--- a/sys/gnu/i386/fpemul/poly_sin.c
+++ b/sys/gnu/i386/fpemul/poly_sin.c
@@ -56,14 +56,17 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: poly_sin.c,v 1.8 1997/02/22 09:29:18 peter Exp $
*
*/
+#ifdef DEBUG
+#include <sys/types.h>
+#include <sys/systm.h> /* for printf() in EXCEPTION() */
+#endif
#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/reg_constant.h>
-#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/control_w.h>
diff --git a/sys/gnu/i386/fpemul/poly_tan.c b/sys/gnu/i386/fpemul/poly_tan.c
index ee88da754e7d9..541f2137d6896 100644
--- a/sys/gnu/i386/fpemul/poly_tan.c
+++ b/sys/gnu/i386/fpemul/poly_tan.c
@@ -56,13 +56,11 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: poly_tan.c,v 1.8 1997/02/22 09:29:19 peter Exp $
*
*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/reg_constant.h>
-#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/control_w.h>
diff --git a/sys/gnu/i386/fpemul/reg_add_sub.c b/sys/gnu/i386/fpemul/reg_add_sub.c
index 17865309fd97a..b873fca5deb41 100644
--- a/sys/gnu/i386/fpemul/reg_add_sub.c
+++ b/sys/gnu/i386/fpemul/reg_add_sub.c
@@ -55,7 +55,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: reg_add_sub.c,v 1.6 1997/02/22 09:29:20 peter Exp $
*
*/
@@ -64,11 +64,8 @@
| the source FPU_REGs. |
+---------------------------------------------------------------------------*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/reg_constant.h>
-#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/control_w.h>
-#include <gnu/i386/fpemul/fpu_system.h>
void
diff --git a/sys/gnu/i386/fpemul/reg_compare.c b/sys/gnu/i386/fpemul/reg_compare.c
index 3434e038c45c9..5737cf50be3f2 100644
--- a/sys/gnu/i386/fpemul/reg_compare.c
+++ b/sys/gnu/i386/fpemul/reg_compare.c
@@ -56,7 +56,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: reg_compare.c,v 1.8 1997/02/22 09:29:21 peter Exp $
*
*/
@@ -66,7 +66,6 @@
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
-#include <machine/cpu.h>
#include <machine/pcb.h>
#include <gnu/i386/fpemul/fpu_emu.h>
diff --git a/sys/gnu/i386/fpemul/reg_constant.c b/sys/gnu/i386/fpemul/reg_constant.c
index cd3353ac7d17c..fc2860a0daad7 100644
--- a/sys/gnu/i386/fpemul/reg_constant.c
+++ b/sys/gnu/i386/fpemul/reg_constant.c
@@ -64,14 +64,11 @@
#include <sys/param.h>
#include <sys/proc.h>
-#include <sys/systm.h>
-#include <machine/cpu.h>
#include <machine/pcb.h>
#include <gnu/i386/fpemul/fpu_emu.h>
#include <gnu/i386/fpemul/fpu_system.h>
#include <gnu/i386/fpemul/status_w.h>
-#include <gnu/i386/fpemul/reg_constant.h>
FPU_REG CONST_1 = {SIGN_POS, TW_Valid, EXP_BIAS,
diff --git a/sys/gnu/i386/fpemul/reg_div.s b/sys/gnu/i386/fpemul/reg_div.s
index 61396cf457e92..adac83252a3a0 100644
--- a/sys/gnu/i386/fpemul/reg_div.s
+++ b/sys/gnu/i386/fpemul/reg_div.s
@@ -60,13 +60,11 @@
* W. Metzenthen June 1994.
*
*
- * $Id: reg_div.s,v 1.6 1997/02/22 09:29:22 peter Exp $
+ * $Id: reg_div.s,v 1.7 1997/04/22 06:54:50 jdp Exp $
*
*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/fpu_asm.h>
-#include <gnu/i386/fpemul/control_w.h>
.text
ENTRY(reg_div)
diff --git a/sys/gnu/i386/fpemul/reg_ld_str.c b/sys/gnu/i386/fpemul/reg_ld_str.c
index 84b502e889bdc..1af7a4ed203ee 100644
--- a/sys/gnu/i386/fpemul/reg_ld_str.c
+++ b/sys/gnu/i386/fpemul/reg_ld_str.c
@@ -56,7 +56,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: reg_ld_str.c,v 1.9 1997/02/22 09:29:23 peter Exp $
*
*/
@@ -70,7 +70,6 @@
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
-#include <machine/cpu.h>
#include <machine/md_var.h>
#include <machine/pcb.h>
diff --git a/sys/gnu/i386/fpemul/reg_mul.c b/sys/gnu/i386/fpemul/reg_mul.c
index c3d265767339e..e82da30b19f1b 100644
--- a/sys/gnu/i386/fpemul/reg_mul.c
+++ b/sys/gnu/i386/fpemul/reg_mul.c
@@ -56,7 +56,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id$
+ * $Id: reg_mul.c,v 1.6 1997/02/22 09:29:23 peter Exp $
*
*/
@@ -64,10 +64,7 @@
| The destination may be any FPU_REG, including one of the source FPU_REGs. |
+---------------------------------------------------------------------------*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/reg_constant.h>
-#include <gnu/i386/fpemul/fpu_emu.h>
-#include <gnu/i386/fpemul/fpu_system.h>
/* This routine must be called with non-empty source registers */
diff --git a/sys/gnu/i386/fpemul/reg_round.s b/sys/gnu/i386/fpemul/reg_round.s
index 8da2f0be3519c..de20c51995c47 100644
--- a/sys/gnu/i386/fpemul/reg_round.s
+++ b/sys/gnu/i386/fpemul/reg_round.s
@@ -65,7 +65,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id: reg_round.s,v 1.6 1997/02/22 09:29:25 peter Exp $
+ * $Id: reg_round.s,v 1.7 1997/04/22 06:54:52 jdp Exp $
*
*/
@@ -118,7 +118,6 @@
+---------------------------------------------------------------------------*/
-#include <gnu/i386/fpemul/fpu_asm.h>
#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/control_w.h>
diff --git a/sys/gnu/i386/fpemul/reg_u_add.s b/sys/gnu/i386/fpemul/reg_u_add.s
index 21aac510c4968..0e963a34950d7 100644
--- a/sys/gnu/i386/fpemul/reg_u_add.s
+++ b/sys/gnu/i386/fpemul/reg_u_add.s
@@ -62,7 +62,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id: reg_u_add.s,v 1.6 1997/02/22 09:29:25 peter Exp $
+ * $Id: reg_u_add.s,v 1.7 1997/04/22 06:54:52 jdp Exp $
*
*/
@@ -76,9 +76,7 @@
| Basic checks are performed if PARANOID is defined.
*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/fpu_asm.h>
-#include <gnu/i386/fpemul/control_w.h>
.text
ENTRY(reg_u_add)
diff --git a/sys/gnu/i386/fpemul/reg_u_div.s b/sys/gnu/i386/fpemul/reg_u_div.s
index bfc7137679d4a..9061c908ccc4e 100644
--- a/sys/gnu/i386/fpemul/reg_u_div.s
+++ b/sys/gnu/i386/fpemul/reg_u_div.s
@@ -57,7 +57,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id: reg_u_div.s,v 1.6 1997/02/22 09:29:26 peter Exp $
+ * $Id: reg_u_div.s,v 1.7 1997/04/22 06:54:53 jdp Exp $
*
*/
@@ -70,9 +70,7 @@
| Does not compute the destination exponent, but does adjust it. |
+---------------------------------------------------------------------------*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/fpu_asm.h>
-#include <gnu/i386/fpemul/control_w.h>
/* #define dSIGL(x) (x) */
diff --git a/sys/gnu/i386/fpemul/reg_u_mul.s b/sys/gnu/i386/fpemul/reg_u_mul.s
index 08c51929a9dc4..6133286b060e7 100644
--- a/sys/gnu/i386/fpemul/reg_u_mul.s
+++ b/sys/gnu/i386/fpemul/reg_u_mul.s
@@ -57,7 +57,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id: reg_u_mul.s,v 1.6 1997/02/22 09:29:27 peter Exp $
+ * $Id: reg_u_mul.s,v 1.7 1997/04/22 06:54:54 jdp Exp $
*
*/
@@ -71,9 +71,7 @@
| Result is rounded to nearest 53 or 64 bits, using "nearest or even". |
+---------------------------------------------------------------------------*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/fpu_asm.h>
-#include <gnu/i386/fpemul/control_w.h>
.data
diff --git a/sys/gnu/i386/fpemul/reg_u_sub.s b/sys/gnu/i386/fpemul/reg_u_sub.s
index 310cc36c83495..df8baa49057b5 100644
--- a/sys/gnu/i386/fpemul/reg_u_sub.s
+++ b/sys/gnu/i386/fpemul/reg_u_sub.s
@@ -61,7 +61,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id: reg_u_sub.s,v 1.6 1997/02/22 09:29:27 peter Exp $
+ * $Id: reg_u_sub.s,v 1.7 1997/04/22 06:54:55 jdp Exp $
*
*/
@@ -76,9 +76,7 @@
| Basic checks are performed if PARANOID is defined.
*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/fpu_asm.h>
-#include <gnu/i386/fpemul/control_w.h>
.text
ENTRY(reg_u_sub)
diff --git a/sys/gnu/i386/fpemul/wm_sqrt.s b/sys/gnu/i386/fpemul/wm_sqrt.s
index ead5355471d44..f79329e0e174b 100644
--- a/sys/gnu/i386/fpemul/wm_sqrt.s
+++ b/sys/gnu/i386/fpemul/wm_sqrt.s
@@ -60,7 +60,7 @@
* W. Metzenthen June 1994.
*
*
- * $Id: wm_sqrt.s,v 1.6 1997/02/22 09:29:30 peter Exp $
+ * $Id: wm_sqrt.s,v 1.7 1997/04/22 06:54:57 jdp Exp $
*
*/
@@ -77,7 +77,6 @@
| The guess is kept in %esi:%edi |
+---------------------------------------------------------------------------*/
-#include <gnu/i386/fpemul/exception.h>
#include <gnu/i386/fpemul/fpu_asm.h>