opnsense-src/lib/libc/amd64/string
Mateusz Guzik f1be262ec1 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
2021-01-31 16:07:20 +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-01-31 16:07:20 +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-01-31 16:07:19 +00:00
memset.S amd64: add a note about simd to libc memset, memmove and memcmp 2021-01-31 16:07:19 +00:00
stpcpy.S Remove incorrect attribution. 2011-07-21 20:06:14 +00:00
strcat.S
strcmp.S libc: spelling fixes. 2016-04-30 01:24:24 +00:00
strcpy.c libc: further adoption of SPDX licensing ID tags. 2017-11-25 17:12:48 +00:00