Mail Archives: pgcc/1999/03/12/16:24:47
On Fri, Mar 12, 1999 at 02:36:40PM +0100, Henrik Berglund SdU wrote:
> I have notised that the 1.1.1 release of pgcc optimises better when it
> comes to float than the snapshot but maybe a bit slower at int.
That might be caused by bugs that were fixed, but sometimes made a program
faster. Often you have bugs that are easy to fix: you know that the
transformation you make is safe in 90% of the cases, but you can't check
for the remaining 10%, so you have to disable them all.
> the best flags for good float are
> -O6 -march=amdk6 -funroll-all-loops -fforce-addr
-fforce-addr is included in -O2 and up anyway, but apart from that I'd say
yes. Esp. loop unrolling is critical.
One might experiment with -fschedule-insns. It sometimes helps and sometimes
makes your code much slower...
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Raw text -