Better tabselect
Torbjorn Granlund
tg at gmplib.org
Fri Apr 12 22:47:25 CEST 2013
David Miller <davem at davemloft.net> writes:
From: Torbjorn Granlund <tg at gmplib.org>
Date: Fri, 12 Apr 2013 10:04:35 +0200
> I am quite sure your code runs in the neighbourhood of 9/4 = 2.25 cycles
> per limb on T4, BTW. On US1-2 it might run at 7/4 c/l and on US3-4 it
> again probably runs at 9/4.
Hmmm, how to interpret "speed -C" results for mpn_tabselect?
Just curious, as that is what I was using.
It is broken, and actually passes invalid arguments, and the dimension
is not representable.
I will check in a fix which allows any geometry N x M by using
speed -sN mpn_tabselect.M
where N is the vector length and M is the number of vectors.
--
Torbjörn
More information about the gmp-devel
mailing list