From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id DAF41BCAF for ; Fri, 17 Jun 2005 11:48:49 +0200 (CEST) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.198]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j5H9mnQJ014280 for ; Fri, 17 Jun 2005 11:48:49 +0200 Received: by rproxy.gmail.com with SMTP id a36so280620rnf for ; Fri, 17 Jun 2005 02:48:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iloT7aX1UGrpGou3BUBTO3PSXgfQ+93TGjTasZIempwMcgk93dlchK3/5cE0hVV6at7U+EATE0ADHfAeqrmM9OSAGghBI/l2RDAzgbBBxsiQTA0W08pa/AH757KzPm3ttrQLqBjCyVCBGr1+VtyDIpcYJ0gDjdio6G4Un+Qcmew= Received: by 10.38.181.17 with SMTP id d17mr1007711rnf; Fri, 17 Jun 2005 02:48:48 -0700 (PDT) Received: by 10.38.209.44 with HTTP; Fri, 17 Jun 2005 02:48:48 -0700 (PDT) Message-ID: Date: Fri, 17 Jun 2005 21:48:48 +1200 From: Jonathan Roewen Reply-To: Jonathan Roewen To: caml-list@yquem.inria.fr Subject: Inline Assembler Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Miltered: at nez-perce with ID 42B29C81.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 compiler:01 inline:01 inline:01 native:02 assembler:02 assembler:02 seems:03 overhead:03 cycles:06 such:13 adding:14 code:17 code:17 would:17 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.2 X-Spam-Level: How could one go about adding an inline assembler to the ocaml native code compiler? Such that can completely avoid the overhead of calling into C code. It seems that would waste a number of cpu cycles for no good reason. Jonathan