14a1767b4Smrg /* SuperSPARC gmp-mparam.h -- Compiler/machine parameter header file.
24a1767b4Smrg 
3*f81b1c5bSmrg Copyright 1991, 1993, 1994, 1999-2004 Free Software Foundation, Inc.
44a1767b4Smrg 
54a1767b4Smrg This file is part of the GNU MP Library.
64a1767b4Smrg 
74a1767b4Smrg The GNU MP Library is free software; you can redistribute it and/or modify
8*f81b1c5bSmrg it under the terms of either:
9*f81b1c5bSmrg 
10*f81b1c5bSmrg   * the GNU Lesser General Public License as published by the Free
11*f81b1c5bSmrg     Software Foundation; either version 3 of the License, or (at your
124a1767b4Smrg     option) any later version.
134a1767b4Smrg 
14*f81b1c5bSmrg or
15*f81b1c5bSmrg 
16*f81b1c5bSmrg   * the GNU General Public License as published by the Free Software
17*f81b1c5bSmrg     Foundation; either version 2 of the License, or (at your option) any
18*f81b1c5bSmrg     later version.
19*f81b1c5bSmrg 
20*f81b1c5bSmrg or both in parallel, as here.
21*f81b1c5bSmrg 
224a1767b4Smrg The GNU MP Library is distributed in the hope that it will be useful, but
234a1767b4Smrg WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
24*f81b1c5bSmrg or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
25*f81b1c5bSmrg for more details.
264a1767b4Smrg 
27*f81b1c5bSmrg You should have received copies of the GNU General Public License and the
28*f81b1c5bSmrg GNU Lesser General Public License along with the GNU MP Library.  If not,
29*f81b1c5bSmrg see https://www.gnu.org/licenses/.  */
304a1767b4Smrg 
314a1767b4Smrg 
324a1767b4Smrg #define GMP_LIMB_BITS 32
33*f81b1c5bSmrg #define GMP_LIMB_BYTES 4
344a1767b4Smrg 
354a1767b4Smrg /* Generated by tuneup.c, 2004-02-10, gcc 3.3 */
364a1767b4Smrg 
374a1767b4Smrg #define MUL_TOOM22_THRESHOLD             14
384a1767b4Smrg #define MUL_TOOM33_THRESHOLD             81
394a1767b4Smrg 
404a1767b4Smrg #define SQR_BASECASE_THRESHOLD            5
414a1767b4Smrg #define SQR_TOOM2_THRESHOLD              28
424a1767b4Smrg #define SQR_TOOM3_THRESHOLD              86
434a1767b4Smrg 
444a1767b4Smrg #define DIV_SB_PREINV_THRESHOLD           0  /* always */
454a1767b4Smrg #define DIV_DC_THRESHOLD                 26
464a1767b4Smrg #define POWM_THRESHOLD                   79
474a1767b4Smrg 
484a1767b4Smrg #define HGCD_THRESHOLD                   97
494a1767b4Smrg #define GCD_ACCEL_THRESHOLD               3
504a1767b4Smrg #define GCD_DC_THRESHOLD                470
514a1767b4Smrg #define JACOBI_BASE_METHOD                2
524a1767b4Smrg 
534a1767b4Smrg #define DIVREM_1_NORM_THRESHOLD           0  /* always */
544a1767b4Smrg #define DIVREM_1_UNNORM_THRESHOLD         3
554a1767b4Smrg #define MOD_1_NORM_THRESHOLD              0  /* always */
564a1767b4Smrg #define MOD_1_UNNORM_THRESHOLD            3
574a1767b4Smrg #define USE_PREINV_DIVREM_1               1
584a1767b4Smrg #define USE_PREINV_MOD_1                  1
594a1767b4Smrg #define DIVREM_2_THRESHOLD                0  /* always */
604a1767b4Smrg #define DIVEXACT_1_THRESHOLD              0  /* always */
614a1767b4Smrg #define MODEXACT_1_ODD_THRESHOLD          0  /* always */
624a1767b4Smrg 
634a1767b4Smrg #define GET_STR_DC_THRESHOLD             19
644a1767b4Smrg #define GET_STR_PRECOMPUTE_THRESHOLD     34
654a1767b4Smrg #define SET_STR_THRESHOLD              3524
664a1767b4Smrg 
674a1767b4Smrg #define MUL_FFT_TABLE  { 304, 800, 1408, 3584, 10240, 24576, 0 }
684a1767b4Smrg #define MUL_FFT_MODF_THRESHOLD          264
694a1767b4Smrg #define MUL_FFT_THRESHOLD              2304
704a1767b4Smrg 
714a1767b4Smrg #define SQR_FFT_TABLE  { 336, 800, 1408, 3584, 10240, 24576, 0 }
724a1767b4Smrg #define SQR_FFT_MODF_THRESHOLD          280
734a1767b4Smrg #define SQR_FFT_THRESHOLD              2304
74