GMP 6.1.2 t-count_zeros failure on ARM with assertions
Marco Bodrato
bodrato at mail.dm.unipi.it
Wed Dec 27 17:28:52 UTC 2017
Ciao,
Il Mer, 27 Dicembre 2017 6:10 pm, Marc Glisse ha scritto:
> On Wed, 27 Dec 2017, Niels Möller wrote:
>> And below, a patch to delete all mention of COUNT_LEADING_ZEROS_0,
>> except for tune/many.pl, which I'm not familiar with. What do you think?
> It seems a bit sad to drop this information, in case we want to use it in
> the future, or if we want to share the file longlong.h with other
> projects.
I fully agree.
> As far as I understand, the issue was an inconsistency between using gcc's
> __builtin_clz (instead of some intrinsic or inline asm for the CLZ
> instruction) and still defining the macro COUNT_LEADING_ZEROS_0 to 32. I
> am not sure that warrants removing all COUNT_LEADING_ZEROS_0 everywhere.
I understood the issue as you describe, and again I fully agree.
Ĝis,
m
--
http://bodrato.it/
More information about the gmp-bugs
mailing list