Skip to content

Commit

Permalink
Set proper TOOM22_LIMIT for Armv8
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Mar 5, 2024
1 parent 2064dda commit c042b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpn_extras/mul.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void __gmpn_mul_basecase(mp_ptr, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t);
# define WANT_GMP_MUL_BASECASE 0
# define BASECASE_LIMIT 0
# define WANT_TOOM22 1
# define TOOM22_LIMIT 230
# define TOOM22_LIMIT 483 /* Profiled on Apple M1 against native GMP 6.3.0 */
#else
/* As fallback where we don't have our own mul_basecase: */
/* GMP's MUL_TOOM22_THRESHOLD is >= 16 on most machines */
Expand Down

0 comments on commit c042b9a

Please sign in to comment.