1 /* UltraSPARC T 32-bit gmp-mparam.h -- Compiler/machine parameter header file.
3 Copyright 1991, 1993, 1994, 2000-2011 Free Software Foundation, Inc.
5 This file is part of the GNU MP Library.
7 The GNU MP Library is free software; you can redistribute it and/or modify
8 it under the terms of either:
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.
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
20 or both in parallel, as here.
22 The GNU MP Library is distributed in the hope that it will be useful, but
23 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
24 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
27 You should have received copies of the GNU General Public License and the
28 GNU Lesser General Public License along with the GNU MP Library. If not,
29 see https://www.gnu.org/licenses/. */
31 #define DIVREM_1_NORM_THRESHOLD 0 /* always */
32 #define DIVREM_1_UNNORM_THRESHOLD 3
33 #define MOD_1_1P_METHOD 2
34 #define MOD_1_NORM_THRESHOLD 0 /* always */
35 #define MOD_1_UNNORM_THRESHOLD 0 /* always */
36 #define MOD_1N_TO_MOD_1_1_THRESHOLD 9
37 #define MOD_1U_TO_MOD_1_1_THRESHOLD 10
38 #define MOD_1_1_TO_MOD_1_2_THRESHOLD 0 /* never mpn_mod_1_1p */
39 #define MOD_1_2_TO_MOD_1_4_THRESHOLD 21
40 #define PREINV_MOD_1_TO_MOD_1_THRESHOLD 22
41 #define USE_PREINV_DIVREM_1 1
42 #define DIV_QR_2_PI2_THRESHOLD MP_SIZE_T_MAX /* never */
43 #define DIVEXACT_1_THRESHOLD 0 /* always */
44 #define BMOD_1_TO_MOD_1_THRESHOLD 35
46 #define MUL_TOOM22_THRESHOLD 14
47 #define MUL_TOOM33_THRESHOLD 98
48 #define MUL_TOOM44_THRESHOLD 166
49 #define MUL_TOOM6H_THRESHOLD 226
50 #define MUL_TOOM8H_THRESHOLD 333
52 #define MUL_TOOM32_TO_TOOM43_THRESHOLD 97
53 #define MUL_TOOM32_TO_TOOM53_THRESHOLD 139
54 #define MUL_TOOM42_TO_TOOM53_THRESHOLD 97
55 #define MUL_TOOM42_TO_TOOM63_THRESHOLD 98
56 #define MUL_TOOM43_TO_TOOM54_THRESHOLD 120
58 #define SQR_BASECASE_THRESHOLD 6
59 #define SQR_TOOM2_THRESHOLD 34
60 #define SQR_TOOM3_THRESHOLD 110
61 #define SQR_TOOM4_THRESHOLD 178
62 #define SQR_TOOM6_THRESHOLD 240
63 #define SQR_TOOM8_THRESHOLD 333
65 #define MULMID_TOOM42_THRESHOLD 22
67 #define MULMOD_BNM1_THRESHOLD 9
68 #define SQRMOD_BNM1_THRESHOLD 13
70 #define MUL_FFT_MODF_THRESHOLD 280 /* k = 5 */
71 #define MUL_FFT_TABLE3 \
72 { { 280, 5}, { 15, 6}, { 8, 5}, { 17, 6}, \
73 { 9, 5}, { 19, 6}, { 13, 7}, { 7, 6}, \
74 { 17, 7}, { 9, 6}, { 20, 7}, { 11, 6}, \
75 { 23, 7}, { 13, 8}, { 7, 7}, { 21, 8}, \
76 { 11, 7}, { 25, 9}, { 7, 8}, { 15, 7}, \
77 { 33, 8}, { 19, 7}, { 41, 8}, { 23, 7}, \
78 { 49, 8}, { 27, 9}, { 15, 8}, { 31, 7}, \
79 { 63, 8}, { 39, 9}, { 23, 8}, { 47,10}, \
80 { 15, 9}, { 31, 8}, { 67, 9}, { 39, 8}, \
81 { 79, 9}, { 47,10}, { 31, 9}, { 79,10}, \
82 { 47,11}, { 31,10}, { 63, 9}, { 127, 8}, \
83 { 255,10}, { 79, 9}, { 159, 8}, { 319,10}, \
84 { 95, 9}, { 191, 8}, { 383,11}, { 63,10}, \
85 { 127, 9}, { 255,10}, { 143, 9}, { 287,10}, \
86 { 159, 9}, { 319,10}, { 175,11}, { 95,10}, \
87 { 191, 9}, { 383,12}, { 4096,13}, { 8192,14}, \
88 { 16384,15}, { 32768,16} }
89 #define MUL_FFT_TABLE3_SIZE 66
90 #define MUL_FFT_THRESHOLD 3712
92 #define SQR_FFT_MODF_THRESHOLD 240 /* k = 5 */
93 #define SQR_FFT_TABLE3 \
94 { { 240, 5}, { 15, 6}, { 8, 5}, { 17, 6}, \
95 { 13, 7}, { 7, 6}, { 17, 7}, { 9, 6}, \
96 { 20, 7}, { 11, 6}, { 23, 7}, { 13, 8}, \
97 { 7, 7}, { 19, 8}, { 11, 7}, { 25, 9}, \
98 { 7, 8}, { 15, 7}, { 33, 8}, { 19, 7}, \
99 { 39, 8}, { 23, 7}, { 47, 8}, { 27, 9}, \
100 { 15, 8}, { 39, 9}, { 23, 8}, { 47,10}, \
101 { 15, 9}, { 31, 8}, { 63, 9}, { 39, 8}, \
102 { 79, 9}, { 47,10}, { 31, 9}, { 63, 8}, \
103 { 127, 9}, { 71, 8}, { 143, 9}, { 79,10}, \
104 { 47,11}, { 31,10}, { 63, 9}, { 127, 8}, \
105 { 255, 9}, { 143,10}, { 79, 9}, { 159, 8}, \
106 { 319, 9}, { 175,10}, { 95, 9}, { 191, 8}, \
107 { 383, 9}, { 207,11}, { 63,10}, { 127, 9}, \
108 { 255,10}, { 143, 9}, { 287,10}, { 159, 9}, \
109 { 319,10}, { 175,11}, { 95,10}, { 191, 9}, \
110 { 383,10}, { 207,12}, { 4096,13}, { 8192,14}, \
111 { 16384,15}, { 32768,16} }
112 #define SQR_FFT_TABLE3_SIZE 70
113 #define SQR_FFT_THRESHOLD 2624
115 #define MULLO_BASECASE_THRESHOLD 0 /* always */
116 #define MULLO_DC_THRESHOLD 51
117 #define MULLO_MUL_N_THRESHOLD 6633
119 #define DC_DIV_QR_THRESHOLD 51
120 #define DC_DIVAPPR_Q_THRESHOLD 202
121 #define DC_BDIV_QR_THRESHOLD 47
122 #define DC_BDIV_Q_THRESHOLD 124
124 #define INV_MULMOD_BNM1_THRESHOLD 26
125 #define INV_NEWTON_THRESHOLD 266
126 #define INV_APPR_THRESHOLD 222
128 #define BINV_NEWTON_THRESHOLD 296
129 #define REDC_1_TO_REDC_N_THRESHOLD 59
131 #define MU_DIV_QR_THRESHOLD 1334
132 #define MU_DIVAPPR_Q_THRESHOLD 1499
133 #define MUPI_DIV_QR_THRESHOLD 116
134 #define MU_BDIV_QR_THRESHOLD 1057
135 #define MU_BDIV_Q_THRESHOLD 1334
137 #define POWM_SEC_TABLE 6,35,213,724,2618
139 #define MATRIX22_STRASSEN_THRESHOLD 15
140 #define HGCD_THRESHOLD 84
141 #define HGCD_APPR_THRESHOLD 101
142 #define HGCD_REDUCE_THRESHOLD 1437
143 #define GCD_DC_THRESHOLD 372
144 #define GCDEXT_DC_THRESHOLD 253
145 #define JACOBI_BASE_METHOD 2
147 #define GET_STR_DC_THRESHOLD 12
148 #define GET_STR_PRECOMPUTE_THRESHOLD 27
149 #define SET_STR_DC_THRESHOLD 399
150 #define SET_STR_PRECOMPUTE_THRESHOLD 885
152 #define FAC_DSC_THRESHOLD 179
153 #define FAC_ODD_THRESHOLD 29