freebsd_amp_hwpstate/lib/libc/amd64
Robert Clausecker fb197a4f77 lib/libc/amd64/string: add memrchr() scalar, baseline implementation
The scalar implementation is fairly simplistic and only performs
slightly better than the generic C implementation. It could be
improved by using the same algorithm as for memchr, but it would
have been a lot more complicated.

The baseline implementation is similar to timingsafe_memcmp.  It's
slightly slower than memchr() due to the more complicated main
loop, but I don't think that can be significantly improved.

Tested by:	developers@, exp-run
Approved by:	mjg
MFC after:	1 month
MFC to:		stable/14
PR:		275785
Differential Revision:	https://reviews.freebsd.org/D42925
2023-12-25 15:00:05 +01:00
..
gen {amd64,i386}/SYS.h: add _SYSCALL and _SYSCALL_BODY 2023-12-18 22:28:42 +00:00
stdlib lib: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
string lib/libc/amd64/string: add memrchr() scalar, baseline implementation 2023-12-25 15:00:05 +01:00
sys {amd64,i386}/SYS.h: add _SYSCALL and _SYSCALL_BODY 2023-12-18 22:28:42 +00:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
SYS.h {amd64,i386}/SYS.h: add _SYSCALL and _SYSCALL_BODY 2023-12-18 22:28:42 +00:00
Symbol.map libc: centralize a few numeric symbols 2023-11-15 23:42:37 +00:00
_fpmath.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
amd64_archlevel.h lib/libc/amd64: add archlevel-based simd dispatch framework 2023-08-04 01:53:43 +03:00
arith.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
gd_qnan.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
static_tls.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00