xref: /netbsd-src/external/lgpl3/gmp/dist/tests/mpn/t-toom8h.c (revision 72c7faa4dbb41dbb0238d6b4a109da0d4b236dd4)
1 #define mpn_toomMN_mul mpn_toom8h_mul
2 #define mpn_toomMN_mul_itch mpn_toom8h_mul_itch
3 
4 #define SIZE_LOG 11
5 
6 /* Smaller sizes not supported; may lead to recursive calls to
7    toom{22,33,44,6h}_mul with invalid input size. */
8 #define MIN_AN MUL_TOOM8H_MIN
9 
10 #define MIN_BN(an)			 \
11 (MAX(GMP_NUMB_BITS <=  9*3 ? (an*7)/ 9 : \
12      GMP_NUMB_BITS <= 10*3 ? (an*6)/10 : \
13      GMP_NUMB_BITS <= 11*3 ? (an*5)/11 : \
14      GMP_NUMB_BITS <= 12*3 ? (an*4)/12 : \
15      (an*4)/13, 86) )
16 
17 #define COUNT 1000
18 
19 #include "toom-shared.h"
20