From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 634 invoked by alias); 3 Jun 2003 15:42:55 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 520 invoked from network); 3 Jun 2003 15:42:55 -0000 Received: from unknown (HELO mail.goquest.com) (12.18.108.6) by sources.redhat.com with SMTP; 3 Jun 2003 15:42:55 -0000 Received: (qmail 15652 invoked by uid 0); 3 Jun 2003 15:42:48 -0000 Received: from mszick@goquest.com by mail.goquest.com by uid 502 with qmail-scanner-1.16 (spamassassin: enabled. Clear:. Processed in 0.725586 secs); 03 Jun 2003 15:42:48 -0000 Received: from unknown (HELO wolf686) (66.90.216.250) by mail.goquest.com with SMTP; 3 Jun 2003 15:42:47 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Michael S. Zick To: Geert Bosch , Laurent GUERBY Subject: Re: [G95] Re: [tree-ssa] Integrating g95 Date: Tue, 03 Jun 2003 15:53:00 -0000 Cc: Neil Booth , Daniel Berlin law@redhat.com, "gcc@gcc.gnu.org" References: <9DA7C18C-95C0-11D7-948C-00039344BF4A@gnat.com> In-Reply-To: <9DA7C18C-95C0-11D7-948C-00039344BF4A@gnat.com> MIME-Version: 1.0 Message-Id: <03060310341000.00955@wolf686> Content-Transfer-Encoding: 8bit X-SW-Source: 2003-06/txt/msg00263.txt.bz2 On Tuesday 03 June 2003 07:40 am, Geert Bosch wrote: > On Sunday, Jun 1, 2003, at 15:15 America/New_York, Laurent GUERBY wrote: > > Do we have way to measure / count how many target arithmetic operations > > we do when compiling "typical" program? > > The typical program doesn't really use floating-point at all. The issue > is with those few programs/libraries with tons of computation in it. > For Ada, there are some test cases that spend most of the compile time > doing high-precision arithmetic to compute constants for polynomial > approximations to functions. > > Now of course, this is mostly because Ada requires calculations of > "static" expressions (subset of compile-time known expressions) to be > performed exactly. > Ouch. > > However, if you are doing a lot of inlining and compile numerical code, > I wouldn't be surprised if you'd do a lot of target arithmetic and find > that for some programs the time required is significant. > > -Geert Is the Ada compiler (at compile time) using an external (to Ada) multi-precision library? If not, could it? Could one mp library be used (at compile time) for both g95 & Ada? Might that also simplifing 'lifting' the Ada library(ies) upto the library level in the build tree? Mike