1/* gmp-mparam.h -- Compiler/machine parameter header file.
2
3Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
4
5This file is part of the GNU MP Library.
6
7The GNU MP Library is free software; you can redistribute it and/or modify
8it under the terms of the GNU Lesser General Public License as published by
9the Free Software Foundation; either version 3 of the License, or (at your
10option) any later version.
11
12The GNU MP Library is distributed in the hope that it will be useful, but
13WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15License for more details.
16
17You should have received a copy of the GNU Lesser General Public License
18along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.  */
19
20
21#define GMP_LIMB_BITS 32
22#define BYTES_PER_MP_LIMB 4
23
24
25/* 25MHz 68040 */
26
27/* Generated by tuneup.c, 2004-02-05, gcc 3.2 */
28
29#define MUL_TOOM22_THRESHOLD             14
30#define MUL_TOOM33_THRESHOLD             90
31
32#define SQR_BASECASE_THRESHOLD            5
33#define SQR_TOOM2_THRESHOLD              28
34#define SQR_TOOM3_THRESHOLD              98
35
36#define DIV_SB_PREINV_THRESHOLD       MP_SIZE_T_MAX  /* never */
37#define DIV_DC_THRESHOLD                 55
38#define POWM_THRESHOLD                   65
39
40#define HGCD_THRESHOLD                  116
41#define GCD_ACCEL_THRESHOLD               3
42#define GCD_DC_THRESHOLD                590
43#define JACOBI_BASE_METHOD                2
44
45#define DIVREM_1_NORM_THRESHOLD       MP_SIZE_T_MAX  /* never */
46#define DIVREM_1_UNNORM_THRESHOLD     MP_SIZE_T_MAX  /* never */
47#define MOD_1_NORM_THRESHOLD          MP_SIZE_T_MAX  /* never */
48#define MOD_1_UNNORM_THRESHOLD        MP_SIZE_T_MAX  /* never */
49#define USE_PREINV_DIVREM_1               0
50#define USE_PREINV_MOD_1                  0
51#define DIVREM_2_THRESHOLD            MP_SIZE_T_MAX  /* never */
52#define DIVEXACT_1_THRESHOLD          MP_SIZE_T_MAX  /* never */
53#define MODEXACT_1_ODD_THRESHOLD      MP_SIZE_T_MAX  /* never */
54
55#define GET_STR_DC_THRESHOLD             18
56#define GET_STR_PRECOMPUTE_THRESHOLD     43
57#define SET_STR_THRESHOLD               937
58
59#define MUL_FFT_TABLE  { 336, 672, 1408, 3584, 10240, 24576, 0 }
60#define MUL_FFT_MODF_THRESHOLD          296
61#define MUL_FFT_THRESHOLD              1728
62
63#define SQR_FFT_TABLE  { 336, 736, 1408, 3584, 10240, 24576, 0 }
64#define SQR_FFT_MODF_THRESHOLD          296
65#define SQR_FFT_THRESHOLD              2304
66