Re: Fastcode CharPosRev B&V 0.6.2
- From: "John O'Harrow" <john@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 14:46:06 -0000
"Dennis" <marianndkc@xxxxxxxxxxxxxxx> wrote in message
news:456c4421@xxxxxxxxxxxxxxxxxxxxxxxxx
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) :
As corrected further up in this thread.
--
regards,
John
The Fastcode Project:
http://www.fastcodeproject.org/
.
- References:
- Fastcode CharPosRev B&V 0.6.2
- From: Dennis
- Re: Fastcode CharPosRev B&V 0.6.2
- From: Dennis
- Re: Fastcode CharPosRev B&V 0.6.2
- From: John O'Harrow
- Re: Fastcode CharPosRev B&V 0.6.2
- From: Dennis
- Fastcode CharPosRev B&V 0.6.2
- Prev by Date: Re: Fastcode CharPosRev B&V 0.6.2
- Next by Date: Re: Fastcode CharPosRev B&V 0.6.2
- Previous by thread: Re: Fastcode CharPosRev B&V 0.6.2
- Next by thread: Re: Fastcode CharPosRev B&V 0.6.2
- Index(es):