summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/string
Commit message (Collapse)AuthorAgeFilesLines
* MFp4: Pentium/Athlon-optimised implementation of wcschr().tjr2003-04-052-1/+78
|
* MFp4: Pentium/Athlon-optimised implementation of wcslen().tjr2003-03-142-1/+69
|
* MFp4: Reduce code size by 26 bytes by only aligning the jump targets thattjr2003-03-121-10/+1
| | | | are at the top of loops.
* MFp4: Pentium/Athlon-optimised implementation of wmemchr().tjr2003-03-122-1/+115
|
* MFp4: Pentium-optimised implementation of wcscmp(). Performs significantlytjr2003-03-102-1/+80
| | | | better than the code generated by gcc in many cases.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Eliminate superfluous memory access in memcpy(3)/memmove(3).sobomax2002-10-151-13/+8
| | | | | Obtained from: NetBSD MFC after: 1 week
* Fix style bugs I added in last commit.silby2002-06-271-4/+4
| | | | Spotted by: bde
* Modify bcopy (and memcpy/memmove) so that the length value is notsilby2002-06-271-2/+4
| | | | | | | | re-read from the stack mid copy. This may help mitigate the recent Apache buffer overrun and future overruns of the sort. Reviewed by: jdp MFC after: 2 days
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-0211-11/+11
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Standardize on our SCM ID style.obrien2002-03-2319-80/+25
|
* cosmetic: spell 'cashe' as 'cache'billf2002-03-103-3/+3
|
* De-orbit DEFS.h - the other arches do not use it, and it got replacedpeter2001-10-2416-16/+16
| | | | | | with <machine/asm.h>. Reviewed by: bde
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-1316-32/+0
|
* $Id$ -> $FreeBSD$peter1999-08-2817-33/+33
|
* Handle machine-dependent (m-d) (string) sources more automatically.bde1997-10-161-6/+4
| | | | | | | | | | | | | | | | | | | | | The names of m-d variants are now added (manually) to MDSRCS instead of to SRCS, and the names of all machine-independent (m-i) variants that can reasonably be replaced by an m-d variant are now added (manually) to MISRCS instead of to SRCS, so that a simple substitution can be used to discard the unused m-i variants. MISRCS is potentially all m-i sources, but the substitution is too simple to be fast, so MISRCS should be kept reasonably small. libc/Makefile.inc: Do the substitution. libc/i386/string/Makefile.inc: Add to MDSRCS instead of to SRCS. Add the names of all sources in this directory, but no others. libc/string/Makefile.inc Add to MISRCS instead of to SRCS. Add the names of all sources in this directory. Don't use (broken) explicit rules for special cases.
* kill the undeadpeter1997-07-131-53/+0
|
* This commit was generated by cvs2svn to compensate for changes in r27180,bde1997-07-031-0/+53
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Lite2's src/lib, except for non-i386 machine-dependent directories,bde1997-07-031-0/+53
| | | | | | | | | | libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3 unimportant ones have already left the vendor branch.
| * Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchpeter1997-03-111-65/+32
| |
| * recording cvs-1.6 file deathpeter1995-12-301-53/+0
| |
| * This commit was manufactured by cvs2svn to create branch 'CSRG'.cvs2svn1995-06-271-0/+86
| |
* | Use separate routines for memmove() and memcpy(). This lets me dropbde1997-04-201-0/+2
| | | | | | | | | | | | | | the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD
* | Use separate routines for memmove() and memcpy(). This lets me dropbde1997-04-202-94/+4
| | | | | | | | | | | | | | | | the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD
* | Merged with the 1996/11/12 NetBSD version:bde1997-04-201-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use a slightly less bogus copyright. This file was never contributed to Berkeley. It still claims to be copright by the Regents. - use <machine/asm.h> instead of "DEFS.h". - use RCSID($Id$) instead of explicit assembly code and messy ifdefs. The rcsid won't be put into the object file until we make RCSID() non-null. NetBSD uses a LIBC_SCCS ifdef here. We used a LIBC_RCS instead, but I want RCSID() to be controlled directly by LIBC_RCS (actually by LIB_RCS). This is the only difference with the NetBSD version. - added ifdefs to support generation of memcpy() and memmove(). The other changes are "while I'm here" to get this. - improved style of the copy backwards case.
* | Revert $FreeBSD$ to $Id$peter1997-02-2219-37/+37
| |
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1419-37/+37
| | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* | This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-301-53/+0
| | | | | | | | which included commits to RCS files with non-trunk default branches.
* | Be smarter about handling overlapped copies and only go backwards if itdg1995-12-272-12/+16
| | | | | | | | | | | | is really necessary. Going backwards on a P6 is much slower than forwards and it's a little slower on a P5. Also moved the count mask and 'std' down a few lines - it's a couple percent faster this way on a P5.
* | First round of changes to clean up the RCSID mess in libc:dg1995-01-2319-37/+56
| | | | | | | | | | | | | | | | 1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS. 2) Changed sccsid[] variables to rcsid[] 3) Moved all RCSID strings into .text 4) Converted all SCCSID's to RCS $Id$'s 5) Added missing $Id$'s after copyright.
* | Added leaner and meaner swab() function by J.T. Conklin.dg1995-01-222-1/+105
| |
* | Fix a spelling error and add a comment about possible improvements.bde1994-12-271-3/+17
| |
* | Go back to Bruce's fix with a minor change that will allow a NULL stringdg1994-11-251-4/+3
| | | | | | | | | | | | pointer if len is 0. I should have looked at the revision history - I would have found that Bruce already fixed the bug with len=0 over a month ago. Whoever said that the bug was in 2.0 was wrong.
* | Fixed bugs related to returning NULL if length is zero.dg1994-11-251-3/+4
| |
* | Fix memchr(p, 0, 0) to return NULL instead of p.bde1994-10-271-3/+3
| |
* | First crack at making libc work with the new make macros. It compiles onwollman1994-08-0518-3/+1442
|/ | | | | my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-272-0/+58
OpenPOWER on IntegriCloud