Tizen 2.1 base
[external/gmp.git] / mpn / power / gmp-mparam.h
1 /* POWER gmp-mparam.h -- Compiler/machine parameter header file.
2
3 Copyright 2002, 2003, 2004 Free Software Foundation, Inc.
4
5 This file is part of the GNU MP Library.
6
7 The GNU MP Library is free software; you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11
12 The GNU MP Library is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15 License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.  */
19
20 /* Generated by tuneup.c, 2003-02-10, gcc 3.2, POWER2 66.7MHz */
21
22 #define MUL_TOOM22_THRESHOLD             12
23 #define MUL_TOOM33_THRESHOLD             75
24
25 #define SQR_BASECASE_THRESHOLD            7
26 #define SQR_TOOM2_THRESHOLD              28
27 #define SQR_TOOM3_THRESHOLD              86
28
29 #define DIV_SB_PREINV_THRESHOLD       MP_SIZE_T_MAX  /* never */
30 #define DIV_DC_THRESHOLD                 36
31 #define POWM_THRESHOLD                   69
32
33 #define HGCD_THRESHOLD                   97
34 #define GCD_ACCEL_THRESHOLD               3
35 #define GCD_DC_THRESHOLD                590
36 #define JACOBI_BASE_METHOD                2
37
38 #define DIVREM_1_NORM_THRESHOLD          12
39 #define DIVREM_1_UNNORM_THRESHOLD     MP_SIZE_T_MAX  /* never */
40 #define MOD_1_NORM_THRESHOLD             10
41 #define MOD_1_UNNORM_THRESHOLD        MP_SIZE_T_MAX  /* never */
42 #define USE_PREINV_DIVREM_1               0
43 #define USE_PREINV_MOD_1                  1
44 #define DIVREM_2_THRESHOLD               11
45 #define DIVEXACT_1_THRESHOLD              0  /* always */
46 #define MODEXACT_1_ODD_THRESHOLD          0  /* always */
47
48 #define GET_STR_DC_THRESHOLD             10
49 #define GET_STR_PRECOMPUTE_THRESHOLD     20
50 #define SET_STR_THRESHOLD              2899
51
52 #define MUL_FFT_TABLE  { 336, 800, 1408, 3584, 10240, 24576, 0 }
53 #define MUL_FFT_MODF_THRESHOLD          296
54 #define MUL_FFT_THRESHOLD              2304
55
56 #define SQR_FFT_TABLE  { 336, 800, 1408, 3584, 10240, 24576, 0 }
57 #define SQR_FFT_MODF_THRESHOLD          296
58 #define SQR_FFT_THRESHOLD              2304