Skip to content

Commit

Permalink
Merge pull request #1811 from albinahlback/toom22_arm
Browse files Browse the repository at this point in the history
Set proper TOOM22_LIMIT for Armv8
  • Loading branch information
albinahlback authored Mar 5, 2024
2 parents 2064dda + c042b9a commit 049f6e2
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 049f6e2

Please sign in to comment.