Minor correction to function renaming changes

This commit is contained in:
gladman 2010-07-09 12:48:04 +00:00
parent 3d80645be9
commit e3329a3beb
3 changed files with 6 additions and 6 deletions

View File

@ -663,7 +663,7 @@ validate_sqrtrem (void)
#define TYPE_REDC_BASECASE 111
#define TYPE_DIVREM_EUCLIDEAN_QR_1 112
#define TYPE_DIVREM_EUCLIDEAN_R_1 113
#define TYPE_DIVEXACT_BYBM1OF 114
#define TYPE_DIVEXACT_FOBM1 114
#define TYPE_LSHIFT2 115
#define TYPE_RSHIFT2 116
@ -1138,7 +1138,7 @@ param_init (void)
p->carry=CARRY_LIMB;
REFERENCE (refmpn_rsh_divrem_hensel_qr_1);
p = &param[TYPE_DIVEXACT_BYBM1OF];
p = &param[TYPE_DIVEXACT_FOBM1];
p->retval = 1;
p->src[0] = 1;
p->divisor = DIVISOR_DIVBM1;
@ -1856,7 +1856,7 @@ const struct choice_t choice_array[] = {
{ TRY(mpn_divexact_1), TYPE_DIVEXACT_1 },
{ TRY_FUNFUN(mpn_divexact_by3), TYPE_DIVEXACT_BY3 },
{ TRY(mpn_divexact_byff), TYPE_DIVEXACT_BYFF },
{ TRY(mpn_divexact_fobm1), TYPE_DIVEXACT_BYBM1OF },
{ TRY(mpn_divexact_fobm1), TYPE_DIVEXACT_FOBM1 },
{ TRY_FUNFUN(mpn_lshift1), TYPE_LSHIFT1 },
{ TRY_FUNFUN(mpn_rshift1), TYPE_RSHIFT1 },
@ -2583,7 +2583,7 @@ call (struct each_t *e, tryfun_t function)
e->retval = CALLING_CONVENTIONS (function)
(e->d[0].p, e->s[0].p, size, divisor,shift);
break;
case TYPE_DIVEXACT_BYBM1OF:
case TYPE_DIVEXACT_FOBM1:
e->retval = CALLING_CONVENTIONS (function) (e->d[0].p, e->s[0].p, size, altdiv,GMP_NUMB_MAX/altdiv);
break;
case TYPE_DIVMOD_1C:

View File

@ -815,7 +815,7 @@ speed_mpn_divexact_byff (struct speed_params *s)
double
speed_mpn_divexact_fobm1 (struct speed_params *s)
{
SPEED_ROUTINE_mpn_divexact_fobm1 (mpn_divexact_fobm1);
SPEED_ROUTINE_MPN_DIVEXACT_BYBM1OF (mpn_divexact_fobm1);
}
#if HAVE_NATIVE_mpn_modexact_1_odd

View File

@ -875,7 +875,7 @@ int speed_routine_count_zeros_setup _PROTO ((struct speed_params *s,
#define SPEED_ROUTINE_MPN_DIVEXACT_1(function) \
SPEED_ROUTINE_MPN_UNARY_1_CALL ((*function) (wp, s->xp, s->size, s->r))
#define SPEED_ROUTINE_mpn_divexact_fobm1(function) \
#define SPEED_ROUTINE_MPN_DIVEXACT_BYBM1OF(function) \
{ \
mp_ptr wp; \
unsigned i; \