| 1 |
/* PowerPC-64 gmp-mparam.h -- Compiler/machine parameter header file. |
| 2 |
|
| 3 |
Copyright 2008, 2009 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 either: |
| 9 |
|
| 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. |
| 13 |
|
| 14 |
or |
| 15 |
|
| 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 |
| 18 |
later version. |
| 19 |
|
| 20 |
or both in parallel, as here. |
| 21 |
|
| 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 |
| 25 |
for more details. |
| 26 |
|
| 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/. */ |
| 30 |
|
| 31 |
#define GMP_LIMB_BITS 64 |
| 32 |
#define GMP_LIMB_BYTES 8 |
| 33 |
|
| 34 |
/* 1600MHz PPC970 */ |
| 35 |
|
| 36 |
/* Generated by tuneup.c, 2009-01-14, gcc 4.0 */ |
| 37 |
|
| 38 |
#define MUL_TOOM22_THRESHOLD 14 |
| 39 |
#define MUL_TOOM33_THRESHOLD 93 |
| 40 |
#define MUL_TOOM44_THRESHOLD 135 |
| 41 |
|
| 42 |
#define SQR_BASECASE_THRESHOLD 6 |
| 43 |
#define SQR_TOOM2_THRESHOLD 32 |
| 44 |
#define SQR_TOOM3_THRESHOLD 74 |
| 45 |
#define SQR_TOOM4_THRESHOLD 136 |
| 46 |
|
| 47 |
#define MULLO_BASECASE_THRESHOLD 0 /* always */ |
| 48 |
#define MULLO_DC_THRESHOLD 44 |
| 49 |
#define MULLO_MUL_N_THRESHOLD 234 |
| 50 |
|
| 51 |
#define DIV_SB_PREINV_THRESHOLD 0 /* always */ |
| 52 |
#define DIV_DC_THRESHOLD 33 |
| 53 |
#define POWM_THRESHOLD 89 |
| 54 |
|
| 55 |
#define MATRIX22_STRASSEN_THRESHOLD 15 |
| 56 |
#define HGCD_THRESHOLD 93 |
| 57 |
#define GCD_DC_THRESHOLD 237 |
| 58 |
#define GCDEXT_DC_THRESHOLD 273 |
| 59 |
#define JACOBI_BASE_METHOD 1 |
| 60 |
|
| 61 |
#define MOD_1_NORM_THRESHOLD 0 /* always */ |
| 62 |
#define MOD_1_UNNORM_THRESHOLD 0 /* always */ |
| 63 |
#define MOD_1_1_THRESHOLD 6 |
| 64 |
#define MOD_1_2_THRESHOLD 9 |
| 65 |
#define MOD_1_4_THRESHOLD 23 |
| 66 |
#define USE_PREINV_DIVREM_1 0 |
| 67 |
#define USE_PREINV_MOD_1 0 |
| 68 |
#define DIVEXACT_1_THRESHOLD 0 /* always (native) */ |
| 69 |
#define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */ |
| 70 |
|
| 71 |
#define GET_STR_DC_THRESHOLD 12 |
| 72 |
#define GET_STR_PRECOMPUTE_THRESHOLD 24 |
| 73 |
#define SET_STR_DC_THRESHOLD 650 |
| 74 |
#define SET_STR_PRECOMPUTE_THRESHOLD 1713 |
| 75 |
|
| 76 |
#define MUL_FFT_TABLE { 336, 672, 1856, 2816, 7168, 20480, 81920, 327680, 0 } |
| 77 |
#define MUL_FFT_MODF_THRESHOLD 304 |
| 78 |
#define MUL_FFT_THRESHOLD 4224 |
| 79 |
|
| 80 |
#define SQR_FFT_TABLE { 272, 672, 1600, 2816, 7168, 20480, 81920, 327680, 786432, 0 } |
| 81 |
#define SQR_FFT_MODF_THRESHOLD 272 |
| 82 |
#define SQR_FFT_THRESHOLD 2688 |