This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] x86_64: Remove 9 REX bytes from memchr.S
- From: Zack Weinberg <zackw at panix dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 20 May 2017 10:59:22 -0400
- Subject: Re: [PATCH] x86_64: Remove 9 REX bytes from memchr.S
- Authentication-results: sourceware.org; auth=none
- References: <20170520145006.GA19672@lucon.org>
On Sat, May 20, 2017 at 10:50 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> There is no need to use 64-bit registers when only the lower 32 bits
> are non-zero.
This code is used generically for x86-64, not for a specific
microarchitecture. Is there a reason why this will never cause partial
register stalls, now or in the future?
zw