From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p7P9YNl7014719 for ; Thu, 25 Aug 2011 11:34:23 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AngBAEQWVk7RVaE2kGdsb2JhbABCFphXjwwIFAEBAQEJCQ0HFAQhgUABAQEBAQISAiYGAQE3AQ8LNBI0AQUBHDuHUgKdVQqPDgGONQWFbGCfeTyDZQ X-IronPort-AV: E=Sophos;i="4.68,280,1312149600"; d="scan'208";a="106571292" Received: from mail-fx0-f54.google.com ([209.85.161.54]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 25 Aug 2011 11:34:18 +0200 Received: by fxe4 with SMTP id 4so3023724fxe.27 for ; Thu, 25 Aug 2011 02:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=qyyx4+iSoVZrjMPQXJDMtJgziqVp9xk//qTshzF6RJM=; b=MqNV6wyJyA4XY++L69QkvHsm/SqhkE/bvZxnLsZGOSJyPhUpNi+2eRb9mNaAjOUhos U25/W9yTNpMWysJ+rT4GIrkSvCrhsORK10/3eU3HrxmrGDj9PQSIstn6wjCTrWac2FDT EXkSai2MdyBai/RPUwqqtiLOi0iaJZvwDw5As= Received: by 10.223.26.71 with SMTP id d7mr9014954fac.23.1314264857919; Thu, 25 Aug 2011 02:34:17 -0700 (PDT) Received: from coruscant.kosmos.all (ip-95-223-170-32.unitymediagroup.de [95.223.170.32]) by mx.google.com with ESMTPS id 22sm331860fat.17.2011.08.25.02.34.14 (version=SSLv3 cipher=OTHER); Thu, 25 Aug 2011 02:34:15 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: Benedikt Meurer In-Reply-To: <11577B43-4270-4BA4-AA77-7FDEFB4B563B@googlemail.com> Date: Thu, 25 Aug 2011 11:34:13 +0200 Cc: Gerd Stolpmann , Fischbach Marcell Message-Id: References: <93199F3B-E9CF-4D93-9B2B-BAAB03F4FC08@googlemail.com> <4EF51F29-D437-4F6F-9C91-DBEA3D4C3EB8@googlemail.com> <1314218451.3496.42.camel@thinkpad> <11577B43-4270-4BA4-AA77-7FDEFB4B563B@googlemail.com> To: caml-list@inria.fr X-Mailer: Apple Mail (2.1244.3) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p7P9YNl7014719 Subject: Re: [Caml-list] Linear Scan Register Allocator for ocamlopt/ocamlnat On Aug 25, 2011, at 10:02 , Benedikt Meurer wrote: >>> - http://ps.informatik.uni-siegen.de/~meurer/tmp/compiletime_timings.pdf contains a comparison of the ocamlopt invocations. >>> - http://ps.informatik.uni-siegen.de/~meurer/tmp/runtime_timings.pdf contains comparison of the generated code. >>> >>> As can be seen from the results, amd64 is more sensitive to register allocator changes than i386. >> >> Well, this particular i386 CPU model is a strange guy - Northwoods have >> this extremely long pipeline, which is very sensitive to unforeseen >> jumps. It would be more interesting to see this test on a modern CPU in >> i386 mode. My guess is that it behaves then more like amd64. > > Modern CPUs most probably don't run ocaml in 32bit mode, but more likely in long mode. That's why we choose to run the i386 on "real 32bit hardware", where the ocaml i386 port is actually used. > > I'll rerun the benchmark in 32bit mode on a modern cpu to see how things change. Reran the benchmark with 32bit ocaml on the MBP (Early 2011), results are available at: http://ps.informatik.uni-siegen.de/~meurer/tmp/linscan-i7-i386-timings.pdf Benedikt