[Haskell-cafe] bitSize
Thomas Davie
tom.davie at gmail.com
Tue Aug 30 09:45:56 CEST 2011
That's reasonably believable – streaming units on current CPUs can execute multiple floating point operations per cycle.
if (*ra4 != 0xffc78948) { return false; }
On 30 Aug 2011, at 02:30, Richard O'Keefe wrote:
>
> On 29/08/2011, at 10:32 PM, Maciej Marcin Piechotka wrote:
>>
>> According to random side (http://gruntthepeon.free.fr/ssemath/) not so
>> new computers can compute 15.5 milions of serial logarithms per second
>> (62 millions in total). I'd say that overhead of Integer might be much
>> bigger then cost of logarithm.
>
> That's floating-point logarithms, not Integer logarithms.
> Single-precision floats, at that.
>
> The code in question does not link at optimisation level 4.
> At least some of the benchmark results are impossible to believe:
> benching cephes_sinf ..
> -> 12762.3 millions of vector evaluations/second
> -> 0 cycles/value on a 2000MHz computer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110830/178444ac/attachment.htm>
More information about the Haskell-Cafe
mailing list