[PATCH, AArch64] Use GCC builtins to count leading/tailing zeros
Marcus Shawcroft
marcus.shawcroft@gmail.com
Tue Jan 7 15:36:00 GMT 2014
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
More information about the Libc-alpha
mailing list