mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-23 22:27:43 +01:00
27 lines
592 B
C
27 lines
592 B
C
#define mpn_toomMN_mul mpn_toom8h_mul
|
|
#define mpn_toomMN_mul_itch mpn_toom8h_mul_itch
|
|
|
|
#define SIZE_LOG 11
|
|
|
|
/* Smaller sizes not supported; may lead to recursive calls to
|
|
toom{22,33,44,6h}_mul with invalid input size. */
|
|
#define MIN_AN MUL_TOOM8H_THRESHOLD
|
|
|
|
#if GMP_NUMB_BITS <= 10*3
|
|
#define MIN_BN(an) (MAX ((an*6)/10, 86) )
|
|
#else
|
|
#if GMP_NUMB_BITS <= 11*3
|
|
#define MIN_BN(an) (MAX ((an*5)/11, 86) )
|
|
#else
|
|
#if GMP_NUMB_BITS <= 12*3
|
|
#define MIN_BN(an) (MAX ((an*4)/12, 86) )
|
|
#else
|
|
#define MIN_BN(an) (MAX ((an*4)/13, 86) )
|
|
#endif
|
|
#endif
|
|
#endif
|
|
|
|
#define COUNT 1000
|
|
|
|
#include "toom-shared.h"
|