summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/powerpc64/string
AgeCommit message (Collapse)AuthorFilesLines
2020-10-16Adapt SYS.h to use retguard macros from asm.h, so that generated systemderaadt2-4/+8
calls are guarded. Adapt the first few hand-written functions to this model (a few remain) ok kettenis mortimer
2020-06-29Use C versions of bcopy(3) and memmove(3) for now as the assembly versionkettenis1-2/+2
of bcopy(9) doesn't work in its current state. ok deraadt@
2020-06-26Provide an optimized implementation of ffs(3) in libc onnaddy2-2/+17
aarch64/powerpc/powerpc64, making use of the count leading zeros instruction. Also add a brief regression test. ok deraadt@ kettenis@
2020-06-25PowerPC64 libc string/net filesdrahn2-0/+178
Initial attempt to port powerpc code to powerpc64 Expects TOC loading in ENTRY(), memmove.S is the powerpc 32 bit, optimization is possible for 64 bit and handle len of > 32 bits.