summaryrefslogtreecommitdiff
path: root/tune/hgcd2-1.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename HGCD2_METHOD --> HGCD2_DIV1_METHOD.Niels M?ller2019-09-141-2/+2
|
* Tuneup support for HGCD2_METHOD, controlling div1 usage in mpn_hgcd2.Niels M?ller2019-09-041-0/+39
* mpn/generic/hgcd2.c (HGCD2_METHOD): New parameter. (DIV1): New macro, using either the div1 function or plain division, depending on the value of HGCD2_METHOD. (mpn_hgcd2): Use DIV1. * tune/speed.c, tune/speed.h, tune/common.c, tune/Makefile.am: Add measuring of mpn_hgcd2 methods. * tune/hgcd2-1.c, tune/hgcd2-2.c: New files. * tune/tuneup.c: Tune HGCD2_METHOD.