Skip to content

Check tuning in _mpz_tdiv_qr_preinvn #1888

Open
@fredrik-johansson

Description

@fredrik-johansson

fmpz/fdiv.c has this TODO:

    /*
       TODO: speedup mpir's mullow and mulhigh and use in
       flint_mpn_divrem_preinvn so we can remove this first
       case here
    */
    if (usize2 == 2 || (usize2 > 15 && usize2 < 120))
        mpn_tdiv_qr(qp, rp, 0, ap, usize1, dp, usize2);

We should check if the flint_mpn_divrem_preinvn path is still slower than mpn_tdiv_qr, and if necessary speed it up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions