Fixed a bug in speed/common for dc_bdiv_qr_n.
This commit is contained in:
parent
6f542aa81d
commit
813219a066
@ -901,7 +901,7 @@ speed_mpn_tdiv_q2 (struct speed_params *s)
|
||||
double
|
||||
speed_mpn_dc_bdiv_qr_n (struct speed_params *s)
|
||||
{
|
||||
SPEED_ROUTINE_MPN_DC_BDIV_N_TSIZE (mpn_dc_bdiv_qr_n, DC_BDIV_Q_N_ITCH(s->size));
|
||||
SPEED_ROUTINE_MPN_DC_BDIV_N_TSIZE (mpn_dc_bdiv_qr_n, DC_BDIV_QR_N_ITCH(2*s->size));
|
||||
}
|
||||
double
|
||||
speed_mpn_dc_bdiv_q (struct speed_params *s)
|
||||
|
@ -1745,14 +1745,14 @@ int speed_routine_count_zeros_setup _PROTO ((struct speed_params *s,
|
||||
mp_limb_t inv; \
|
||||
double t; \
|
||||
TMP_DECL; \
|
||||
\
|
||||
\
|
||||
SPEED_RESTRICT_COND (s->size >= 2); \
|
||||
\
|
||||
TMP_MARK; \
|
||||
SPEED_TMP_ALLOC_LIMBS (a, 4*s->size, s->align_xp); \
|
||||
SPEED_TMP_ALLOC_LIMBS (d, 2*s->size, s->align_yp); \
|
||||
SPEED_TMP_ALLOC_LIMBS (q, 2*s->size, s->align_wp); \
|
||||
SPEED_TMP_ALLOC_LIMBS (tmp, 2*tsize, s->align_wp2); \
|
||||
SPEED_TMP_ALLOC_LIMBS (tmp, tsize, s->align_wp2); \
|
||||
\
|
||||
MPN_COPY (a, s->xp, s->size); \
|
||||
MPN_COPY (a+s->size, s->xp, s->size); \
|
||||
@ -1782,7 +1782,6 @@ int speed_routine_count_zeros_setup _PROTO ((struct speed_params *s,
|
||||
function(q, a, d, 2*s->size, inv, tmp); \
|
||||
} while (--i != 0); \
|
||||
t = speed_endtime (); \
|
||||
\
|
||||
TMP_FREE; \
|
||||
return t; \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user