diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2019-09-23 22:23:20 +0200 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2019-09-23 22:23:20 +0200 |
commit | 546ba0036914ffe1da1732f41d56e9830a4a2b68 (patch) | |
tree | 7b27419a302129a014e35ea1998cb2f21d753ba9 /tune/speed.h | |
parent | 5149e9a3ff21e81edcf59825c3e31d2dbbef6a0a (diff) | |
download | gmp-546ba0036914ffe1da1732f41d56e9830a4a2b68.tar.gz |
Measure variant 4 and 5 of HGCD2_DIV1_METHOD.
Diffstat (limited to 'tune/speed.h')
-rw-r--r-- | tune/speed.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tune/speed.h b/tune/speed.h index 5df155841..18f54600a 100644 --- a/tune/speed.h +++ b/tune/speed.h @@ -218,6 +218,8 @@ double speed_mpn_hgcd2 (struct speed_params *); double speed_mpn_hgcd2_1 (struct speed_params *); double speed_mpn_hgcd2_2 (struct speed_params *); double speed_mpn_hgcd2_3 (struct speed_params *); +double speed_mpn_hgcd2_4 (struct speed_params *); +double speed_mpn_hgcd2_5 (struct speed_params *); double speed_mpn_hgcd (struct speed_params *); double speed_mpn_hgcd_lehmer (struct speed_params *); double speed_mpn_hgcd_appr (struct speed_params *); @@ -484,12 +486,11 @@ int mpn_jacobi_base_2 (mp_limb_t, mp_limb_t, int); int mpn_jacobi_base_3 (mp_limb_t, mp_limb_t, int); int mpn_jacobi_base_4 (mp_limb_t, mp_limb_t, int); -int mpn_hgcd2_1 (mp_limb_t ah, mp_limb_t al, mp_limb_t bh, mp_limb_t bl, - struct hgcd_matrix1 *M); -int mpn_hgcd2_2 (mp_limb_t ah, mp_limb_t al, mp_limb_t bh, mp_limb_t bl, - struct hgcd_matrix1 *M); -int mpn_hgcd2_3 (mp_limb_t ah, mp_limb_t al, mp_limb_t bh, mp_limb_t bl, - struct hgcd_matrix1 *M); +int mpn_hgcd2_1 (mp_limb_t, mp_limb_t, mp_limb_t, mp_limb_t, struct hgcd_matrix1*); +int mpn_hgcd2_2 (mp_limb_t, mp_limb_t, mp_limb_t, mp_limb_t, struct hgcd_matrix1*); +int mpn_hgcd2_3 (mp_limb_t, mp_limb_t, mp_limb_t, mp_limb_t, struct hgcd_matrix1*); +int mpn_hgcd2_4 (mp_limb_t, mp_limb_t, mp_limb_t, mp_limb_t, struct hgcd_matrix1*); +int mpn_hgcd2_5 (mp_limb_t, mp_limb_t, mp_limb_t, mp_limb_t, struct hgcd_matrix1*); mp_limb_t mpn_mod_1_div (mp_srcptr, mp_size_t, mp_limb_t); mp_limb_t mpn_mod_1_inv (mp_srcptr, mp_size_t, mp_limb_t); |