SinCos Optimization
- From: "Dennis" <marianndkc@xxxxxxxxxxxxxxx>
- Date: Sat, 2 Sep 2006 12:13:43 +0200
Hi
procedure SinCosDKC(const Theta: Extended; var Sin, Cos: Extended);
overload;
asm
FLD Theta
FSINCOS
FSTP tbyte ptr [edx] // Cos
FSTP tbyte ptr [eax] // Sin
FWAIT
end;
procedure SinCosDKC(const Theta: Double; var Sin, Cos: Double); overload;
asm
FLD Theta
FSINCOS
FSTP qword ptr [edx] // Cos
FSTP qword ptr [eax] // Sin
FWAIT
end;
procedure SinCosDKC(const Theta: Single; var Sin, Cos: Single); overload;
asm
FLD Theta
FSINCOS
FSTP dword ptr [edx] // Cos
FSTP dword ptr [eax] // Sin
FWAIT
end;
Perhaps I should create some QC reports?
Best regards
Dennis Kjaer Christensen
.
- Follow-Ups:
- Re: SinCos Optimization
- From: Leo
- Re: SinCos Optimization
- Prev by Date: Fastcode Libraries unit names ...
- Next by Date: Re: Fastcode Libraries unit names ...
- Previous by thread: Fastcode Libraries unit names ...
- Next by thread: Re: SinCos Optimization
- Index(es):
Relevant Pages
|