Edit

kc3-lang/libtommath/tommath_cutoffs.h

Branch :

  • Show log

    Commit

  • Author : Steffen Jaeckel
    Date : 2019-05-06 22:38:16
    Hash : a7fcb6f5
    Message : update etc/tune_it.sh after merging #231

  • tommath_cutoffs.h
  • /* LibTomMath, multiple-precision integer library -- Tom St Denis */
    /* SPDX-License-Identifier: Unlicense */
    /*
       Current values evaluated on an AMD A8-6600K (64-bit).
       Type "make tune" to optimize them for your machine but
       be aware that it may take a long time. It took 2:30 minutes
       on the aforementioned machine for example.
     */
    
    #define MP_DEFAULT_KARATSUBA_MUL_CUTOFF 80
    #define MP_DEFAULT_KARATSUBA_SQR_CUTOFF 120
    #define MP_DEFAULT_TOOM_MUL_CUTOFF      350
    #define MP_DEFAULT_TOOM_SQR_CUTOFF      400