summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/fpu.h
diff options
context:
space:
mode:
authorgclarkii <gclarkii@FreeBSD.org>1994-04-29 21:44:23 +0000
committergclarkii <gclarkii@FreeBSD.org>1994-04-29 21:44:23 +0000
commitabf0168fc4e7457428f72527b7ef4e7f7e167763 (patch)
tree347acc03672de467e1d608a6bb00f2cc862efe9d /sys/amd64/include/fpu.h
parentb7713cb195150e569ee5e3c30fd77f486087c204 (diff)
downloadFreeBSD-src-abf0168fc4e7457428f72527b7ef4e7f7e167763.zip
FreeBSD-src-abf0168fc4e7457428f72527b7ef4e7f7e167763.tar.gz
Deleted on ifdef dontdef
Added ifdef for GPL_MATH_EMULATE so we get the extra padding that is needed in the save87 struct.
Diffstat (limited to 'sys/amd64/include/fpu.h')
-rw-r--r--sys/amd64/include/fpu.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/amd64/include/fpu.h b/sys/amd64/include/fpu.h
index eab6457..87cd6f9 100644
--- a/sys/amd64/include/fpu.h
+++ b/sys/amd64/include/fpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)npx.h 5.3 (Berkeley) 1/18/91
- * $Id$
+ * $Id: npx.h,v 1.2 1993/10/16 14:39:22 rgrimes Exp $
*/
/*
@@ -73,11 +73,13 @@ struct fpacc87 {
struct save87 {
struct env87 sv_env; /* floating point control/status */
struct fpacc87 sv_ac[8]; /* accumulator contents, 0-7 */
-#ifndef dontdef
u_long sv_ex_sw; /* status word for last exception (was pad) */
u_long sv_ex_tw; /* tag word for last exception (was pad) */
- u_char sv_pad[8 * 2 - 2 * 4]; /* bogus historical padding */
-#endif
+#ifdef GPL_MATH_EMULATE
+ u_char sv_pad[60];
+#else
+ u_char sv_pad[8 * 2 - 2 * 4]; /* bogus historical padding */
+#endif /* GPL_MATH_EMULATE */
};
/* Cyrix EMC memory - mapped coprocessor context switch information */
OpenPOWER on IntegriCloud