Re: What's a reasonable size ratio for toom32?

2023-09-27 Thread Niels Möller
Niels Möller writes: > Niels Möller writes: > >> And now I found that speed's handling of toom22, toom32 and friends >> always use fixed ratios, so I have to extend that to be able to get any >> interesting benchmarks when varying the ratio. > > Below patch seems to work. Most subtle part was to

Re: What's a reasonable size ratio for toom32?

2023-09-27 Thread Niels Möller
Niels Möller writes: > And now I found that speed's handling of toom22, toom32 and friends > always use fixed ratios, so I have to extend that to be able to get any > interesting benchmarks when varying the ratio. Below patch seems to work. Most subtle part was to specify reasonable ratio limits

Re: What's a reasonable size ratio for toom32?

2023-09-27 Thread Niels Möller
Niels Möller writes: > Paul Zimmermann writes: > >>Dear Niels, >> >> ./speed -p 100 -c -s 10-200 -f1.1 mpn_mul.0.6 would be more readable, >> although the change in speed.h would be larger. > > See below patch, to support mpn_mul/0.6. Example output: > > $ ./speed -c -r -s 10-50 -t