Tizen 2.1 base
[external/gmp.git] / tests / mpn / t-toom8h.c
1 #define mpn_toomMN_mul mpn_toom8h_mul
2 #define mpn_toomMN_mul_itch mpn_toom8h_mul_itch
3
4 /* Smaller sizes not supported; may lead to recursive calls to
5    toom{22,33,44,6h}_mul with invalid input size. */
6 #define MIN_AN MUL_TOOM8H_THRESHOLD
7
8 #if GMP_NUMB_BITS <= 10*3
9 #define MIN_BN(an) (MAX ((an*6)/10, 86) )
10 #else
11 #if GMP_NUMB_BITS <= 11*3
12 #define MIN_BN(an) (MAX ((an*5)/11, 86) )
13 #else
14 #if GMP_NUMB_BITS <= 12*3
15 #define MIN_BN(an) (MAX ((an*4)/12, 86) )
16 #else
17 #define MIN_BN(an) (MAX ((an*4)/13, 86) )
18 #endif
19 #endif
20 #endif
21
22 #include "toom-shared.h"