Mail Archives: pgcc/1999/04/28/14:14:58
On Wed, Apr 28, 1999 at 06:58:18PM +0200, Olivier Tubach wrote:
>
> the O0 runs in 1.22 secs, the -O3 and pgcc runs in 54 secs. No
> difference !
> When I file the executables, I get:
> O0: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically
> linked (uses shared libs), stripped
> O3: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically
> linked (uses shared libs), stripped
> pgcc: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically
> linked (uses shared libs), stripped
>
> So.... do I really got pentium optimized code ? How do I recognize
> pentium-specific code (with file?)
There is no easy way that I'm aware of.
> I didn't get a 'pgcc' executable. Should I use cc ? gcc ? (I used cc) ?
> Should I make a link for pgcc ?
If cc is linked to /usr/local/bin/gcc, then using cc is fine. If you use
gcc you will probably get your old /usr/bin/gcc.
> Can pgcc (and vanilla gcc?) can be more explicit when pentium
> acceleration is -silently- ignored ?
> Was my installation correct ?
> Should I recompile ALL my objects (including librairies) ?
You could try that. But be very careful if you want to compile
libc with -O6.
Depending on your program, optimizing your libraries will or will
not improve speed. If it's calling your libraries all the time,
it should help.
> One thing: old gcc refuse above pgcc options cc1: Invalid option
> 'stack-align-double'. So I'm (99%) sure I compiled with pgcc.
>
As far as I can tell, your installation is correct. To make sure the
executables generated by old gcc -O3, en pgcc -O6 are different, check
their sizes or do a diff.
Ronald
- Raw text -