1*e3209ae7SThomas Veerman /* HP-PA 1.1 gmp-mparam.h -- Compiler/machine parameter header file. 2*e3209ae7SThomas Veerman 3*e3209ae7SThomas Veerman Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2004 Free Software 4*e3209ae7SThomas Veerman Foundation, Inc. 5*e3209ae7SThomas Veerman 6*e3209ae7SThomas Veerman This file is part of the GNU MP Library. 7*e3209ae7SThomas Veerman 8*e3209ae7SThomas Veerman The GNU MP Library is free software; you can redistribute it and/or modify 9*e3209ae7SThomas Veerman it under the terms of the GNU Lesser General Public License as published by 10*e3209ae7SThomas Veerman the Free Software Foundation; either version 3 of the License, or (at your 11*e3209ae7SThomas Veerman option) any later version. 12*e3209ae7SThomas Veerman 13*e3209ae7SThomas Veerman The GNU MP Library is distributed in the hope that it will be useful, but 14*e3209ae7SThomas Veerman WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15*e3209ae7SThomas Veerman or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 16*e3209ae7SThomas Veerman License for more details. 17*e3209ae7SThomas Veerman 18*e3209ae7SThomas Veerman You should have received a copy of the GNU Lesser General Public License 19*e3209ae7SThomas Veerman along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ 20*e3209ae7SThomas Veerman 21*e3209ae7SThomas Veerman #define GMP_LIMB_BITS 32 22*e3209ae7SThomas Veerman #define BYTES_PER_MP_LIMB 4 23*e3209ae7SThomas Veerman 24*e3209ae7SThomas Veerman /* Generated by tuneup.c, 2004-02-07, gcc 2.8 (pa7100/100MHz) */ 25*e3209ae7SThomas Veerman 26*e3209ae7SThomas Veerman #define MUL_TOOM22_THRESHOLD 30 27*e3209ae7SThomas Veerman #define MUL_TOOM33_THRESHOLD 89 28*e3209ae7SThomas Veerman 29*e3209ae7SThomas Veerman #define SQR_BASECASE_THRESHOLD 4 30*e3209ae7SThomas Veerman #define SQR_TOOM2_THRESHOLD 55 31*e3209ae7SThomas Veerman #define SQR_TOOM3_THRESHOLD 101 32*e3209ae7SThomas Veerman 33*e3209ae7SThomas Veerman #define DIV_SB_PREINV_THRESHOLD 0 /* always */ 34*e3209ae7SThomas Veerman #define DIV_DC_THRESHOLD 84 35*e3209ae7SThomas Veerman #define POWM_THRESHOLD 166 36*e3209ae7SThomas Veerman 37*e3209ae7SThomas Veerman #define HGCD_THRESHOLD 231 38*e3209ae7SThomas Veerman #define GCD_ACCEL_THRESHOLD 3 39*e3209ae7SThomas Veerman #define GCD_DC_THRESHOLD 823 40*e3209ae7SThomas Veerman #define JACOBI_BASE_METHOD 2 41*e3209ae7SThomas Veerman 42*e3209ae7SThomas Veerman #define DIVREM_1_NORM_THRESHOLD 5 43*e3209ae7SThomas Veerman #define DIVREM_1_UNNORM_THRESHOLD 11 44*e3209ae7SThomas Veerman #define MOD_1_NORM_THRESHOLD 5 45*e3209ae7SThomas Veerman #define MOD_1_UNNORM_THRESHOLD 10 46*e3209ae7SThomas Veerman #define USE_PREINV_DIVREM_1 1 47*e3209ae7SThomas Veerman #define USE_PREINV_MOD_1 1 48*e3209ae7SThomas Veerman #define DIVREM_2_THRESHOLD 0 /* always */ 49*e3209ae7SThomas Veerman #define DIVEXACT_1_THRESHOLD 0 /* always */ 50*e3209ae7SThomas Veerman #define MODEXACT_1_ODD_THRESHOLD 0 /* always */ 51*e3209ae7SThomas Veerman 52*e3209ae7SThomas Veerman #define GET_STR_DC_THRESHOLD 13 53*e3209ae7SThomas Veerman #define GET_STR_PRECOMPUTE_THRESHOLD 23 54*e3209ae7SThomas Veerman #define SET_STR_THRESHOLD 6589 55*e3209ae7SThomas Veerman 56*e3209ae7SThomas Veerman #define MUL_FFT_TABLE { 464, 928, 1920, 4608, 14336, 40960, 0 } 57*e3209ae7SThomas Veerman #define MUL_FFT_MODF_THRESHOLD 480 58*e3209ae7SThomas Veerman #define MUL_FFT_THRESHOLD 3328 59*e3209ae7SThomas Veerman 60*e3209ae7SThomas Veerman #define SQR_FFT_TABLE { 528, 1184, 2176, 5632, 14336, 40960, 0 } 61*e3209ae7SThomas Veerman #define SQR_FFT_MODF_THRESHOLD 520 62*e3209ae7SThomas Veerman #define SQR_FFT_THRESHOLD 3328 63