This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][AArch64] Optimized memcpy/memmove
- From: Zack Weinberg <zackw at panix dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: Wilco Dijkstra <wdijkstr at arm dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 30 Sep 2015 10:37:02 -0400
- Subject: Re: [PATCH][AArch64] Optimized memcpy/memmove
- Authentication-results: sourceware.org; auth=none
- References: <002901d0f794$66138480$323a8d80$ at com> <20150927084319 dot GA22368 at domone> <003701d0f9d0$fe013470$fa039d50$ at com> <20150930122753 dot GA12909 at domone>
Making memcpy the same as memmove is dangerous because then people
will fail to notice when they *should* have used memmove. If you do
anything at all, detect an overlap and call abort().
zw