* Vectorlized single sqrt routine
@ 1999-05-11 14:09 Kazushige Goto
0 siblings, 0 replies; only message in thread
From: Kazushige Goto @ 1999-05-11 14:09 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 889 bytes --]
Hi,
I made vectorlized single sqrt/inverse sqrt routine.
sqrtf/sqrtfi runs 66/62 clocks.
ssqrtv/ssqrtiv runs only 12/11 clocks/each.
for C
float sqrtf (float);
float sqrtif (float);
void ssqrtv (float *src, float *dst, int count);
void ssqrtiv(float *src, float *dst, int count);
for FORTRAN
FUNCTION REAL sqrtf (REAL)
FUNCTION REAL sqrtif (REAL)
PROCEDURE ssqrtv (src, dst, count)
PROCEDURE ssqrtiv(src, dst, count)
src, dst : real array
count : integer
Thanks,
goto@statabo.rim.or.jp
Application/Octet-Stream attachment: stored
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-05-11 14:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-11 14:09 Vectorlized single sqrt routine Kazushige Goto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox