"Marco Bodrato" writes:
> Ciao,
>
> Il Mar, 19 Novembre 2019 7:50 pm, Torbjörn Granlund ha scritto:
>> If there is special code for several asl cases, doesn't that defeat the
>> purpose of asl, at least to some extent?
I think it defeats small-limb testing of mini-gmp. If it makes mini-gmp
with
Ciao,
Il Mar, 19 Novembre 2019 7:50 pm, Torbjörn Granlund ha scritto:
> If there is special code for several asl cases, doesn't that defeat the
> purpose of asl, at least to some extent?
Of course, to some extent you are right.
There are two functions that contain really special code for smaller
"Marco Bodrato" writes:
For asl8, one of the existing shortcuts is used, not the generic code.
In particular, mpn_invert_3by2 (mp_limb_t u1, mp_limb_t u0) reduces to:
return (((unsigned) 1 << 24) - 1) / (((unsigned) u1 << 8) + u0);
If there is special code for several asl cases, doesn't
Ciao,
Il Mar, 19 Novembre 2019 5:02 pm, Torbjörn Granlund ha scritto:
> "Marco Bodrato" writes:
> The generic code (for mpn_invert_3by2) works only when "unsigned" is
> half
> the size of "mp_limb_t" or has the same size... this means that large
> types for mp_limb_t are not supported (e.g
"Marco Bodrato" writes:
Now the ABI=32 -asl16 issue should be healed.
I will whack it soon.
The generic code (for mpn_invert_3by2) works only when "unsigned" is half
the size of "mp_limb_t" or has the same size... this means that large
types for mp_limb_t are not supported (e.g. no uint
Ciao,
Il Mar, 19 Novembre 2019 9:50 am, Torbjörn Granlund ha scritto:
> "Marco Bodrato" writes:
> Il Lun, 18 Novembre 2019 1:06 pm, Torbjörn Granlund ha scritto:
> > t...@gmplib.org (Torbjörn Granlund) writes:
>
> > The build on maticrunch under the 32-bit ABI using "unsigned short"
> > f
"Marco Bodrato" writes:
Il Lun, 18 Novembre 2019 1:06 pm, Torbjörn Granlund ha scritto:
> t...@gmplib.org (Torbjörn Granlund) writes:
> The build on maticrunch under the 32-bit ABI using "unsigned short" for
> mp_limb_t failed.
Ok, I'll investigate!
It might be easier to either do a