1/* Alpha EV4 gmp-mparam.h -- Compiler/machine parameter header file.
2
3Copyright 1991, 1993, 1994, 1999-2002, 2004, 2005, 2009 Free Software
4Foundation, Inc.
5
6This file is part of the GNU MP Library.
7
8The GNU MP Library is free software; you can redistribute it and/or modify
9it under the terms of either:
10
11  * the GNU Lesser General Public License as published by the Free
12    Software Foundation; either version 3 of the License, or (at your
13    option) any later version.
14
15or
16
17  * the GNU General Public License as published by the Free Software
18    Foundation; either version 2 of the License, or (at your option) any
19    later version.
20
21or both in parallel, as here.
22
23The GNU MP Library is distributed in the hope that it will be useful, but
24WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
25or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
26for more details.
27
28You should have received copies of the GNU General Public License and the
29GNU Lesser General Public License along with the GNU MP Library.  If not,
30see https://www.gnu.org/licenses/.  */
31
32#define GMP_LIMB_BITS 64
33#define GMP_LIMB_BYTES 8
34
35
36/* 175MHz 21064 */
37
38/* Generated by tuneup.c, 2009-01-15, gcc 3.2 */
39
40#define MUL_TOOM22_THRESHOLD             12
41#define MUL_TOOM33_THRESHOLD             69
42#define MUL_TOOM44_THRESHOLD             88
43
44#define SQR_BASECASE_THRESHOLD            4
45#define SQR_TOOM2_THRESHOLD              20
46#define SQR_TOOM3_THRESHOLD              62
47#define SQR_TOOM4_THRESHOLD             155
48
49#define MULLO_BASECASE_THRESHOLD          0  /* always */
50#define MULLO_DC_THRESHOLD               40
51#define MULLO_MUL_N_THRESHOLD           202
52
53#define DIV_SB_PREINV_THRESHOLD           0  /* preinv always */
54#define DIV_DC_THRESHOLD                 38
55#define POWM_THRESHOLD                   60
56
57#define MATRIX22_STRASSEN_THRESHOLD      17
58#define HGCD_THRESHOLD                   80
59#define GCD_DC_THRESHOLD                237
60#define GCDEXT_DC_THRESHOLD             198
61#define JACOBI_BASE_METHOD                2
62
63#define DIVREM_1_NORM_THRESHOLD           0  /* preinv always */
64#define DIVREM_1_UNNORM_THRESHOLD         0  /* always */
65#define MOD_1_NORM_THRESHOLD              0  /* always */
66#define MOD_1_UNNORM_THRESHOLD            0  /* always */
67#define MOD_1_1_THRESHOLD                 2
68#define MOD_1_2_THRESHOLD                 9
69#define MOD_1_4_THRESHOLD                20
70#define USE_PREINV_DIVREM_1               1  /* preinv always */
71#define USE_PREINV_MOD_1                  1  /* preinv always */
72#define DIVEXACT_1_THRESHOLD              0  /* always */
73#define MODEXACT_1_ODD_THRESHOLD          0  /* always */
74
75#define GET_STR_DC_THRESHOLD             20
76#define GET_STR_PRECOMPUTE_THRESHOLD     37
77#define SET_STR_DC_THRESHOLD            746
78#define SET_STR_PRECOMPUTE_THRESHOLD   1332
79
80#define MUL_FFT_TABLE  { 240, 480, 1344, 2304, 5120, 20480, 49152, 0 }
81#define MUL_FFT_MODF_THRESHOLD          232
82#define MUL_FFT_THRESHOLD              1664
83
84#define SQR_FFT_TABLE  { 240, 480, 1216, 2304, 5120, 12288, 49152, 0 }
85#define SQR_FFT_MODF_THRESHOLD          232
86#define SQR_FFT_THRESHOLD              1408
87