mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Andre McCurdy <armccurdy@gmail.com>
To: musl@lists.openwall.com
Subject: Re: expectations for a_ctz_64(0)
Date: Thu, 30 Nov 2017 15:45:58 -0800	[thread overview]
Message-ID: <CAJ86T=W+3xiAE3UmBvkO5-t0LT3+dSKS1otvc9Y8EWZ+JLm0Kg@mail.gmail.com> (raw)
In-Reply-To: <20171130230843.GU15263@port70.net>

On Thu, Nov 30, 2017 at 3:08 PM, Szabolcs Nagy <nsz@port70.net> wrote:
> * Andre McCurdy <armccurdy@gmail.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

Good. Thanks for confirming.


      reply	other threads:[~2017-11-30 23:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-30 22:41 Andre McCurdy
2017-11-30 23:08 ` Szabolcs Nagy
2017-11-30 23:45   ` Andre McCurdy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ86T=W+3xiAE3UmBvkO5-t0LT3+dSKS1otvc9Y8EWZ+JLm0Kg@mail.gmail.com' \
    --to=armccurdy@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).