-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog
26003 lines (17605 loc) · 848 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2011-05-07 Torbjorn Granlund <[email protected]>
* Version 5.0.2 released.
* gmp-h.in (__GNU_MP_VERSION_PATCHLEVEL): Bump.
* Makefile.am (LIBGMP_LT_*, LIBGMPXX_LT_*, LIBMP_LT_*):
Bump version info.
2011-05-05 Torbjorn Granlund <[email protected]>
* mpn/x86_64/fat/fat_entry.asm: (PIC_OR_DARWIN): New symbol. Use it to
work around Darwin problems.
2011-05-02 Marc Glisse <[email protected]>
* configfsf.guess: Update to version of 2011-02-02.
* configfsf.sub: Update to version of 2011-03-23.
2011-04-30 Marc Glisse <[email protected]>
* gmp-h.in (mpz_cdiv_q_2exp): Use mp_bitcnt_t to match the definition
and the documentation.
(mpz_remove): Likewise.
(mpf_eq): Likewise.
* ltmain.sh: Remove.
* .bootstrap: Let libtoolize generate ltmain.sh.
* doc/gmp.texi (mpf_urandomb): Explicit the fact that it does not
change the precision.
2011-04-27 Torbjorn Granlund <[email protected]>
* tune/speed.h (speed_cyclecounter): Always use PIC variant when
compiled with Apple's GCC.
2011-04-26 Torbjorn Granlund <[email protected]>
* mpn/sparc32/sparc-defs.m4 (changecom): Don't redefine '!' as it
interferes with expressions.
2011-04-10 Torbjorn Granlund <[email protected]>
* acinclude.m4 (GMP_ASM_RODATA): Make 'foo' larger to avoid clang
problems.
2011-03-28 Torbjorn Granlund <[email protected]>
* mpn/x86/invert_limb.asm: Protect movzwl register parameters from
being interpreted as m4 macro parameters.
2011-03-21 Torbjorn Granlund <[email protected]>
* configure.in (hppa): Under linux, treat 64-bit processors as if they
were 32-bit processors.
2011-03-15 Marco Bodrato <[email protected]>
* mpn/generic/toom_interpolate_16pts.c: Remove ambiguity.
2011-03-12 Torbjorn Granlund <[email protected]>
* tune/powerpc.asm: Use powerpc syntax, not power syntax.
2011-03-09 Marc Glisse <[email protected]>
* doc/gmp.texi: Remove void return type from constructors. Document
explicit constructors. Document mpf_class::mpf_class(mpf_t).
2011-02-24 Torbjorn Granlund <[email protected]>
* mpn/x86/p6/sse2/mod_1_4.asm: Fix typo in MULFUNC_PROLOGUE.
2011-02-04 Torbjorn Granlund <[email protected]>
* mpn/x86_64/core2/popcount.asm: Add a MULFUNC_PROLOGUE.
* mpn/x86_64/pentium4/popcount.asm: Likewise.
2011-01-25 Marco Bodrato <[email protected]>
* mpz/mul.c: Remove redundant size computation.
2010-11-11 Torbjorn Granlund <[email protected]>
* mpn/x86_64/atom/aors_n.asm: Don't rely on ZF after 'bt' insn.
Use 64-bit 'test' to support operands of 2^32 limbs and more.
2010-11-06 Torbjorn Granlund <[email protected]>
* mpn/x86_64/aors_n.asm: Rewrite not to rely on ZF after 'bt' insn.
2010-10-04 Torbjorn Granlund <[email protected]>
* mpn/x86_64/gcd_1.asm: Use m4_lshift to avoid << operator.
* mpn/x86/k7/gcd_1.asm: Likewise.
2010-08-20 Niels Möller <[email protected]>
Suggested by Ozkan Sezer:
* configure.in: If $M4 is already set in the environment, don't
touch it. Fixed the case that no assembler files are used, and
GMP_PROG_M4 is omitted.
2010-05-24 Torbjorn Granlund <[email protected]>
* mpn/generic/mu_div_qr.c (mpn_preinv_mu_div_qr_itch): New function.
* gmp-impl.h: Declare it.
* tune/common.c (speed_mpn_mupi_div_qr): Use new itch function.
* tune/speed.h (SPEED_ROUTINE_MPN_MUPI_DIV_QR): Pass parameters right
for new itch function.
2010-05-14 Torbjorn Granlund <[email protected]>
* mpn/generic/redc_2.c: Use asm code just for GNU C.
2010-04-10 Torbjorn Granlund <[email protected]>
* mpn/x86/divrem_2.asm: Use "orb" instead of "or" to work around
Solaris assembler bug.
* mpn/x86_64/mpn/x86_64/divrem_2.asm: Likewise.
2010-03-25 Torbjorn Granlund <[email protected]>
* mpn/generic/toom33_mul.c: Fix mpn_add_n_sub_n usage.
* mpn/generic/toom3_sqr.c: Likewise.
* mpn/generic/toom63_mul.c: Likewise.
2010-03-19 Torbjorn Granlund <[email protected]>
* mpn/generic/toom_interpolate_6pts.c: Call mpn_sublsh2_n and
mpn_sublsh_n with correct args.
2010-03-06 Torbjorn Granlund <[email protected]>
* tests/tests.h (TESTS_REPS): Fix typo.
2010-02-26 Torbjorn Granlund <[email protected]>
* mpn/pa64/aors_n.asm: Fix typo in last change.
2010-02-25 Torbjorn Granlund <[email protected]>
* tests/mpz/t-perfpow.c (check_random): Use mp_limb_t type for limb
variables.
* tests/mpn/t-div.c: Cast a switch index to placate HP's cc.
* tests/mpn/t-bdiv.c: Likewise.
* mpn/pa64/aors_n.asm: Fix support of the 2.0n ABI.
2010-02-23 Torbjorn Granlund <[email protected]>
* mpn/generic/mod_1_3.c: Cast a switch index.
* mpn/generic/sqrtrem.c: Use CNST_LIMB.
2010-02-07 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (tune_redc): Set min_size and min_is_always when
measuring REDC_1_TO_REDC_2_THRESHOLD.
(tune_mod_1): Set min_size for PREINV_MOD_1_TO_MOD_1_THRESHOLD.
* mpn/x86_64/aorrlsh_n.asm (cnt): Fix a typo.
* mpn/x86_64/lshsub_n.asm: Likewise.
2010-02-05 Torbjorn Granlund <[email protected]>
* Version 5.0.1 released.
* mpn/generic/powm.c: Use rp target area for power table computation in
order to use less scratch.
* mpn/generic/binvert.c (mpn_binvert_itch): Enable more economical
mpn_mulmod_bnm1_itch call.
* mpn/generic/mu_div_qr.c: Remove always true #if.
* mpn/generic/mu_divappr_q.c: Likewise.
* mpn/generic/mu_bdiv_q.c: Likewise.
* mpn/generic/mu_bdiv_qr.c: Likewise.
2010-02-01 Torbjorn Granlund <[email protected]>
* Makefile.am (LIBGMP_LT_*, LIBGMPXX_LT_*, LIBMP_LT_*):
Bump version info.
* mpn/powerpc64/mode64/gmp-mparam.h: Remove {MUL,SQR}_FFT_TABLE2.
* mpn/x86/p6/gmp-mparam.h: Likewise.
* mpn/x86/p6/mmx/gmp-mparam.h: Likewise.
* mpn/generic/mul_fft.c: Don't depend on FFT_TABLE2, it was broken.
2010-01-29 Torbjorn Granlund <[email protected]>
* mpn/generic/mul_fft.c (mpn_mul_fft_internal): Remove arguments n, m,
k and rec; add argument sqr. Don't call mpn_mul_fft_decompose here,
instead do that in all callers.
(mpn_mul_fft): Trim allocation when squaring, and use TMP_ALLOC*, not
explicit alloc/free.
(mpn_fft_div_2exp_modF): Avoid a scalar division.
(mpn_fft_mul_modF_K): Replace some multiplies by K with shifting by k.
(mpn_fft_mul_2exp_modF): Make function more symmetrical.
2010-01-27 Torbjorn Granlund <[email protected]>
* mpn/generic/mu_div_q.c (mpn_mu_div_q_itch): Rewrite.
* mpn/generic/mu_div_qr.c (mpn_mu_div_qr_itch): Re-enable
better mulmod itch estimate.
* mpn/generic/mu_divappr_q.c (mpn_mu_divappr_q_itch): Likewise.
* mpn/generic/mu_bdiv_qr.c (mpn_mu_bdiv_qr_itch): Likewise.
* mpn/generic/mu_bdiv_q.c (mpn_mu_bdiv_q_itch): Likewise.
2010-01-27 Marco Bodrato <[email protected]>
* mpn/generic/mu_div_qr.c (mpn_mu_div_qr_itch): Disabled guessed
estimate, enabled a conservative one.
* mpn/generic/mu_divappr_q.c (mpn_mu_divappr_q_itch): Likewise.
* mpn/generic/mu_bdiv_qr.c (mpn_mu_bdiv_qr_itch): Likewise.
* mpn/generic/mu_bdiv_q.c (mpn_mu_bdiv_q_itch): Likewise.
2010-01-26 Marco Bodrato <[email protected]>
* mpn/generic/mulmod_bnm1.c (mpn_mulmod_bnm1): Partial rewrite to
reduce memory usage.
* mpn/generic/sqrmod_bnm1.c (mpn_sqrmod_bnm1): Likewise.
(mpn_sqrmod_bnm1_next_size): New function.
* gmp-impl.h (mpn_mulmod_bnm1_itch): Accepts 3 parameters now.
(mpn_sqrmod_bnm1_itch): New inline function.
(mpn_sqrmod_bnm1_next_size): Declaration and mangling.
* mpn/generic/nussbaumer_mul.c: Use the new functions.
* mpn/generic/invertappr.c (mpn_ni_invertappr): Use new syntax for
mpn_mulmod_bnm1_itch.
* mpn/generic/mu_divappr_q.c (mpn_mu_divappr_q_itch): Likewise.
* mpn/generic/mu_bdiv_qr.c (mpn_mu_bdiv_qr_itch): Likewise.
* mpn/generic/mu_bdiv_q.c (mpn_mu_bdiv_q_itch): Likewise.
* mpn/generic/mu_div_qr.c (mpn_mu_div_qr_itch): Likewise.
* mpn/generic/binvert.c (mpn_binvert_itch): Likewise.
* tune/speed.h (SPEED_ROUTINE_MPN_MULMOD_BNM1_CALL): Likewise.
(SPEED_ROUTINE_MPN_MULMOD_BNM1_ROUNDED): Likewise.
* tests/mpn/t-sqrmod_bnm1.c, tests/mpn/t-mulmod_bnm1.c: Test
reduced memory usage.
2010-01-25 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (INSERT_FFTTAB): New macro, like old insertion code but
also inserting a sentinel.
(fftmes): Use INSERT_FFTTAB for inserting new measurements.
Limit k range to best_k - 4 ... best_k + 4.
2010-01-23 Torbjorn Granlund <[email protected]>
* gmp-h.in (__GNU_MP_VERSION_PATCHLEVEL): Bump.
(__GMP_MP_RELEASE): New macro.
* mpf/div.c: Rewrite to use mpn_div_q.
2010-01-21 Torbjorn Granlund <[email protected]>
* Add FFT_TABLE3 tables for a basic set of machines.
* configure.in: Use -mtune=nocona for 64-bit pentium4.
* config.guess: Recognise many more Intel processors.
* tune/common.c: Whitespace cleanup.
(speed_mpn_matrix22_mul): Rewrite.
2010-01-21 Niels Möller <[email protected]>
* mpn/generic/nussbaumer_mul.c (mpn_nussbaumer_mul): Take
advantage of new mpn_mulmod_bnm1 interface, to reduce allocation.
* tests/mpn/t-mulmod_bnm1.c (ref_mulmod_bnm1, main): Adapted to
mpn_mulmod_bnm1 interface change.
* mpn/generic/mulmod_bnm1.c (mpn_mulmod_bnm1): Interface change,
in case an + bn < rn, only write an + bn output limbs. New input
requirement, an + bn > rn/2.
* mpn/generic/sqrmod_bnm1.c (mpn_sqrmod_bnm1): Corresponding
changes.
2010-01-19 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (fftmes): Round up initial n according to initial k.
Limit k to 24 in loop. Remove an obsolete always-true condition.
Remove a redundant trace printout.
2010-01-18 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (fftmes): New function
(fft): Rewrite.
(mpn_mul_fft_lcm): New function, copied from mpn/generic/mul_fft.c.
(fftfill): New function, code taken from mul_fft.c (mpn_mul_fft).
(cached_measure): New function.
* gmp-impl.h (struct fft_table_nk): Moved from mul_fft.c.
(MUL_FFT_TABLE3, SQR_FFT_TABLE3): Provide dummy versions for tuneup
builds.
(FFT_TABLE3_SIZE): Increase value for tuneup builds.
* mpn/generic/mul_fft.c: Handle a new FFT threshold table type ("3").
Misc cleanups to old table type code.
2010-01-16 Torbjorn Granlund <[email protected]>
* mpn/x86_64/darwin.m4: Fix typo in last change.
2010-01-15 Torbjorn Granlund <[email protected]>
* gmp-h.in (__GMP_EXTERN_INLINE): Remove "extern" for newer Sun C.
* gmp-impl.h (GMP_LIMB_BYTES): New define.
* mpn/x86_64/darwin.m4 (LEA): New define.
* mpn/x86/invert_limb.asm (approx_tab): Use DEF_OBJECT.
Rename and globalise it to work around Mac OS bug.
With Philip McLaughlin:
* mpn/x86_64/gcd_1.asm (ctz_table): Don't use local prefix, but
use DEF_OBJECT...END_OBJECT.
Keep stack pointer at ABI mandated alignment over call.
2010-01-12 Torbjorn Granlund <[email protected]>
* tune/speed.c (routine): Remove obsolete mpn_dc_tdiv_qr and
mpn_dc_div_qr_n.
* tune/common.c (speed_mpn_dc_tdiv_qr, speed_mpn_dcpi1_div_qr_n):
Remove now unused functions.
* tune/speed.h (SPEED_ROUTINE_MPN_DC_DIVREM_N,
SPEED_ROUTINE_MPN_DC_DIVREM_SB, SPEED_ROUTINE_MPN_DC_TDIV_QR): Remove
now unused macros.
* mpn/x86_64/fat/fat_entry.asm (mpn_cpuid_available): Remove function.
* ltmain.sh: Upgrade from 1.5.24 to 2.2.6b.
* ylwrap: New file.
* .bootstrap: Remove explicit versions.
* doc/gmp.texi (Block-wise Barrett Division): New node.
* mpn/generic/powm.c: Change some #if to plain 'if' to avoid fat build
problems.
2010-01-11 Torbjorn Granlund <[email protected]>
* tune/speed.h (SPEED_ROUTINE_MPN_PI1_DIV): Accept arguments for size
restrictions.
* tune/common.c (speed_mpn_sbpi1_div_qr, speed_mpn_dcpi1_div_qr,
(speed_mpn_sbpi1_divappr_q, speed_mpn_dcpi1_divappr_q): Pass size
limits for SPEED_ROUTINE_MPN_PI1_DIV.
* tune/speed.c (routine): Allow .r argument for mpn_sbpi1_divappr_q and
mpn_dcpi1_divappr_q.
2010-01-08 Torbjorn Granlund <[email protected]>
* Version 5.0.0 released.
* mpn/generic/div_q.c: Handle mpn_*_divappr_q returning high limb
everywhere.
2010-01-07 Torbjorn Granlund <[email protected]>
* Update MUL_FFT_TABLE2 and SQR_FFT_TABLE2 for many machines.
* mpn/generic/mu_div_q.c: Account for divisor truncation error as well
as mpn_mu_divappr_q's error.
* mpn/generic/mu_div_q.c: Handle mpn_preinv_mu_divappr_q returning a
high limb.
* tests/mpn/t-bdiv.c: Move a random call for debugability.
* tests/mpn/t-div.c: Likewise.
* mpn/generic/mu_divappr_q.c: Rewrite quotient round-up code.
* mpn/generic/mu_div_qr.c: Handle carry-out from a carry propagation
subtract.
* mpn/generic/mu_divappr_q.c: Likewise.
* mpn/generic/mu_divappr_q.c
(mpn_preinv_mu_divappr_q, mpn_mu_divappr_q): Declare dividend constant.
* gmp-impl.h: Likewise.
* perfpow.c (mpn_perfect_power_p): Call mpn_divexact instead of
mpn_bdiv_q (with too little scratch space!).
From Niels Möller:
* tests/mpn/t-div.c (check_one): Get rid of the poorly managed variable
tn.
* mpn/minithres/gmp-mparam.h: Add all lately defined thresholds.
* mpn/generic/div_q.c: Use SB division for small quotients as well as
small divisors. Fix typo in itch call.
2010-01-06 Niels Möller <[email protected]>
* tests/mpn/t-div.c (check_one): Checking based on multiplication,
refmpn_mul, rather than refmpn_tdiv_qr.
2010-01-06 Marco Bodrato <[email protected]>
* mpn/generic/toom8h_mul.c: Avoid overflows of mp_size_t.
2010-01-06 Torbjorn Granlund <[email protected]>
* gmp-h.in (__GNU_MP__): Bump.
(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL):
Bump version info.
* mp-h.in (__GNU_MP__): Bump.
* Makefile.am (LIBGMP_LT_*, LIBGMPXX_LT_*, LIBMP_LT_*):
Bump version info.
* doc/gmp.texi: Rewrite mpn_gcdext text. Remove some out-of-date
text in Algorithms chapter.
* mpn/generic/div_q.c: Properly handle np=scratch. Fix critical typo
in final adjustment code. Misc cleanups.
* mpn/generic/rootrem.c: Use mpn_div_q.
* mpz/tdiv_q.c: Likewise.
* tests/mpn/t-div.c: Test mpn_div_q.
(SIZE_LOG): Up to 17.
* mpn/generic/div_q.c: New file.
* configure.in (gmp_mpn_functions): Add div_q.
* mpn/generic/mu_div_q.c: Actually declare dividend constant.
2010-01-04 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (fft): Separate tuning of modf and full products.
(struct fft_param_t): New field, mul_modf_function.
(tune_fft_sqr): Fix typo.
(tune_fft_mul, tune_fft_sqr): Initialise mul_modf_function field.
* tune/common.c (speed_mpn_fft_mul, speed_mpn_fft_sqr): New functions.
* tune/speed.h (SPEED_ROUTINE_MPN_MULMOD_BNM1_ROUNDED): Clean up.
* mpn/generic/mul.c: Simplify rational expression.
* gmp-impl.h: Cleanup threshold variables; remove obsolete ones and
make all possibly needed definitions for existing ones.
* tune/tuneup.c (tune_mul): Write fractions-compensated values to
threshold variables.
2010-01-03 Marco Bodrato <[email protected]>
* tune/common.c, tune/speed.c, tune/speed.h: Support measuring
mpn_toom43_mul.
* mpn/generic/toom_interpolate_6pts.c: Small reorganisation.
2010-01-03 Torbjorn Granlund <[email protected]>
* gmp-impl.h (MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD): Default to
INV_MULMOD_BNM1_THRESHOLD/2 instead.
* gmp-impl.h (INV_APPR_THRESHOLD, INV_MULMOD_BNM1_THRESHOLD): Default
here...
* mpn/generic/invert.c, mpn/generic/invertappr.c: ...not here.
* tests/mpn/t-div.c: Rewrite operand generation code.
2010-01-02 Torbjorn Granlund <[email protected]>
* gmp-impl.h (MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD): Default to
INV_MULMOD_BNM1_THRESHOLD.
2010-01-02 Marco Bodrato <[email protected]>
* mpn/generic/dcpi1_div_q.c: Handle divappr approximation problem more
efficiently.
* mpn/generic/mu_div_q.c: Likewise.
* mpn/generic/invert.c: Remove duplicated code.
2010-01-01 Torbjorn Granlund <[email protected]>
* gmp-impl.h (MUL_TO_MULMOD_BNM1_FOR_2NXN_THRESHOLD): Default to 0.
* mpn/generic/mu_div_qr.c: Rewrite to use mpn_mulmod_bnm1. Clean up
scratch usage. Improve itch functions.
* mpn/generic/mu_divappr_q.c: Likewise.
* mpn/generic/mu_bdiv_qr.c: Likewise.
* mpn/generic/mu_div_q.c: Likewise.
* mpn/generic/dcpi1_bdiv_qr.c: Add parameter ASSERTs.
* mpn/generic/dcpi1_bdiv_q.c: Likewise.
* tests/mpn/t-bdiv.c: Replace with unit testing code, based on t-div.c.
Increase COUNT to 500.
* tests/mpn/t-div.c: Avoid generating too small test operands.
Move SB suppression limit downwards. Increase COUNT to 200.
2009-12-31 Torbjorn Granlund <[email protected]>
* mpn/generic/tdiv_qr.c: Handle numerator/remainder overlap in MU case.
* tests/tests.h (TESTS_REPS): New macro.
* tests/mpz/dive.c: Use larger operands, decrease default reps, use
TESTS_REPS.
* tests/mpz/convert.c: Likewise.
* tests/mpz/t-sqrtrem.c: Likewise.
* tests/mpz/reuse: Likewise.
* tests/mpz/t-root.c: Likewise.
* tests/mpz/t-tdiv.c: Likewise.
* tests/mpz/t-gcd.c: Likewise.
* tests/mpz/t-powm.c: Likewise.
2009-12-31 Marco Bodrato <[email protected]>
* mpn/generic/toom8_sqr.c (SQR_TOOM8_MAX): Avoid overflow.
* mpn/generic/toom6_sqr.c (SQR_TOOM6_MAX): Likewise.
* mpn/generic/mulmod_bnm1.c: Don't mention MISUSE any more,
simply consider UNLIKELY any unexpected size.
2009-12-31 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (speed_mpn_sbordcpi1_div_qr): New function.
(tune_mu_div): Use it.
2009-12-30 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (tune_mu_bdiv, tune_dc_bdiv, tune_mu_div)
(tune_dc_div): Clear global s.r to make speed functions do 2n/n.
* tune/speed.c (routine): New entries for mpn_mu_div_qr and
mpn_mupi_div_qr. Allow .r parameter for mpn_sbpi1_div_qr,
mpn_dcpi1_div_qr.
* tune/speed.h (SPEED_ROUTINE_MPN_PI1_DIV, SPEED_ROUTINE_MPN_MU_DIV_QR)
(SPEED_ROUTINE_MPN_MUPI_DIV_QR): Handle .r parameter.
* tests/mpz/t-tdiv.c: Increase operands size again.
* mpn/generic/tdiv_qr.c: Attempt to choose between DC and MU cleverer.
* mpn/generic/tdiv_qr.c: Don't overwrite rp with unnecessary temporary
alloc.
2009-12-29 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (tune_mu_div): Tune MUPI_DIV_QR_THRESHOLD.
* tune/speed.h (struct speed_params): Allow 3 source operands.
(SPEED_ROUTINE_MPN_MUPI_DIV_QR): New macro.
* tune/common.c (speed_mpn_mupi_div_qr): New function.
* mpn/generic/tdiv_qr.c: Call mpn_mu_div_qr.
* tests/mpz/t-tdiv.c: Use larger test operands.
* mpn/generic/mu_div_qr.c (mpn_mu_div_qr2): Remove code for dn==1.
* mpz/mul.c: Call mpn_sqr directly. Use PTR,SIZ,ALLOC.
* tune/tuneup.c (tune_mu_div): Set min_size to 6, DC functions require
this.
* tests/mpn/t-div.c: Call mu_div functions with operands that generate
a high quotient limb.
* mpn/generic/mu_div_qr.c: Rewrite to return a high quotient limb,
to let dividend argument be constant, and as a general cleanup.
* mpn/generic/mu_divappr_q.c: Likewise.
* mpn/generic/mu_div_q.c: Likewise.
* gmp-impl.h: Update declarations of changed functions.
* mpn/generic/invertappr.c (mpn_invertappr): Allocate scratch space
when caller passed NULL.
2009-12-28 Torbjorn Granlund <[email protected]>
* mpn/generic/toom_couple_handling.c: Prefix name with mpn_.
* gmp-impl.h: Likewise.
* mpn/generic/toom63_mul.c: Likewise.
* mpn/generic/toom6_sqr.c: Likewise.
* mpn/generic/toom6h_mul.c: Likewise.
* mpn/generic/toom8_sqr.c: Likewise.
* mpn/generic/toom8h_mul.c: Likewise.
* configure.in (gmp_mpn_functions_optional) Move "com" from here...
(gmp_mpn_functions): ...to here.
* mpn/generic/com.c: New file.
* (mpn_com): New name for mpn_com_n. Make public.
* (mpn_neg): Analogous changes.
* tune/tuneup.c (tune_mu_div, tune_mu_bdiv): Set step_factor.
* tune/common.c, tune/speed.c, tune/speed.h: Support measuring
mpn_lshiftc.
* tests/devel/try.c: Test mpn_lshiftc.
* tests/refmpn.c (refmpn_com): New function.
(refmpn_lshiftc): Likewise.
* configure.in (gmp_mpn_functions_optional) Move lshiftc from here...
(gmp_mpn_functions): ...to here.
* mpn/generic/lshiftc.c: New file.
* mpn/x86_64/lshiftc.asm: New file.
* mpn/x86_64/core2/lshiftc.asm: New file.
* mpn/generic/mul_fft.c (mpn_lshiftc): Remove.
* mpn/x86_64/core2/lshift.asm: Tweak for better Core iN performance.
* mpn/x86_64/core2/rshift.asm: Likewise.
2009-12-27 Marco Bodrato <[email protected]>
* mpn/generic/mul.c: Use toom6h and toom8h for almost balanced.
* mpn/generic/mullo_n.c (mpn_dc_mullo_n): New ratio, to be used in
Toom-8 range.
2009-12-27 Torbjorn Granlund <[email protected]>
* (mpn_sqr): New name for mpn_sqr_n. Many files affected.
* tune/tuneup.c (tune_mullo): Up step_factor for MULLO_MUL_N_THRESHOLD.
(tune_invertappr, tune_invert, tune_binvert): Let max_size default.
* tune/tuneup.c (tune_mu_div, tune_mu_bdiv) New functions.
* tune/speed.h (SPEED_ROUTINE_MPN_MU_DIV_Q): New macro.
(SPEED_ROUTINE_MPN_MU_DIV_QR): Likewise.
(SPEED_ROUTINE_MPN_MU_BDIV_Q): Likewise.
(SPEED_ROUTINE_MPN_MU_BDIV_QR): Likewise.
* tune/Makefile.am (TUNE_MPN_SRCS_BASIC): Add bdiv_q.c and bdiv_qr.c.
* tune/common.c (speed_mpn_mu_div_qr): New function.
(speed_mpn_mu_divappr_q): Likewise.
(speed_mpn_mu_div_q): Likewise.
(speed_mpn_mu_bdiv_q): Likewise.
(speed_mpn_mu_bdiv_qr): Likewise.
* mpn/*/gmp-mparam.h: Fix incorrect MOD_1U_TO_MOD_1_1_THRESHOLD 0
values.
* gmp-impl.h (MODEXACT_1_ODD_THRESHOLD): Remove.
(BMOD_1_TO_MOD_1_THRESHOLD): New parameter, with the reverse meaning of
MODEXACT_1_ODD_THRESHOLD.
(MPN_MOD_OR_MODEXACT_1_ODD): Use BMOD_1_TO_MOD_1_THRESHOLD.
* mpn/generic/divis.c, mpz/{cong.c,cong_ui.c,divis_ui.c}: Likewise.
* tune/tuneup.c (tune_modexact_1_odd): Tune BMOD_1_TO_MOD_1_THRESHOLD;
Do not assume native mpn_modexact_1_odd is faster than mpn_mod_1.
(tuned_speed_mpn_mod_1): Remove variable.
(tune_mod_1): Fix thinkos. Suppress printing of "always" etc.
(all): Measure for divrem_1, mod_1, divexact_1, etc first, since Toom
depends on some of them.
* mpn/generic/toom22_mul.c (TOOM22_MUL_REC): New name for
TOOM22_MUL_MN_REC.
2009-12-26 Niels Möller <[email protected]>
* tests/mpn/t-toom32.c (MIN_AN, MIN_BN, MAX_BN): Relax
requirements a bit.
* mpn/generic/toom32_mul.c (mpn_toom32_mul): Relax requirement on
input sizes, to support s+t>=n (used to be s+t>=n+2). Keep high
limbs of the evaluated values in scalar variables.
* mpn/generic/sbpi1_divappr_q.c (mpn_sbpi1_divappr_q): Remove
unused variables.
* mpn/generic/toom32_mul.c (mpn_toom32_mul): Fixed left-over use
of mpn_addsub_n which should be mpn_add_n_sub_n.
2009-12-26 Marco Bodrato <[email protected]>
* tune/Makefile.am (TUNE_MPN_SRCS_BASIC): Add new toom files (spotted by Torbjorn).
* gmp-impl.h (mpn_toom6_sqr_itch): Rename to mpn_toom6_mul_n_itch and redefine.
(mpn_toom8_sqr_itch): Rename to mpn_toom8_mul_n_itch and redefine.
* mpn/generic/mul_n.c: Use renamed _itch macros.
2009-12-25 Niels Möller <[email protected]>
* tests/mpn/t-toom32.c (MIN_AN, MIN_BN, MAX_BN): Tightened requirements.
* gmp-impl.h (mpn_toom32_mul_itch): Updated. Less scratch needed
by toom32 itself, and also the pointwise multiplications are
currently mpn_mul_n with no supplied scratch.
* mpn/generic/toom32_mul.c (mpn_toom32_mul): Reorganized
interpolation to use less scratch space. No longer supports the
most extreme size ratios.
2009-12-25 Torbjorn Granlund <[email protected]>
* tune/tuneup.c (tune_preinv_mod_1): Purge.
(tune_mod_1): Use speed_mpn_mod_1_tune for
PREINV_MOD_1_TO_MOD_1_THRESHOLD
* mpn/generic/dcpi1_divappr_q.c: Handle 2n/n properly. Don't use full
precision in mpn_sbpi1_divappr_q call. Misc cleanup.
* tune/tuneup.c (tune_mod_1): Add a check_size for
PREINV_MOD_1_TO_MOD_1_THRESHOLD.
2009-12-24 Torbjorn Granlund <[email protected]>
* tune/mod_1_div.c (MOD_1N_TO_MOD_1_1_THRESHOLD,
(MOD_1U_TO_MOD_1_1_THRESHOLD): Set.
* tune/mod_1_inv.c (MOD_1N_TO_MOD_1_1_THRESHOLD,
(MOD_1U_TO_MOD_1_1_THRESHOLD): Set.
* gmp-impl.h (USE_PREINV_MOD_1): Remove.
(MPN_MOD_OR_PREINV_MOD_1): Define to choose functions dynamically in
terms of PREINV_MOD_1_TO_MOD_1_THRESHOLD (used to choose statically
using USE_PREINV_MOD_1).
* mpn/generic/perfsqr.c (PERFSQR_MOD_PP): Corresponding updates.
* tune/tuneup.c (tune_mod_1): Rewrite.
* gmp-impl.h (MOD_1N_TO_MOD_1_1_THRESHOLD): New.
(MOD_1U_TO_MOD_1_1_THRESHOLD): New name for MOD_1_1_THRESHOLD.
(MOD_1_1_TO_MOD_1_2_THRESHOLD): Mew name for MOD_1_2_THRESHOLD.
(MOD_1_2_TO_MOD_1_4_THRESHOLD): New name for MOD_1_4_THRESHOLD.
* mpn/generic/mod_1.c: Corresponding updates.
2009-12-24 Marco Bodrato <[email protected]>
* mpn/generic/mul_n.c: Use also toom6h and toom8h.
* mpn/generic/sqr_n.c: Use also toom6 and toom8.
* gmp-impl.h: Initial support for tuning of Toom-6half and Toom-8half.
* tune/tuneup.c: Tune Toom-6half and Toom-8half thresholds.
2009-12-24 Torbjorn Granlund <[email protected]>
* mpn/generic/mod_1_4.c: Get ASSERT right.
* mpn/generic/mod_1_3.c: Likewise.
* mpn/generic/mod_1_2.c: Likewise.
* mpn/generic/powm_sec.c: Use SQR_TOOM2_THRESHOLD as limit for a native
mpn_sqr_basecase, not TUNE_SQR_TOOM2_MAX.
2009-12-23 Marco Bodrato <[email protected]>
* tune/common.c, tune/speed.c, tune/speed.h: Support for measuring
mpn_toom8h_mul and mpn_toom8_sqr speed.
* mpn/generic/toom_eval_pm2exp.c: Fix ASSERTs.
* mpn/generic/toom8h_mul.c: New file.
* mpn/generic/toom8_sqr.c: New file.
* mpn/generic/toom_interpolate_16pts.c: New file.
* gmp-impl.h: Provide corresponding declarations.
* configure.in (gmp_mpn_functions): List toom_interpolate_16pts,
toom8h_mul, and toom8h_sqr.
* tests/mpn/t-toom8h.c: New test program.
* mpn/generic/toom6_sqr.c: New file, was part of toom6h_mul.
* mpn/generic/toom6h_mul.c: Removed _sqr.
* mpn/generic/mulmod_bnm1.c: Nailify CRT.
* mpn/generic/sqrmod_bnm1.c: Likewise.
* mpn/generic/mullo_n.c: Split dc_mullo_n function;
ALLOC memory at once.
* mpn/Makefile.am (nodist_EXTRA_libmpn_la_SOURCES): Update.
* mpn/generic/toom6h_mul.c: Add prefix to toom_interpolate_12pts.
* mpn/generic/toom_interpolate_12pts.c: Likewise.
* mpn/generic/invertappr.c (mpn_bc_invertappr): Use mpn_divrem_2.
* mpn/generic/invert.c: Faster basecase, use mpn_sbpi1_div_q.
* mpn/generic/toom_eval_pm2exp.c: Assert support for degree 3.
* mpn/generic/toom6h_mul.c: Avoid obsolete _itch function.
2009-12-23 Torbjorn Granlund <[email protected]>
* tune/common.c, tune/speed.c, tune/speed.h: Support for measuring
mpn_mod_1_1p, mpn_mod_1s_2p, mpn_mod_1s_3p, mpn_mod_1s_4p.
* tests/mpz/t-powm.c: Test mpz_powm_sec.
* mpz/powm_sec.c: New file.
* gmp-h.in: Declare it.
* Makefile.am, mpz/Makefile.am: Compile it.
* doc/gmp.texi: Document it.
* mpn/generic/powm_sec.c (mpn_powm_sec_itch): New function.
(mpn_powm_sec): Use passed scratch, no local allocation.
Allow exp argument = 1.
(win_size): Start loop from 1.
* mpn/generic/powm.c (win_size): Start loop from 1.
2009-12-22 Torbjorn Granlund <[email protected]>
* tests/mpn/t-div.c: New file.
* tests/mpn/Makefile.am: Compile it.
* mpn/generic/mu_divappr_q.c: Handle quotient overflow.
* mpn/generic/mu_div_q.c (mpn_mu_div_q_itch): New function.
2009-12-22 Niels Möller <<[email protected]>>
* mpn/generic/sbpi1_div_q.c: Use udiv_qr_3by2. Intended to change
nothing after preprocessing.
* mpn/generic/sbpi1_divappr_q.c: For the last call to udiv_qr_3by2,
avoid using memory locations as output parameters, and revert to
explicitly copying n1 and n0 to memory.
* gmp-impl.h (udiv_qr_3by2): Tweaked to expand to precisely the
same code as was used before the introduction of this macro.
Eliminated some local variables, instead do multiple updates to
the output parameters.
2009-12-22 Torbjorn Granlund <[email protected]>
* tests/mpn/t-toom6h.c (MIN_AN): Set to MUL_TOOM6H_THRESHOLD to avoid
invalid recursive sizes.
* tests/mpn/t-bdiv.c: Get itch function calls right.
* mpn/generic/mu_bdiv_q.c (mpn_mu_bdiv_q_itch): Rewrite.
* mpn/generic/mu_bdiv_qr.c (mpn_mu_bdiv_qr_itch): Simplify.
* mpn/generic/bdiv_qr.c (mpn_bdiv_qr): Simplify, don't allocate.
(mpn_bdiv_qr_itch): Conditionalise on MU_BDIV_QR_THRESHOLD.
2009-12-18 Niels Möller <[email protected]>
* tests/mpn/t-bdiv.c: Add red-zones.
2009-12-21 Torbjorn Granlund <[email protected]>
* mpn/generic/sbpi1_div_q.c: Fix fixup code to work for qn = 0.
* mpn/generic/dcpi1_divappr_q.c: Handle qn = 1 and qn = 2 for initial
quotient block (code block copied from dcpi1_div_qr.c).
* mpn/generic/dcpi1_div_qr.c: Rewrite singular case giving q limb of
GMP_NUMB_MAX. Remove an impossible qn = 0 case.
* mpn/generic/dcpi1_bdiv_q.c: Remove a spurious mpn_sub_1.
* mpn/generic/mul.c: Put back call to mpn_mul_n.
* tune/tuneup.c (all): Call tune_mulmod_bnm1 before tuning fft due to
dependency on mulmod_bnm1 from both mul_fft_mul and from mullo_n.
* mpn/generic/dcpi1_divappr_q.c: ASSERT that dn >= 6 and nn > dn.
* mpn/generic/dcpi1_div_q.c: ASSERT that dn >= 6 and nn-dn >= 3.
* mpn/generic/dcpi1_div_qr.c: ASSERT that dn >= 6 and nn-dn >= 3.
* mpn/generic/bdiv_q_1.c (mpn_pi1_bdiv_q_1): Renamed from
mpn_bdiv_q_1_pi1.
* All references changed.
* configure.in: Add --enable-old-fft-full.
* tune/speed.c (routine): Conditionalise mpn_mul_fft_full references on
WANT_OLD_FFT_FULL.
* tune/common.c (speed_mpn_mul_fft_full)
(speed_mpn_mul_fft_full_sqr): Likewise.
* mpn/generic/mul_fft.c (mpn_mul_fft_full): Include iff
WANT_OLD_FFT_FULL.
2009-12-21 Marco Bodrato <[email protected]>
* gmp-impl.h (mpn_toom6h_mul_itch): New inline function.
(MUL_TOOM6H_THRESHOLD): Default value.
(SQR_TOOM6_THRESHOLD): Default value.
* mpn/generic/toom6h_mul.c: Remove definitions moved to gmp-impl.h.
* tune/common.c, tune/speed.c, tune/speed.h: Support for measuring
mpn_toom6h_mul and mpn_toom6_sqr speed.
* mpn/generic/toom63_mul.c: Remove unused TMP_*.
* mpn/generic/toom_eval_pm2rexp.c: New file.
* gmp-impl.h: Provide corresponding declaration.
* configure.in (gmp_mpn_functions): List toom_eval_pm2rexp.
* mpn/generic/toom6h_mul.c: Use shared toom_eval_pm2rexp.
* mpn/generic/toom_couple_handling.c: New file, helper function
for high degree Toom.
* gmp-impl.h: Provide corresponding declaration.
* configure.in (gmp_mpn_functions): List toom_couple_handling.
* mpn/generic/toom6h_mul.c: Use shared toom_couple_handling.
* mpn/generic/toom63_mul.c: Likewise.
* mpn/generic/toom6h_mul.c: New file.
* mpn/generic/toom_interpolate_12pts.c: New file.
* gmp-impl.h: Provide corresponding declarations.
* configure.in (gmp_mpn_functions): List toom_interpolate_12pts,
toom6h_mul.
* tests/mpn/t-toom6h.c: New test program.
* tests/mpn/t-mulmod_bnm1.c (ref_mulmod_bnm1): Use ref_mul.
* tests/mpn/t-sqrmod_bnm1.c (ref_sqrmod_bnm1): Likewise.
2009-12-20 Marco Bodrato <[email protected]>
* mpn/generic/mulmod_bnm1.c (mpn_mulmod_bnm1): New CRT.
* mpn/generic/sqrmod_bnm1.c (mpn_sqrmod_bnm1): Likewise.
2009-12-20 Torbjorn Granlund <[email protected]>
* Change all bit counts for bignums to use mp_bitcnt_t.
* mpn/generic/bdivmod.c: File removed. All references purged.
* mpn/generic/mul_fft.c (mpn_mul_fft_full): Disable.
* gmp-impl.h: Define mpn_fft_mul as an alias for mpn_nussbaumer_mul.
* mpn/generic/mul.c: Refer mpn_fft_mul.
* mpn/generic/mul_n.c: Likewise.
* mpn/generic/sqr_n.c: Likewise.
* mpn/generic/mullo_n.c: Likewise.
* mpn/generic/mul.c: Loop also over mpn_nussbaumer_mul, as suggested by
Marco. Use TMP_SALLOC_LIMBS in more places. Clean up ws allocation.
2009-12-19 Marco Bodrato <[email protected]>
* mpn/generic/toom_interpolate_8pts.c: Nailify.
2009-12-19 Torbjorn Granlund <[email protected]>
* mpn/generic/mul.c: Major rewrite. Use toom43, toom53, toom63.
Call mpn_nussbaumer_mul for largest operands.
* tune/speed.h (SPEED_ROUTINE_MPN_TOOM32_FOR_TOOM43_MUL): New macro.
(SPEED_ROUTINE_MPN_TOOM43_FOR_TOOM32_MUL): New macro.
(SPEED_ROUTINE_MPN_TOOM32_FOR_TOOM53_MUL): New macro.
(SPEED_ROUTINE_MPN_TOOM53_FOR_TOOM32_MUL): New macro.
(SPEED_ROUTINE_MPN_TOOM42_FOR_TOOM53_MUL): New macro.
(SPEED_ROUTINE_MPN_TOOM53_FOR_TOOM42_MUL): New macro.
* tune/common.c (speed_mpn_toom63_mul): New function.
(speed_mpn_toom32_for_toom43_mul): New function.
(speed_mpn_toom43_for_toom32_mul): New function.
(speed_mpn_toom32_for_toom53_mul): New function.
(speed_mpn_toom53_for_toom32_mul): New function.
(speed_mpn_toom42_for_toom53_mul): New function.
(speed_mpn_toom53_for_toom42_mul): New function.
* tune/tuneup.c (tune_mul_n): New name for old tune_mul.
(tune_sqr_n): New name for old tune_sqr.
(tune_mul): New function, for unbalanced multiplication.
* gmp-impl.h: Provide declarations for corresponding threshold vars.
* gmp-impl.h (mpn_rsh1add_nc, mpn_rsh1sub_nc): Declare.
* mpn/asm-defs.m4: Likewise.
* configure.in: Add corresponding HAVE_NATIVEs.
* mpn/x86_64/rsh1aors_n.asm: Add _nc entry point.
2009-12-18 Niels Möller <[email protected]>
* mpz/divexact.c: Rewrite to use mpn_divexact.
* mpn/generic/bdiv_q_1.c (mpn_bdiv_q_1): Deleted some unused
variables.
* mpn/generic/toom52_mul.c (mpn_toom52_mul)
[HAVE_NATIVE_mpn_add_n_sub_n]: Moved declaration of cy to avoid a
compiler warning.
* gmp-impl.h (gmp_pi1_t): Eliminated inv21 member.
(invert_pi1): ...and don't store it here.
* mpn/generic/toom63_mul.c (mpn_toom63_mul): Simplified
calculation of block size n.
* gmp-impl.h (mpn_toom63_mul_itch): Likewise.
* mpn/generic/toom_eval_pm2exp.c (mpn_toom_eval_pm2exp): Fixed
output asserts.
2009-12-18 Torbjorn Granlund <[email protected]>
* tests/mpn/t-toom63.c: New test program.
2009-12-18 Marco Bodrato <[email protected]>
* mpn/generic/invert.c: Nailify.
* mpn/generic/invertappr.c: Nailify.
* mpn/generic/mulmod_bnm1.c: Nailify.
* mpn/generic/sqrmod_bnm1.c: Nailify.
* tests/mpn/t-invert.c: New test program.
* mpn/generic/toom63_mul.c: New file.
* mpn/generic/toom_interpolate_8pts.c: New file.
* gmp-impl.h: Provide corresponding declarations.
* configure.in (gmp_mpn_functions): List toom_interpolate_8pts and
toom63_mul.
2009-12-17 Torbjorn Granlund <[email protected]>
* mpn/generic/mul.c: Move allocation of ws to where it is used.
Identify toom22, 32, 42, in that order (in two places). Use midline
between toom22, 32, 42.
* mpn/generic/toom22_mul.c (TOOM22_MUL_MN_REC): Call also
mpn_toom32_mul.
* doc/gmp.texi: Update References section. Update Contributors