Re: filling big array of double
- From: "Aleksandr Sharahov" <alsha-on-mail333.com>
- Date: Tue, 31 May 2005 18:05:53 +0400
One more ;-)
procedure FillDouble(var Dest; Count: integer; Value: double); register;
asm
neg edx
jge @ret
shl edx, 3
sub eax, edx
movq mm0, [ebp+8]
test edx, 8
jz @loop
movq [eax+edx], mm0
add edx, 8
jge @ret
@loop:
movq [eax+edx], mm0
movq [eax+edx+8], mm0
add edx, 16
jl @loop
@ret:
emms
end;
.
- Follow-Ups:
- Re: filling big array of double
- From: Henri Gourvest
- Re: filling big array of double
- References:
- filling big array of double
- From: Henri Gourvest
- filling big array of double
- Prev by Date: Re: filling big array of double
- Next by Date: Re: filling big array of double
- Previous by thread: Re: filling big array of double
- Next by thread: Re: filling big array of double
- Index(es):
Relevant Pages
|