[PATCH v3] RISC-V: Use __builtin_ffs when zbb is enabled
Anton Blanchard
antonb@tenstorrent.com
Tue Jan 28 22:58:16 GMT 2025
On Tue, Jan 28, 2025 at 9:26 PM Adhemerval Zanella Netto
<adhemerval.zanella@linaro.org> wrote:
> On 27/01/25 10:11, Anton Blanchard wrote:
> > Using __builtin_ffs when zbb is enabled takes __ffs from 26
> > instructions to 5.
>
> We already have a similar patch [1] which also cover __riscv_xtheadbb.
Looks good, thanks for pushing it along.
Anton
More information about the Libc-alpha
mailing list