Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "H.W. Stockman" <hwstock@swcp.com>
Subject: Re: MFlops Comparison using g77 (bad news) - bench.tgz (0/1)
Date: 1997/09/26	[thread overview]
Message-ID: <342BCE8F.6559@swcp.com> (raw)
In-Reply-To: 6078ji$5j0@news2.zippo.com


Greg Lindahl wrote:
> 
> jwest@jwest.ecen.okstate.edu (Jim West) writes:
> 
> > I'm wondering if an optimizing compiler sould pick this up even without the
> > explicit definition of nx_r. Can anyone explain why it wouldn't?
> 
> aliasing?
> 
Likely.  Some compilers will do a global aliasing check,
which is fairly time-consuming -- it helps to have
all the source in one file.  Most (I've used) make
conservative aliasing assumptions, on a function-by-
function basis.  Some compilers allow "no alias"
pragmas to be placed around critical functions, but this
practice is generally regarded as "cheating" for
benchmarks.  Others have a switch for global assumption
of no aliasing -- a rather dangerous option.

FORTRAN aficionados like to tout lack of aliasing as
a great advantage.  But I ask naively: what keeps a FORTRAN
function declared foo(xarray, yarray) from being called
foo(xarray, xarray)?



  parent reply	other threads:[~1997-09-26  4:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5vqs28$3el@news-rocq.inria.fr>
1997-09-22  4:00 ` MFlops Comparison using g77 (bad news) - bench.tgz (0/1) Luke Lonergan
1997-09-22  4:00   ` Greg Lindahl
1997-09-22  4:00     ` Greg Lindahl
1997-09-22  4:00   ` Jim West
1997-09-23  4:00     ` Greg Lindahl
1997-09-23  4:00       ` Volker Barthelmann
1997-09-26  4:00       ` H.W. Stockman [this message]
1997-09-26  4:00         ` Greg Lindahl
1997-09-28  4:00           ` H.W. Stockman
1997-09-28  4:00             ` Greg Lindahl
1997-09-27  4:00         ` Toon Moene
1997-09-23  4:00     ` Luke Lonergan
1997-09-16  4:00 MFlops Comparison using g77 (bad news) Luke Lonergan
1997-09-16  4:00 ` Toon Moene
1997-09-16  4:00   ` MFlops Comparison using g77 (bad news) - bench.tgz (0/1) Luke Lonergan
1997-09-18  4:00     ` Thomas Leitner
1997-09-18  4:00       ` Andrew G. Morgan
1997-09-18  4:00     ` H.W. Stockman
read-only archive

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