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