From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id B0C49BB9C for ; Fri, 18 Nov 2005 00:05:28 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jAHN5ROV020278 for ; Fri, 18 Nov 2005 00:05:28 +0100 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 AAA30677 for ; Fri, 18 Nov 2005 00:05:27 +0100 (MET) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jAHN5QZg020275 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 18 Nov 2005 00:05:27 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ecsmc-0003c3-0P for caml-list@inria.fr; Fri, 18 Nov 2005 00:03:10 +0100 Received: from host128-161.pool8249.interbusiness.it ([82.49.161.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Nov 2005 00:03:09 +0100 Received: from vincenzo_yahoo_addressguard-gmane by host128-161.pool8249.interbusiness.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Nov 2005 00:03:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Vincenzo Ciancia Subject: Re: doing MMX through ocaml Date: Fri, 18 Nov 2005 00:01:35 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host128-161.pool8249.interbusiness.it User-Agent: KNode/0.9.2 Sender: news X-Miltered: at concorde with ID 437D0CB8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 437D0CB6.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 ffi:01 o'caml:01 runtime:01 attenzione:98 l'indirizzo:98 posta:98 nel:98 campo:98 wrote:01 define:01 exists:01 external:02 asm:02 asm:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Jonathan Roewen wrote: > > The FFI just requires that the external symbol exists, right? Soooo, I > could theoretically define pure ASM routines that O'Caml could call. > Wouldn't that constrain a single asm instruction to pass trough the calling convention? In that case, wouldn't runtime code generation be better? Bye Vincenzo -- Please note that I do not read the e-mail address used in the from field but I read vincenzo_ml at yahoo dot it Attenzione: non leggo l'indirizzo di posta usato nel campo from, ma leggo vincenzo_ml at yahoo dot it