From cc81e5d1c438da49f68f8442be5554b399d4de2f Mon Sep 17 00:00:00 2001 From: Steve Price Date: Tue, 22 Jun 1999 17:34:14 +0000 Subject: The Alpha's fp mask register doesn't have a FP_X_DNML bit. --- graphics/xaos/files/patch-aa | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/xaos/files/patch-aa b/graphics/xaos/files/patch-aa index 205a1714570a..a027cc25151c 100644 --- a/graphics/xaos/files/patch-aa +++ b/graphics/xaos/files/patch-aa @@ -168,15 +168,19 @@ #ifdef __alpha__ #ifdef __linux__ extern void ieee_set_fp_control(unsigned long); -@@ -352,6 +365,11 @@ +@@ -352,6 +365,15 @@ /*fcr &= ~(FPINEX | FPOVFL | FPUNFL | FPZDIV);*/ setfcr (fcr); } +#endif +#ifdef BSD + /* ignore all possible exceptions */ -+ (void) fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | ++ (void) fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | ++#ifdef __alpha__ ++ FP_X_IMP)); ++#else + FP_X_IMP | FP_X_DNML)); ++#endif #endif new_ctxt = (fractal_context *) calloc (sizeof (fractal_context), 1); if (new_ctxt == NULL) -- cgit v1.2.3