From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA27190; Mon, 27 Jan 2003 17:59:52 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA26788 for ; Mon, 27 Jan 2003 17:59:51 +0100 (MET) Received: from orange.csi.cam.ac.uk (orange.csi.cam.ac.uk [131.111.8.77]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h0RGxor13354; Mon, 27 Jan 2003 17:59:50 +0100 (MET) Received: from tcmpnb3.phy.private.cam.ac.uk ([172.24.25.7]) by orange.csi.cam.ac.uk with esmtp (Exim 4.10) id 18dCbr-0002DP-00; Mon, 27 Jan 2003 16:59:47 +0000 From: Daniel Andor Reply-To: Daniel Andor To: caml-list@inria.fr Subject: Re: [Caml-list] Re: Coyote Gulch test in Caml Date: Mon, 27 Jan 2003 16:58:37 +0000 User-Agent: KMail/1.5 Cc: Brian Hurt , Xavier Leroy References: <3E15B3B3.3040106@163.com> <200301181749.48295.oleg_inconnu@myrealbox.com> <20030121105648.A5543@pauillac.inria.fr> In-Reply-To: <20030121105648.A5543@pauillac.inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200301271658.37564.da209@cam.ac.uk> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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