Re: Fastcode CharPosRev B&V 0.6.2



Hi John

Perhaps we should give this function another name.

function CharPosRev_JOH_IA32_4_a(SearchChar : Char; const S: string) :
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0 {All 16 Bytes of xmm0 = cl}
movdqu xmm1, [eax+edx] {Check Last 16 Chars}
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1

What about?

function CharPosRev_JOH_SSE2_1_a(SearchChar : Char; const S: string) :

Best regards
Dennis Kjaer Christensen

----------------------------------------------------------------------------
----
Jeg beskyttes af den gratis SPAMfighter til privatbrugere.
Den har indtil videre sparet mig for at få 6011 spam-mails
Betalende brugere får ikke denne besked i deres e-mails.
Hent en gratis SPAMfighter her.


.