This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Use aligned stores in memset
- From: Florian Weimer <fweimer at redhat dot com>
- To: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>, libc-alpha at sourceware dot org
- Date: Fri, 18 Aug 2017 08:21:41 +0200
- Subject: Re: [PATCH] powerpc: Use aligned stores in memset
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A50214E341
- References: <1503033107-20047-1-git-send-email-raji@linux.vnet.ibm.com>
On 08/18/2017 07:11 AM, Rajalakshmi Srinivasaraghavan wrote:
> * sysdeps/powerpc/powerpc64/power8/memset.S: Store byte by byte
> for unaligned inputs if size is less than 8.
This makes me rather nervous. powerpc64le was supposed to have
reasonable efficient unaligned loads and stores. GCC happily generates
them, too.
Thanks,
Florian