Mail Archives: pgcc/1999/03/12/15:37:02
On Fri, Mar 12, 1999 at 08:34:09AM +0100, Michael Hanke wrote:
> > without size optimization for K6. Also I noted that gzip compiled for
> > pentium is slower that gzip compiled for amdk6 on amd machine, this kinda
> > shows that amdk6 optimization actually works quite nicely. I use Stampede
> This note gives me the opportunity to ask about the real gain of pgcc
> on AMD chips. I have an old K5 processor. Since I am mainly
> interested in scientific computing, I would like to know the possible
> gain for fpu intense applications (e.g. BLAS). And the best possible
Nobody knows them. I guess
-O6 -funroll-all-loops -mstack-align-double
might do well. You can try -mk6, -mk5 (-mamdk6, -mamdk5 in the release)
or -m486 or -mpentium. It'd be nice to hear back what the fastest combination
is.
> flags (IEEE arithmetic is essential!). Recently, I am using gcc 2.7.2
> with -m486. Moreover, most programs are
You might also try -mieee-fp. Unfortunately, the x86 fpu is not ieee
compliant (not the hardware, that is, of course you can emulate it in
software), so you might need -ffloat-store and worse, but these make your
program really slow.
> written in FORTRAN. Is there a pg77 available or should I resort to
> f2c?
Unless my mind is totally boggled I even have pg77 binaries on the pgcc
server(s).
> The main exception in my applications are qt/KDE/lyx. Does anybody
> have experiences in the gain in speed for these programs?
Well, given that my perl-gtk programs run just as fast as their c-written
counterparts I don't think program speed is the limiting factor for these.
(there are exceptions, of course, an opimized imlib or gimp does make a
difference ;)
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Raw text -