Browse thread
[Caml-list] speed
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-01-27 (16:59) |
From: | Daniel Andor <da209@c...> |
Subject: | Re: [Caml-list] Re: Coyote Gulch test in Caml |
On Tuesday 21 January 2003 9:56 am, Xavier Leroy wrote: [snip various optimisationsm, including:] > I also played with a "-ffast-math" flag for ocamlopt, whereas some math > functions (sin, cos, sqrt, log) are directly expanded into x86 > instructions. With this, we get 85% of the performance of g++ -O3, > which isn't bad, and 2/3 of the performance of g++ -O3 -ffast-math. > > At any rate, the changes above to the OCaml code generator need to be > tested more before possible inclusion in the next release. Never > trust code that you wrote in an airplane, especially while fighting > for the armrest with an elderly central European lady who doesn't > understand any of the languages that you speak :-) Would it be possible to try some of these optimisation patches, if you have them? (such as float storing, inlining, SSE2?) I would be particularly interested to see how you include it in the ocamlopt compiler code, which I'm trying to understand... Incidentally, what's a good way to learn the layout and functioning of the asmcomp compiler? (docs?) Thanks, Daniel. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners