adjust sparc32/v9=t2,ABI=32 params for mulhigh
This commit is contained in:
parent
a57dd2d833
commit
6edccbf39a
@ -103,7 +103,7 @@ mpn_mulshort_n_basecase (mp_ptr rp, mp_srcptr xp, mp_srcptr yp, mp_size_t n)
|
|||||||
mp_limb_t t1, t2, t3;
|
mp_limb_t t1, t2, t3;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ASSERT (n >= 3);
|
ASSERT (n >= 3); // this restriction doesn't make a lot of sense in general
|
||||||
ASSERT_MPN (xp, n);
|
ASSERT_MPN (xp, n);
|
||||||
ASSERT_MPN (yp, n);
|
ASSERT_MPN (yp, n);
|
||||||
ASSERT (!MPN_OVERLAP_P (rp, 2 * n, xp, n));
|
ASSERT (!MPN_OVERLAP_P (rp, 2 * n, xp, n));
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#define MULLOW_DC_THRESHOLD 35
|
#define MULLOW_DC_THRESHOLD 35
|
||||||
#define MULLOW_MUL_THRESHOLD 9970
|
#define MULLOW_MUL_THRESHOLD 9970
|
||||||
|
|
||||||
#define MULHIGH_BASECASE_THRESHOLD 0 /* always */
|
#define MULHIGH_BASECASE_THRESHOLD 3 /* always */
|
||||||
#define MULHIGH_DC_THRESHOLD 34
|
#define MULHIGH_DC_THRESHOLD 34
|
||||||
#define MULHIGH_MUL_THRESHOLD 9970
|
#define MULHIGH_MUL_THRESHOLD 9970
|
||||||
|
|
||||||
|
@ -918,14 +918,14 @@ tune_mulhigh (gmp_randstate_t rands)
|
|||||||
|
|
||||||
param.name = "MULHIGH_BASECASE_THRESHOLD";
|
param.name = "MULHIGH_BASECASE_THRESHOLD";
|
||||||
param.min_size = 3;
|
param.min_size = 3;
|
||||||
param.min_is_always = 1;
|
param.min_is_always = 3;
|
||||||
//param.max_size = MULHIGH_BASECASE_THRESHOLD_LIMIT-1;
|
//param.max_size = MULHIGH_BASECASE_THRESHOLD_LIMIT-1;
|
||||||
one (&mulhigh_basecase_threshold, rands, ¶m);
|
one (&mulhigh_basecase_threshold, rands, ¶m);
|
||||||
|
|
||||||
param.min_is_always = 0; /* ??? */
|
param.min_is_always = 0; /* ??? */
|
||||||
|
|
||||||
param.name = "MULHIGH_DC_THRESHOLD";
|
param.name = "MULHIGH_DC_THRESHOLD";
|
||||||
param.min_size = mulhigh_basecase_threshold;
|
param.min_size = MAX(mulhigh_basecase_threshold,4);
|
||||||
param.max_size = 1000;
|
param.max_size = 1000;
|
||||||
one (&mulhigh_dc_threshold, rands, ¶m);
|
one (&mulhigh_dc_threshold, rands, ¶m);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user