opnsense-src/lib/libc/arm/string
Robert Clausecker ee8b0c436d lib/libc/string: replace ffs/fls implementations with clang builtins
Most architectures we support (except for riscv64) have instructions
to compute these functions very quickly.  Replace old code with the
ffs and clz builtin functions, allowing clang to generate good code
for all architectures.

As a consequence, toss out arm and i386 ffs() implementations.

Sponsored by:	FreeBSD Foundation
Approved by:	mhorne
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D40730
2023-07-03 22:18:27 +02:00
..
bcopy.S
bzero.S The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 22:16:40 +00:00
Makefile.inc lib/libc/string: replace ffs/fls implementations with clang builtins 2023-07-03 22:18:27 +02:00
memcmp.S Annotate arm userspace assembler sources stating their tolerance to 2015-09-29 16:09:58 +00:00
memcpy.S Remove the old ARMv4 memcpy 2021-01-28 10:39:38 +00:00
memmove.S Remove leftover big-endian arm support 2021-01-28 10:33:40 +00:00
memset.S Remove obsolete code gated on _ARM_ARCH_* 2021-01-28 10:41:45 +00:00
strcmp.S Annotate arm userspace assembler sources stating their tolerance to 2015-09-29 16:09:58 +00:00
strlen.S Remove leftover big-endian arm support 2021-01-28 10:33:40 +00:00
strncmp.S Annotate arm userspace assembler sources stating their tolerance to 2015-09-29 16:09:58 +00:00