This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 05/15] RISC-V: Generic <string.h> Routines
On Wed, 3 Jan 2018, Adhemerval Zanella wrote:
> Another thing I would like to check before submitting for 2.28 is a way to
> add a generic index_last_/index_fist_ without using __builtin_{clzl,ctzl}.
> On some architectures it is implemented by a libgcc call and calling a
> function call pretty much defeat the optimizations done (I added a generic
> one for SH).
Maybe a configure test should check whether those use a libgcc function,
so the default can be set based on that?
--
Joseph S. Myers
joseph@codesourcery.com