diff options
author | Julian Zhu <julian.oerv@isrc.iscas.ac.cn> | 2024-11-08 21:41:43 +0800 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-04-28 09:51:59 -0300 |
commit | 4c966c078036abe0e36bd86c9eaeb4501e552977 (patch) | |
tree | 70125eca6c7ec83bd469e2d43fb2ed4b9c887406 /sysdeps/unix/sysv/linux/clone-internal.c | |
parent | 2be836fe44010d92ffffb73cd060045bb10305e4 (diff) | |
download | glibc-4c966c078036abe0e36bd86c9eaeb4501e552977.zip glibc-4c966c078036abe0e36bd86c9eaeb4501e552977.tar.gz glibc-4c966c078036abe0e36bd86c9eaeb4501e552977.tar.bz2 |
RISC-V: Use builtin for ffs and ffsll while supported extension available
Hardware ctz instructions are available in the RISC-V Zbb and XTheadBb extension. With special `-march` flags defined, we can generate more simplified code compared to the generic implementation of `ffs`/`ffsll`.
Signed-off-by: Julian Zhu <julian.oerv@isrc.iscas.ac.cn>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/clone-internal.c')
0 files changed, 0 insertions, 0 deletions