This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Does memcmp_sse4_2 actually use SSE 4.2 instructions?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Matt Turner <mattst88 at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 9 Jul 2013 17:14:08 -0700
- Subject: Re: Does memcmp_sse4_2 actually use SSE 4.2 instructions?
- References: <CAEdQ38GznnRmjYiQ2xGJpbDgFnx9T+kCBHVp7WfHty1AJkViHw at mail dot gmail dot com>
On Tue, Jul 9, 2013 at 5:04 PM, Matt Turner <mattst88@gmail.com> wrote:
> Hi,
>
> I can't seem to find any SSE 4.2 instructions in
> sysdeps/i386/i686/multiarch/memcmp-sse4.S.
>
> It uses ptest, which is in 4.1 but apparently no 4.2 instructions.
That is true.
> Should I send a patch?
>
Yes, please.
Thanks.
--
H.J.