Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: lindahl@pbm.com (Greg Lindahl)
Subject: Re: optimized (or optimizable) C programming?
Date: 1999/10/04	[thread overview]
Message-ID: <7taepo$re5@news2.newsguy.com> (raw)
In-Reply-To: 37F8AC50.13AA8F7D@ife.ee.ethz.ch

Alex Rhomberg <rhomberg@ife.ee.ethz.ch> writes:

> Is there a way I can tell the compiler that RHS arrays don't change for
> some part of the code? Pragma or something?

Some C compilers have a #pragma noalias, which makes them behave more
like Fortran compilers. I don't know what ccc has.

> Is writing optimized C code witchcraft and sorcery?

Well, you could always switch to fortran ;-)

-- g



  reply	other threads:[~1999-10-04  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-04  4:00 optimized (or optimizable) C programming? Alex Rhomberg
1999-10-04  4:00 ` Greg Lindahl [this message]
1999-10-05  4:00 ` Robert Harley
1999-10-05  4:00   ` Alex Rhomberg
1999-10-05  4:00     ` ccc code wierdness Alex Rhomberg
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