This is the mail archive of the libc-alpha@sourceware.org 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]

PATCH: Improve 32 bit strchr and strrchr functions with SSE2


Hello,

This patch improves strchr and strrchr for IA 32 bit with SSE2 (two
versions: with bsf, bsr instructions, without bsf, bsr instructions
(good on atom) ).
Tested on core i7, core 2, atom.

It improves performance by up to 6.5 X for strrchr and 7.5 X for strchr.


--
Liubov Dmitrieva

Attachment: strchr_strrchr_32_bit.patch
Description: Binary data

Attachment: ChangeLog.strchr_strrchr_32
Description: Binary data


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