asm for memmove on i386 and x86_64
authorRich Felker <dalias@aerifal.cx>
Mon, 10 Sep 2012 23:04:24 +0000 (19:04 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 10 Sep 2012 23:04:24 +0000 (19:04 -0400)
commit2bf469310de6793228c103691859ed4d3158b117
treeb292372faf231031dbe9404efb081fdf341ff719
parenta9555a995cea8aa67da571c95af61109140f2c8d
asm for memmove on i386 and x86_64

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.
src/string/i386/memmove.s [new file with mode: 0644]
src/string/x86_64/memmove.s [new file with mode: 0644]