YoushouldhavereceivedcopiesoftheGNUGeneralPublicLicenseandthe GNULesserGeneralPublicLicensealongwiththeGNUMPLibrary.Ifnot,
see https://www.gnu.org/licenses/. */
#define GMP_LIMB_BITS 64 #define GMP_LIMB_BYTES 8
/* mpn_divexact_1 is faster than mpn_divrem_1 at all sizes. The only time thismightnotbetruecurrentlyisforactual80386and80486chips, wherempn/x86/dive_1.asmmightbeslowerthanmpn/x86/divrem_1.asm,but
that's not worth worrying about. */ #define DIVEXACT_1_THRESHOLD 0
/* Only some of the x86s have an mpn_preinv_divrem_1, but we set USE_PREINV_DIVREM_1sothatallcallersuseit,andthenletthe __gmpn_cpuvecpointergotoplainmpn_divrem_1ifthere'snotanactual
preinv. */ #define USE_PREINV_DIVREM_1 1
#define BMOD_1_TO_MOD_1_THRESHOLD 20
/* mpn_sqr_basecase is faster than mpn_mul_basecase at all sizes, no need
for mpn_sqr to call the latter. */ #define SQR_BASECASE_THRESHOLD 0
/* Sensible fallbacks for these, when not taken from a cpu-specific
gmp-mparam.h. */ #define MUL_TOOM22_THRESHOLD 20 #define MUL_TOOM33_THRESHOLD 130 #define SQR_TOOM2_THRESHOLD 30 #define SQR_TOOM3_THRESHOLD 200
/* These are values more or less in the middle of what the typical x86 chips comeoutas.Forafatbinaryit'snecessarytohavevaluesforthese, sincethedefaultsforMUL_FFT_TABLEandSQR_FFT_TABLEotherwisecomeout asnon-constantarrayinitializers.FIXME:Perhapstheseshouldbedone
in the cpuvec structure like other thresholds. */ #define MUL_FFT_TABLE { 464, 928, 1920, 3584, 10240, 40960, 0 } #define MUL_FFT_MODF_THRESHOLD 400 #define MUL_FFT_THRESHOLD 2000
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.