comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com (Gautier)
Subject: Re: comparing gnat/Ada95 and g77
Date: 16 Mar 2002 06:00:00 -0800
Date: 2002-03-16T14:00:01+00:00	[thread overview]
Message-ID: <17cd177c.0203160600.6878b267@posting.google.com> (raw)
In-Reply-To: a6sjb3$em8$1@snipp.uninett.no

Reinert Korsnes:

> For the Ada95 program I used:
> 
>  gnatmake test1.adb -cargs -O3 -ffast-math 

Hello!

* To compare Ada with Fortran, you should also suppress all checks,
i.e. for GNAT: -gnatp . At least with Compaq Ada where I did compare,
the Suppress_All pragma brought the perfomance near to the F77 one
(a few percents off)

* The automatic inlining is often counter-productive, so I would
use -O2 rather than -O3, but enable the cross-unit inlining,
i.e. -gnatn .

HTH
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, address on the Web site!



  parent reply	other threads:[~2002-03-16 14:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14  9:47 comparing gnat/Ada95 and g77 Reinert Korsnes
2002-03-14 10:37 ` John McCabe
2002-03-14 11:00   ` Preben Randhol
2002-03-15 10:44   ` Reinert Korsnes
2002-03-15 12:14     ` John McCabe
2002-03-15 17:53       ` Georg Bauhaus
2002-03-16 14:00     ` Gautier [this message]
2002-03-14 10:58 ` Martin Dowie
2002-03-14 11:04   ` chris.danx
2002-03-14 11:07     ` Bobby D. Bryant
2002-03-14 11:41     ` David C. Hoos, Sr.
2002-03-14 11:06   ` Preben Randhol
2002-03-14 16:43     ` Jeffrey Carter
2002-03-14 11:14 ` Gerald Kasner
2002-03-14 12:59   ` Gary Scott
2002-03-14 13:17     ` Jean-Marc Bourguet
2002-03-15  0:52       ` Gary Scott
2002-03-14 16:19     ` Dan Andreatta
2002-03-15  9:35       ` Gerald Kasner
2002-03-14 17:31   ` Toshitaka Kumano
2002-03-14 16:40 ` Jeffrey Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox