summaryrefslogtreecommitdiff
path: root/src/string/i386/memmove.s
AgeCommit message (Collapse)AuthorFilesLines
2015-04-18remove the last of possible-textrels from i386 asmRich Felker1-1/+2
none of these are actual textrels because of ld-time binding performed by -Bsymbolic-functions, but I'm changing them with the goal of making ld-time binding purely an optimization rather than relying on it for semantic purposes. in the case of memmove's call to memcpy, making it explicit that the memmove asm is assuming the forward-copying behavior of the memcpy asm is desirable anyway; in case memcpy is ever changed, the semantic mismatch would be apparent while editing memmcpy.s.
2012-09-10asm for memmove on i386 and x86_64Rich Felker1-0/+21
for the sake of simplicity, I've only used rep movsb rather than breaking up the copy for using rep movsd/q. on all modern cpus, this seems to be fine, but if there are performance problems, there might be a need to go back and add support for rep movsd/q.