Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171130230843.GU15263@port70.net>
Date: Fri, 1 Dec 2017 00:08:43 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: expectations for a_ctz_64(0)

* Andre McCurdy <armccurdy@...il.com> [2017-11-30 14:41:32 -0800]:
> Currently the generic and aarch64 versions of a_ctz_64() give
> different results for 0:
> 
>   a_ctz_64_generic(0) : 0
>   a_ctz_64_aarch64(0) : 64
> 
> That doesn't matter for the ffs functions, but for the other users of
> a_ctz_l and a_ctz_64 (ie malloc and qsort) it's less clear.
> 
> Does musl rely on a specific behaviour?

no, that would be a bug.

same for clz

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.