From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6efc7adbcf3cc73 X-Google-Attributes: gid111c93,public From: Joachim Wesner Subject: Re: Fast Cray libm on axp/Linux, more results Date: 1998/05/23 Message-ID: <35660FB8.174B49C7@frankfurt.netsurf.de>#1/1 X-Deja-AN: 355705850 Content-Transfer-Encoding: 7bit References: <6k0sb6$moj$1@news.utrecht.NL.net> <6k1bar$3t7@news1.newsguy.com> <356449AC.41C6@tinman.dartmouth.edu> <35653FE4.6909CB26@frankfurt.netsurf.de> <3565E367.6382A19D@frankfurt.netsurf.de> Content-Type: text/plain; charset=us-ascii Organization: OMNILINK -- your link to the Net MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha More results from converting cray/libm to axp/linux: Only a short summy here, see my previous post I wrote before: My measured execution time on a LX 533 (1 tick ~ 2 ns) (all routines were tested with random arguments from 0 to x) 0..0.3 0..10 0..300 actual libm: sin 0.18 us 0.45 us 0.51 us cos 0.20 us 0.46 us 0.52 us tan 0.30 us 0.63 us 0.69 us New converted CRAY routines: sin 0.20 us 0.20 us 0.20 us cos 0.22 us 0.22 us 0.22 us sin+cos (simultaneous) 0.24 us 0.24 us 0.24 us tan (derived) 0.27 us 0.27 us 0.27 us Looks good !!? This stuff really has virtally constant running time for all arguments. Unfortunatelly I do not yet understand, how the algorithms really work..... Accuracy on sin+cos is ~ as mentioned before ~ 1 ULB. Good night from Frankfurt Joachim