This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Optimize memcmp for ia32


On Thu, Feb 05, 2004 at 07:02:33AM +0100, Andreas Jaeger wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
> 
> > This patch optimizes memcmp for ia32. I got average speeup by around
> > 400%.
> 
> ia32? I haven't seen a processor called ia32 ;-)
> 
> On which actual implementations did you test it?  Does it bring a
> speed up on all supported platforms?
> 

I tested it on all available Pentium 4/M processors. I believe it
should benefit all modern processors. BTW, I used test-memcmp.c to
measure the speedup.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]