PATCH: Improve 32 bit strchr and strrchr functions with SSE2
Dmitrieva Liubov
liubov.dmitrieva@gmail.com
Tue Aug 23 11:03:00 GMT 2011
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
>
More information about the Libc-alpha
mailing list