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]

Re: PATCH: Improve 32 bit strchr and strrchr functions with SSE2


Reposting.

2011/8/8 Dmitrieva Liubov <liubov.dmitrieva@gmail.com>:
> 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
>


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