opnsense-src/lib/libc/amd64/string
Mateusz Guzik 88a580ebee amd64: move memcmp checks upfront
This is a tradeoff which saves jumps for smaller sizes while making
the 8-16 range slower (roughly in line with the other cases).

Tested with glibc test suite.

For example size 3 (most common with vfs namecache) (ops/s):
before:	407086026
after:	461391995

The regressed range of 8-16 (with 8 as example):
before:	540850489
after:	461671032

(cherry picked from commit f1be262ec1)
2021-02-04 17:59:10 +00:00
..
bcmp.S amd64: reimplement libc memcmp and bcmp with kernel memcmp 2018-09-27 17:08:29 +00:00
bcopy.c amd64: convert libc bcopy to a C func to avoid future bloat 2018-10-13 21:17:28 +00:00
bzero.c amd64: convert libc bzero to a C func to avoid future bloat 2018-11-15 20:20:39 +00:00
Makefile.inc amd64: convert libc bzero to a C func to avoid future bloat 2018-11-15 20:20:39 +00:00
memcmp.S amd64: move memcmp checks upfront 2021-02-04 17:59:10 +00:00
memcpy.S amd64: import updated kernel memmove to libc 2018-10-13 21:15:47 +00:00
memmove.S amd64: add a note about simd to libc memset, memmove and memcmp 2021-02-04 17:59:05 +00:00
memset.S amd64: add a note about simd to libc memset, memmove and memcmp 2021-02-04 17:59:05 +00:00
stpcpy.S
strcat.S
strcmp.S
strcpy.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00