This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH, AArch64] Use GCC builtins to count leading/tailing zeros
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Yufeng Zhang <Yufeng dot Zhang at arm dot com>
- Date: Tue, 7 Jan 2014 15:36:32 +0000
- Subject: Re: [PATCH, AArch64] Use GCC builtins to count leading/tailing zeros
- Authentication-results: sourceware.org; auth=none
- References: <52CC1C70 dot 6020700 at arm dot com>
On 7 January 2014 15:25, Yufeng Zhang <Yufeng.Zhang@arm.com> wrote:
> Hi,
>
> This patch defines a number of macros in stdlib/longlong.h to use GCC
> builtins __builtin_clz* to implement the __clz* and __ctz* functions.
>
> OK for the mainline?
>
> Thanks,
> Yufeng
>
>
> * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
> (COUNT_LEADING_ZEROS_0): Define for aarch64.
Hi, My understanding is that ARM now has appropriate assignments in
place to contribute to GLIBC. Could someone with visibility of the
appropriate assignments file/database confirm this ?
Thanks
/Marcus