/* AMD K8 gmp-mparam.h -- Compiler/machine parameter header file. Copyright 1991, 1993, 1994, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU MP Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU MP Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #define BITS_PER_MP_LIMB 64 #define BYTES_PER_MP_LIMB 8 /* 1800 MHz Athlon 64 / rev CG / socket 754 */ /* Generated by tuneup.c, 2005-03-19, gcc 3.4 */ #define MUL_KARATSUBA_THRESHOLD 24 #define MUL_TOOM3_THRESHOLD 81 #define SQR_BASECASE_THRESHOLD 9 #define SQR_KARATSUBA_THRESHOLD 28 #define SQR_TOOM3_THRESHOLD 109 #define MULLOW_BASECASE_THRESHOLD 0 /* always */ #define MULLOW_DC_THRESHOLD 24 #define MULLOW_MUL_N_THRESHOLD 375 #define DIV_SB_PREINV_THRESHOLD 0 /* always */ #define DIV_DC_THRESHOLD 48 #define POWM_THRESHOLD 200 #define HGCD_SCHOENHAGE_THRESHOLD 182 #define GCD_ACCEL_THRESHOLD 3 #define GCD_SCHOENHAGE_THRESHOLD 426 #define GCDEXT_SCHOENHAGE_THRESHOLD 514 #define JACOBI_BASE_METHOD 1 #define MOD_1_NORM_THRESHOLD 0 /* always */ #define MOD_1_UNNORM_THRESHOLD 0 /* always */ #define USE_PREINV_DIVREM_1 1 /* native */ #define USE_PREINV_MOD_1 1 #define DIVREM_2_THRESHOLD 0 /* always */ #define DIVEXACT_1_THRESHOLD 0 /* always (native) */ #define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */ #define GET_STR_DC_THRESHOLD 15 #define GET_STR_PRECOMPUTE_THRESHOLD 27 #define SET_STR_DC_THRESHOLD 2008 #define SET_STR_PRECOMPUTE_THRESHOLD 4854 #define MUL_FFT_TABLE { 688, 1440, 3136, 5888, 15360, 45056, 114688, 458752, 1310720, 3145728, 0 } #define MUL_FFT_MODF_THRESHOLD 704 #define MUL_FFT_THRESHOLD 6528 #define SQR_FFT_TABLE { 624, 1312, 2880, 5888, 13312, 36864, 114688, 327680, 1310720, 3145728, 0 } #define SQR_FFT_MODF_THRESHOLD 640 #define SQR_FFT_THRESHOLD 5760 #define MUL_FFT_TABLE2 {{1, 4}, {369, 5}, {385, 4}, {401, 5}, {737, 6}, {769, 5}, {801, 6}, {1729, 7}, {1793, 6}, {2049, 7}, {2433, 6}, {2497, 7}, {2561, 6}, {2625, 7}, {3137, 8}, {3201, 7}, {3713, 8}, {3841, 7}, {3969, 8}, {4481, 7}, {5121, 8}, {5377, 9}, {5505, 8}, {9217, 9}, {9729, 8}, {11009, 9}, {11777, 8}, {12801, 9}, {13057, 8}, {13313, 9}, {13825, 8}, {14337, 10}, {14593, 9}, {22017, 10}, {23553, 9}, {28673, 10}, {29697, 9}, {30209, 10}, {31745, 9}, {36353, 10}, {39937, 9}, {41985, 10}, {44033, 9}, {44545, 10}, {48129, 9}, {48641, 10}, {49665, 9}, {50689, 11}, {51201, 10}, {56321, 11}, {63489, 10}, {81921, 11}, {84993, 10}, {86017, 11}, {87041, 10}, {89089, 11}, {96257, 10}, {106497, 12}, {126977, 11}, {215041, 12}, {217089, 11}, {227329, 12}, {258049, 11}, {325633, 12}, {389121, 11}, {391169, 13}, {516097, 12}, {782337, 13}, {786433, 12}, {811009, 13}, {815105, 12}, {876545, 13}, {880641, 12}, {884737, 13}, {888833, 12}, {901121, 13}, {905217, 12}, {913409, 13}, {1040385, 12}, {1437697, 13}, {1564673, 12}, {1740801, 14}, {2080769, 13}, {5758977, 14}, {6275073, 13}, {7856129, 14}, {8372225, 13}, {9953281, 14}, {10469377, 13}, {11575297, 14}, {11583489, 13}, {11640833, 14}, {11649025, 13}, {11722753, 14}, {11730945, 13}, {11739137, 14}, {11747329, 13}, {11763713, 14}, {11771905, 13}, {11780097, 14}, {11788289, 13}, {11796481, 14}, {11804673, 13}, {11829249, 14}, {11837441, 13}, {11853825, 14}, {11862017, 13}, {11878401, 14}, {11886593, 13}, {11943937, 14}, {11952129, 13}, {11960321, 14}, {11968513, 13}, {12001281, 14}, {12009473, 13}, {12050433, 14}, {12566529, 13}, {12771329, 14}, {12779521, 13}, {12828673, 14}, {12845057, 13}, {12894209, 14}, {12910593, 13}, {12935169, 14}, {12943361, 13}, {13090817, 14}, {13099009, 13}, {13344769, 14}, {13352961, 13}, {13402113, 14}, {13410305, 13}, {13467649, 14}, {13475841, 13}, {13508609, 14}, {13516801, 13}, {13574145, 14}, {13582337, 13}, {13623297, 14}, {14663681, 13}, {MP_SIZE_T_MAX, 0}} #define SQR_FFT_TABLE2 {{1, 4}, {369, 5}, {385, 4}, {401, 5}, {449, 4}, {465, 5}, {865, 6}, {897, 5}, {929, 6}, {961, 5}, {993, 6}, {1729, 7}, {1761, 6}, {2497, 7}, {2561, 6}, {2753, 7}, {2817, 6}, {3009, 7}, {3073, 6}, {3201, 7}, {3329, 6}, {3457, 7}, {3585, 8}, {3649, 7}, {4097, 8}, {4225, 7}, {4609, 8}, {4737, 7}, {5633, 8}, {6017, 7}, {6145, 8}, {6529, 7}, {6657, 8}, {6913, 7}, {7681, 8}, {7937, 7}, {8065, 8}, {8193, 7}, {8321, 8}, {8449, 7}, {8577, 8}, {8705, 7}, {9089, 9}, {9217, 8}, {9473, 9}, {9729, 8}, {10497, 9}, {10753, 8}, {11009, 9}, {11777, 8}, {13057, 9}, {13569, 8}, {15105, 10}, {15361, 9}, {18433, 10}, {18945, 9}, {19969, 10}, {20481, 9}, {22017, 10}, {22529, 9}, {28673, 10}, {31745, 9}, {34305, 10}, {34817, 9}, {36865, 10}, {39937, 9}, {43009, 10}, {43521, 9}, {44545, 10}, {48129, 9}, {48641, 10}, {49153, 9}, {50177, 10}, {56321, 11}, {63489, 10}, {80897, 11}, {81921, 10}, {87041, 11}, {88065, 10}, {89089, 11}, {96257, 10}, {99329, 12}, {112641, 11}, {114689, 12}, {126977, 11}, {194561, 12}, {196609, 11}, {198657, 12}, {202753, 11}, {206849, 12}, {212993, 11}, {215041, 12}, {217089, 11}, {219137, 12}, {221185, 11}, {223233, 12}, {258049, 11}, {325633, 12}, {389121, 11}, {391169, 13}, {516097, 12}, {782337, 13}, {786433, 12}, {790529, 13}, {798721, 12}, {806913, 13}, {811009, 12}, {815105, 13}, {823297, 12}, {827393, 13}, {831489, 12}, {843777, 13}, {860161, 12}, {872449, 13}, {892929, 12}, {897025, 13}, {901121, 12}, {913409, 13}, {1040385, 12}, {1437697, 13}, {1564673, 12}, {1835009, 14}, {2080769, 13}, {5758977, 14}, {6275073, 13}, {7389185, 14}, {7397377, 13}, {7651329, 14}, {7659521, 13}, {7856129, 14}, {8372225, 13}, {9428993, 14}, {MP_SIZE_T_MAX, 0}}