Niels, Do these improvements warrant any changes to the mpn_jacobi_base function (with JACOBI_BASE_METHOD = 4) in mpn/generic/jacbase.c? I use this function in a project of mine, and I’m curious if your changes could improve its performance as well. Kind regards, Jacob