Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] speed
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-01-18 (22:50)
From: Oleg <oleg_inconnu@m...>
Subject: Re: Coyote Gulch test in Caml (was Re: [Caml-list] speed )
On Saturday 04 January 2003 01:31 pm, Xavier Leroy wrote:
> Apparently, the ocamlopt-generated code
> offers less instruction-level parallelism than the g++-generated code
> for the float computations.  Still, I haven't really understood where
> the factor of 2 comes from.  

It's been a couple of weeks. I'm wondering if you got any new insights into 

Just as wild guess: the code contains calls to "sin" and "cos" on the same 
value. Perhaps GCC manages to optimize those into one call to "sincos"
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: