14a1767b4Smrg /* Cray T90 CFP gmp-mparam.h -- Compiler/machine parameter header file.
24a1767b4Smrg 
3*f81b1c5bSmrg Copyright 1991, 1993, 1994, 1996, 2000-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 #define GMP_LIMB_BITS 64
32*f81b1c5bSmrg #define GMP_LIMB_BYTES 8
334a1767b4Smrg 
344a1767b4Smrg /* T90 Unicos 10.0.X in CFP mode */
354a1767b4Smrg 
364a1767b4Smrg /* Generated by tuneup.c, 2004-02-07, system compiler */
374a1767b4Smrg 
384a1767b4Smrg #define MUL_TOOM22_THRESHOLD             71
394a1767b4Smrg #define MUL_TOOM33_THRESHOLD            131
404a1767b4Smrg 
414a1767b4Smrg #define SQR_BASECASE_THRESHOLD           32
424a1767b4Smrg #define SQR_TOOM2_THRESHOLD             199
434a1767b4Smrg #define SQR_TOOM3_THRESHOLD             363
444a1767b4Smrg 
454a1767b4Smrg #define DIV_SB_PREINV_THRESHOLD           0  /* (preinv always) */
464a1767b4Smrg #define DIV_DC_THRESHOLD                996
474a1767b4Smrg #define POWM_THRESHOLD                  601
484a1767b4Smrg 
494a1767b4Smrg #define HGCD_THRESHOLD                  964
504a1767b4Smrg #define GCD_ACCEL_THRESHOLD               3
514a1767b4Smrg #define GCD_DC_THRESHOLD               2874
524a1767b4Smrg #define JACOBI_BASE_METHOD                2
534a1767b4Smrg 
544a1767b4Smrg #define DIVREM_1_NORM_THRESHOLD           0  /* preinv always */
554a1767b4Smrg #define DIVREM_1_UNNORM_THRESHOLD         0  /* always */
564a1767b4Smrg #define MOD_1_NORM_THRESHOLD              0  /* always */
574a1767b4Smrg #define MOD_1_UNNORM_THRESHOLD            0  /* always */
584a1767b4Smrg #define USE_PREINV_DIVREM_1               1  /* preinv always */
594a1767b4Smrg #define USE_PREINV_MOD_1                  1  /* preinv always */
604a1767b4Smrg #define DIVREM_2_THRESHOLD                0  /* preinv always */
614a1767b4Smrg #define DIVEXACT_1_THRESHOLD              0  /* always */
624a1767b4Smrg #define MODEXACT_1_ODD_THRESHOLD          0  /* always */
634a1767b4Smrg 
644a1767b4Smrg #define GET_STR_DC_THRESHOLD             26
654a1767b4Smrg #define GET_STR_PRECOMPUTE_THRESHOLD     42
664a1767b4Smrg #define SET_STR_THRESHOLD            145756
674a1767b4Smrg 
684a1767b4Smrg #define MUL_FFT_TABLE  { 272, 544, 1088, 2304, 5120, 12288, 49152, 0 }
694a1767b4Smrg #define MUL_FFT_MODF_THRESHOLD          200
704a1767b4Smrg #define MUL_FFT_THRESHOLD              1664
714a1767b4Smrg 
724a1767b4Smrg #define SQR_FFT_TABLE  { 1008, 2080, 3904, 7936, 17408, 45056, 0 }
734a1767b4Smrg #define SQR_FFT_MODF_THRESHOLD          600
744a1767b4Smrg #define SQR_FFT_THRESHOLD              2976
75