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 QAA23862; Fri, 4 Jun 2004 16:54:01 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA23839 for ; Fri, 4 Jun 2004 16:53:59 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i54ErwEV024994 for ; Fri, 4 Jun 2004 16:53:59 +0200 Received: from bourg.inria.fr (bourg.inria.fr [128.93.11.100]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA23829 for ; Fri, 4 Jun 2004 16:53:58 +0200 (MET DST) Received: from basile by bourg.inria.fr with local (Exim 4.32) id 1BWG4W-0005mx-Ag for caml-list@inria.fr; Fri, 04 Jun 2004 16:53:28 +0200 Date: Fri, 4 Jun 2004 16:53:28 +0200 To: caml-list@inria.fr Subject: [Caml-list] ocamljitrun - new release (for new method send) Message-ID: <20040604145327.GA22173@bourg.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.6i From: Basile Starynkevitch local X-Miltered: at nez-perce with ID 40C08D06.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; basile:01 basile:01 runtime:01 byterun:01 misses:01 retrieval:99 inlined:01 inlining:01 powerpc:01 cristal:01 cristal:01 ocaml:01 caml:01 caml:01 bytecode:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Dear All, I just adapted ocamljitrun - see http://cristal.inria.fr/~starynke/ocamljit.html to the new cached sending method protocol (as in Ocaml CVS and probably future release) The cached method send [ie the new GETPUBMET bytecode operation] uses a cache (in the bytecode), and calls runtime routine (in byterun/obj.c - functions caml_get_public_method and caml_cache_public_method) only for cache misses. The cache test and retrieval is inlined (inlining the dichotomical search is not worthwhile, it would expand the GETPUBMET bytecode into about a hundred bytes of machine code...). Ocamljitrun still don't run on PowerPC because of a pending GNU lightning book (which is worked on by lightning authors). Regards. -- Basile STARYNKEVITCH -- basile dot starynkevitch at inria dot fr Project cristal.inria.fr - phone +33 1 3963 5197 - mobile 6 8501 2359 http://cristal.inria.fr/~starynke --- all opinions are only mine ------------------- 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