Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Jan-Jaap van der Heijden
Subject: Bug fixes (was: "Recursion, need more stack space.")
Date: 17 Jun 1997, 00:43:29
On Sun, 5 May 2097, PredatorZeta wrote: > Peter Gerwinski <peter@agnes.dida.physik.uni-essen.de> wrote: > > > Or else: Loading the memory reference into a register and > > pushing that *might* be faster than a direct push (don't know). > > Just little clarifying.....:)) > No. Surely not on 80x86 machines. Look this (is for Pentium): > > 1 push (mem) take 2 cycles NOT pairable > > 2 a) mov (mem), reg take 1 cycle pairable > AGI Stall (1 cycle+cut off pairing > system) > b) push reg take 1 cycle pairable > > TOTAL: 3 cycles > > Well, is 2 (not pairable) versus 2 1/2 (not pairable) cycles..... > However, with a manual re-ordering it could take only 1 cycle...8-)) > The GCC 2.7.2.x backend used by GPC knows nothing about pentium optimzations or instruction scheduling. However, I happen to have a Cygnus-CDK based GPC around that _does_ know pentium optimizations and it still produces the same assembly. So, I guess more work is needed here (by the GCC crew), although this compiler produces significantly faster code already :-) JanJaap --- With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC1925.
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| PredatorZeta | Bug fixes (was: "Recursion, need more stack space.") |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).