Home | History | Annotate | Download | only in string
History log of /src/common/lib/libc/arch/x86_64/string/strchr.S
RevisionDateAuthorComments
 1.7  22-Mar-2014  jakllsch branches: 1.7.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.6  20-Jul-2009  christos branches: 1.6.6; 1.6.12;
Put back dsl's string changes, but fix memchr.S to use cmp (rather
than test) so that the condition code is set correctly (and fix the
comments: 0x10->0x01 and ^->&). From Anon Ymous

XXX: There are similar comment errors in some of the other string code.

XXX: We really need a regression test that includes misaligned memory
with searches designed to catch corner cases such as searching for 0,
-1, etc, and search length limit violations. Searching for 0 on
misaligned memory would have caught this problem.
 1.5  19-Jul-2009  christos revert changes that made new kernels hang in ACPI detection
 1.4  18-Jul-2009  dsl Shorten a dependency chain by using 'sbb, xor' (at a time when carry is set)
instead of 'mov, neg, dec'.
('mov, not' can't be used because it doesn't set the flags.)
 1.3  18-Jul-2009  dsl Replace with a version that:
1) doesn't do byte compares to find which byte matched
2) doesn't do byte compares if any top bits are set
3) doesn't use a loop when the input is misaligned
4) has less mispredicted branches
Passes regression tests and 'build.sh' doesn't explode (and more than usual).
 1.2  17-Jul-2009  dsl Change all archs so that strchr.[cS] and strrchr.[cS] exist and generate
duplicate symbols for index() and rindex().
 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.6.12.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.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.7.26.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.7.26.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed