blob: 6590fdca1d41fa950037771dca7909335f6d32f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ac,v 1.1 2006/01/10 14:33:26 jmmv Exp $
--- cpu.c.orig 2005-01-12 02:10:42.000000000 +0100
+++ cpu.c
@@ -45,10 +45,10 @@ __u32 mask[32][32];
int RESERVE = 0;
__u32 RESERVE_ADDR = 0;
+#if 0
double (*fp_round[]) (double) = { round, trunc, ceil, floor };
#define FP_ROUND(D) (fp_round[FPSCR_RN] (D))
-#if 0
# include <fenv.h>
int fp_round_mode[] = { FE_TONEAREST, FE_TOWARDZERO, FE_UPWARD, FE_DOWNWARD };
# define SET_ROUNDING_MODE (fesetround (fp_round_mode[FPSCR_RN]))
|