aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/amd64/string
Commit message (Collapse)AuthorAgeFilesLines
* Revert r330897:Eitan Adler2018-03-291-3/+1
| | | | | | | | | | | | | | | | | | | | This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code. Revert with prejudice. This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes. Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes. Requested by: gjb (re) Notes: svn path=/stable/11/; revision=331722
* Partial merge of the SPDX changesEitan Adler2018-03-141-1/+3
| | | | | | | | | | These changes are incomplete but are making it difficult to determine what other changes can/should be merged. No objections from: pfg Notes: svn path=/stable/11/; revision=330897
* MFC r314556-r314558Brooks Davis2017-03-111-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r314556: Correct MDSRCS use in <arch>/string/Makefile.inc. - Remove .c files which duplicate entries in MISRCS. - Use the same, less merge conflict prone style in all cases. - Use MDSRCS for mips (.c and .S files both ended up in SRCS). - Remove pointless sparc64 Makefile.inc. - Remove uninformative foreign VCS ID entries. Reviewed by: emaste, imp, jhb MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9841 r314557: Correct an misunderstanding of MDSRCS. MDSRCS it intended to allow assembly versions of funtions with C implementations listed in MISRCS. The selection of the correct machdep_ldis?.c for a given architecture does not follow this pattern and the file should be added to SRCS directly. Reviewed by: emaste, imp, jhb MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9841 r314558: Garbage collect unused gdtoa related files on mips. Reviewed by: emase, imp, jhb MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9841 Notes: svn path=/stable/11/; revision=315044
* libc: spelling fixes.Pedro F. Giffuni2016-04-301-1/+1
| | | | | | | Mostly on comments. Notes: svn path=/head/; revision=298830
* Remove incorrect attribution.George V. Neville-Neil2011-07-211-1/+1
| | | | | | | | | Approved by: re (kib) Pointed out by: brueffer Pointy hat to: gnn Notes: svn path=/head/; revision=224253
* Make both stpcpy and strcpy be assembly language implementationsGeorge V. Neville-Neil2011-07-213-20/+60
| | | | | | | | | | | | on amd64. Submitted by: Guillaume Morin (guillaume at morinfr.org) Reviewed by: kib, jhb Approved by: re (bz) MFC after: 1 month Notes: svn path=/head/; revision=224246
* Remove duplicate .note.GNU-stack section declaration. bcopy alreadyKonstantin Belousov2011-02-041-2/+0
| | | | | | | | | made the neccessary provisions. Reported by: arundel Notes: svn path=/head/; revision=218303
* Add section .note.GNU-stack for assembly files used by 386 and amd64.Konstantin Belousov2011-01-079-0/+18
| | | | Notes: svn path=/head/; revision=217106
* We've been lax about matching END() macros in asm code for some time. ThisPeter Wemm2008-11-028-0/+16
| | | | | | | | | | is used to set the ELF size attribute for functions. It isn't normally critical but some things can make use of it (gdb for stack traces). Valgrind needs it so I'm adding it in. The problem is present on all branches and on both i386 and amd64. Notes: svn path=/head/; revision=184547
* Optimize the instruction alignment.Alan Cox2005-04-231-2/+1
| | | | Notes: svn path=/head/; revision=145459
* Add a machine-specific, optimized implementation of strcat.Alan Cox2005-04-102-1/+166
| | | | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks Notes: svn path=/head/; revision=144872
* Eliminate a conditional branch and as a side-effect eliminate a branch toAlan Cox2005-04-101-5/+4
| | | | | | | | | | | a return instruction. (The latter is discouraged by the Opteron optimization manual because it disables branch prediction for the return instruction.) Reviewed by: bde Notes: svn path=/head/; revision=144868
* Add a machine-specific, optimized implementation of strcpy.Alan Cox2005-04-102-1/+113
| | | | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks Notes: svn path=/head/; revision=144854
* Add a machine-specific, optimized implementation of strcmp.Alan Cox2005-04-092-1/+75
| | | | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks Notes: svn path=/head/; revision=144847
* Add machine-specific, optimized implementations of bcmp and memcmp.Alan Cox2005-04-083-1/+67
| | | | | | | | | PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks Notes: svn path=/head/; revision=144782
* Eliminate unneeded instructions that are a vestige of mechanicalAlan Cox2005-04-081-10/+4
| | | | | | | translation from i386. Notes: svn path=/head/; revision=144779
* Eliminate an unneeded instruction that is a vestige of mechanicalAlan Cox2005-04-071-7/+5
| | | | | | | translation from i386. Notes: svn path=/head/; revision=144733
* Add machine-specific, optimized implementations of bcopy, bzero, memcpy,Alan Cox2005-04-076-0/+212
memmove, and memset. PR: 73111 Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD) MFC after: 3 weeks Notes: svn path=/head/; revision=144730