Annotation of OpenXM_contrib/gmp/mpn/x86/pentium4/sse2/gmp-mparam.h, Revision 1.1.1.1
1.1 ohara 1: /* Intel Pentium-4 gmp-mparam.h -- Compiler/machine parameter header file.
2:
3: Copyright 1991, 1993, 1994, 2000, 2001, 2002 Free Software Foundation, Inc.
4:
5: This file is part of the GNU MP Library.
6:
7: The GNU MP Library is free software; you can redistribute it and/or modify
8: it under the terms of the GNU Lesser General Public License as published by
9: the Free Software Foundation; either version 2.1 of the License, or (at your
10: option) any later version.
11:
12: The GNU MP Library is distributed in the hope that it will be useful, but
13: WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14: or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15: License for more details.
16:
17: You should have received a copy of the GNU Lesser General Public License
18: along with the GNU MP Library; see the file COPYING.LIB. If not, write to
19: the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20: MA 02111-1307, USA. */
21:
22: #define BITS_PER_MP_LIMB 32
23: #define BYTES_PER_MP_LIMB 4
24:
25:
26: /* 1700 MHz Pentium 4 (socket 423) */
27:
28: /* Generated by tuneup.c, 2001-11-29, gcc 2.95.3 */
29:
30: #define MUL_KARATSUBA_THRESHOLD 18
31: #define MUL_TOOM3_THRESHOLD 139
32:
33: #define SQR_BASECASE_THRESHOLD 0
34: #define SQR_KARATSUBA_THRESHOLD 68
35: #define SQR_TOOM3_THRESHOLD 108
36:
37: #define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX
38: #define DIV_DC_THRESHOLD 48
39: #define POWM_THRESHOLD 104
40:
41: #define GCD_ACCEL_THRESHOLD 7
42: #define GCDEXT_THRESHOLD 75
43:
44: #define USE_PREINV_MOD_1 0
45: #define DIVREM_2_THRESHOLD MP_SIZE_T_MAX
46: #define DIVEXACT_1_THRESHOLD 0
47: #define MODEXACT_1_ODD_THRESHOLD 0
48:
49: #define MUL_FFT_TABLE { 624, 1568, 2688, 7680, 18432, 40960, 0 }
50: #define MUL_FFT_MODF_THRESHOLD 456
51: #define MUL_FFT_THRESHOLD 5888
52:
53: #define SQR_FFT_TABLE { 624, 992, 2432, 5632, 22528, 57344, 0 }
54: #define SQR_FFT_MODF_THRESHOLD 584
55: #define SQR_FFT_THRESHOLD 6400
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>