opnsense-src/lib/libc/i386
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
..
gen spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
stdlib Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:08:40 +00:00
string lib/libc/string: replace ffs/fls implementations with clang builtins 2023-07-03 22:18:27 +02:00
sys spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
_fpmath.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
arith.h Add a comment describing why it's important for the values in this 2003-05-08 13:50:44 +00:00
gd_qnan.h Arrange so that the NaN returned by strtod("nan", NULL) is the same as 2007-12-16 21:15:09 +00:00
Makefile.inc revert r322589: force use of ld.bfd for linking i386 libc 2017-12-16 15:17:54 +00:00
static_tls.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
Symbol.map libc: Remove _get_tp() and _set_tp(). 2021-12-09 13:23:26 -08:00
SYS.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00