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 7AD63BC48 for ; Sat, 2 Apr 2005 22:25:02 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j32KP1Wm021139 for ; Sat, 2 Apr 2005 22:25:01 +0200 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 WAA10543 for ; Sat, 2 Apr 2005 22:25:01 +0200 (MET DST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j32KP00c021134 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 2 Apr 2005 22:25:01 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DHp98-0006Rx-Rj for caml-list@inria.fr; Sat, 02 Apr 2005 22:23:06 +0200 Received: from 67.71.119.91 ([67.71.119.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Apr 2005 22:23:06 +0200 Received: from monnier by 67.71.119.91 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Apr 2005 22:23:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Stefan Monnier Subject: Re: 32- and 64-bit performance Date: Sat, 02 Apr 2005 15:23:21 -0500 Message-ID: <87zmwh3p8m.fsf-monnier+gmane.comp.lang.caml.inria@gnu.org> References: <200503300340.15874.jon@ffconsultancy.com> <871x9vzwk7.fsf-monnier+gmane.comp.lang.caml.inria@gnu.org> <200503311940.18701.jon@ffconsultancy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 67.71.119.91 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:4jT22dtMJ+/6rMJcAz8BY+W4hZM= Sender: news X-Miltered: at nez-perce with ID 424EFF9D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 424EFF9C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; umontreal:01 ocaml:01 half-way:01 pointers:01 compiler:01 pointer:01 slower:01 int:01 gnu:03 library:03 fix:04 apps:04 size:95 size:95 bottom:93 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=1.6 required=5.0 tests=RCVD_BY_IP,RCVD_NUMERIC_HELO autolearn=disabled version=3.0.2 X-Spam-Level: * >> Is there a GNU/Linux (and OCaml) mode supporting the half-way case where >> you use the new amd64 registers but still stay with 32bit pointers? >> That should fix the one case where the amd64 mode is slower because of the >> extra memory use. > I do not believe there is such a mode, no. I'm not entirely sure how this > could work Under Alpha they called it "taso". Mostly used for compatibility with apps that were assuming the size of ptrs is the same as the size of int: it just made the C library use only the bottom 4GB of the address space such that the compiler could use only 32bit to store pointer values. Stefan