Mail Archives: pgcc/1999/05/10/15:43:03
On Mon, May 10, 1999 at 01:07:16PM +0100, Dr H. T. Leung wrote:
> If you had read the mailing list archive, it is terribly unfair to people
> on the list to cc you replies when you are not on the list. If you want to
> ask a question, subscribe, read on for a while, then post (then maybe
> unsubscribe).
Well, the official policy is to state that you are not on the the list
and just post your question. I don't think his particular posting was too
annoying, do you?
> very simple example, You were doing multipication "Pv1*v01" 4 times; that
> means retrieves 2 values from memory, multiply, store it back, done 4
No, it doesn't. This only puts more pressure on the optimizer, but the
examples it cannot handle are much more complicated.
> defining new variables like this and break down your calculation so that
> it doesn't re-do little multiplications like this;
This is useless for simple cases. It helps for difficult cases where the
compiler cannot optimize for aliasing or similar reasons .
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Raw text -