Home | History | Annotate | Download | only in string
History log of /src/common/lib/libc/arch/x86_64/string/memchr.S
RevisionDateAuthorComments
 1.6  22-Mar-2014  jakllsch branches: 1.6.26;
For all x86_64 string assembly functions that don't overlap (i.e. every
one except memset and bzero) use END() so that symbol size information
is available.
 1.5  01-Aug-2009  dsl branches: 1.5.6; 1.5.12;
In the misaligned case, xor the read word with the target pattern
before making the unwanted bytes non-zero.
Means that memchr(buf, 0xff) is no longer a special case.
 1.4  20-Jul-2009  christos Put back dsl's string changes, but fix memchr.S to use cmp so that the
condition code is set (and fix the comments 0x10->0x01). From Anon Ymous
We need a test for memchr(x, -1)...
 1.3  19-Jul-2009  christos revert changes that made new kernels hang in ACPI detection
 1.2  18-Jul-2009  dsl A better memchr().
Always read aligned words, invalidating unwanted bytes in first word,
and checking that any match in the last word is before the buffer end.
No loops apart from the one through the data.
 1.1  20-Dec-2005  christos branches: 1.1.36;
Merge libkern + libc common files. As requested by core.
 1.1.36.1  23-Jul-2009  jym Sync with HEAD.
 1.5.12.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.26.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.6.26.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed