www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/05/11/02:08:57

X-Url: http://www.deakin.edu.au/~dpyke
Message-Id: <4.1.19990511160505.00a3c640@mail-s.deakin.edu.au>
X-Sender: dspyke AT mail-s DOT deakin DOT edu DOT au
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Date: Tue, 11 May 1999 16:08:36 +1100
To: pgcc AT delorie DOT com
From: David Pyke <dspyke AT deakin DOT edu DOT au>
Subject: Re: Optimization question
Cc: David Whysong <dwhysong AT physics DOT ucsb DOT edu>
In-Reply-To: <Pine.LNX.4.04.9905101557370.15643-100000@sal.physics.ucsb.
edu>
References: <19990511004113 DOT N22062 AT cerebro DOT laendle>
Mime-Version: 1.0
Reply-To: pgcc AT delorie DOT com

---
<snip>
---
>Hand optimizing the full 3300 lines of code has so far resulted in a
>factor of two speed increase, and I'm not finished yet.
>
>I suspect the problem is a lack of registers, assuming (from what you said
>before) that the compiler will only do CSE if there is a spare register. I
>would have thought the compiler would use temporary variables on the stack
>if no registers are available, but then again I don't write compilers.
>
well i don't know much about pgcc (or compilers) either but it sound like
it would be a good candidate for an optimisation overide flag.  so you can
say  'I want you to use this even though there aren't free registers so use
the stack" type thing.

thoughts??  impossible/too hard/not worth it/implemented allready/other ????

Shoe Lace.
--
------------
People greatly underestimate the seriousness of the Y2K bug.
After all, to fix the problem, a computer programmer needs to find a date...
and we all know the likelihood of that happening!
-----------
Important Notice: The contents of this email transmission, including
attachments, may be privileged and confidential.  Any unauthorised use of
the contents is expressly prohibited.  If you have received this
transmission in error, please advise the sender by return email or
telephone immediately and destroy all versions.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019