Re: filling big array of double
- From: "Aleksandr Sharahov" <alsha-on-mail333.com>
- Date: Tue, 31 May 2005 19:43:24 +0400
> I'm testing on a P4 3Ghz and this is my code:
I think on P4 this procedure must be shortest and fastest
procedure FillDouble(var Dest; Count: integer; Value: double);
asm
lea eax, [eax+8*edx]
neg edx
jge @ret
mov ecx, [ebp+8]
mov ebp, [ebp+12]
@loop:
mov [eax+8*edx], ecx
mov [eax+8*edx+4], ebp
add edx, 1
jl @loop
@ret:
end;
--
regards
Aleksandr
.
- References:
- filling big array of double
- From: Henri Gourvest
- Re: filling big array of double
- From: Eric Grange
- Re: filling big array of double
- From: Henri Gourvest
- Re: filling big array of double
- From: Eric Grange
- Re: filling big array of double
- From: Henri Gourvest
- filling big array of double
- Prev by Date: Re: Fastcode MM B&V 0.41 (integer benchmark)
- Next by Date: Re: Fastcode MM B&V 0.41 (extended)
- Previous by thread: Re: filling big array of double
- Next by thread: Re: filling big array of double
- Index(es):