Mail Archives: pgcc/1999/04/28/19:52:34
On Wed, Apr 28, 1999 at 10:32:59PM +0200, Ronald de Man wrote:
>
> This works for gcc (and gives output similar to `gcc -v`).
> I think the question was how to recognize that an arbitrary
> binary has been compiled with pentium optimizations. I know
> of no way to determine this.
Benchmark it against a known non-optimized version ;-> (sorry, I couldn't
resist).
Judging from the original mail, I think the binary was indeed pentium
optimized. Possible sources of errors include:
- not _really_ using pgcc to compile the binary.
- pgcc didn't optimize at all
- wrong testing methodology
However, its very very rare that a pgcc-optimized cpu-intensive program
shows _exactly_ the same execution time as a gcc-optimized.
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Raw text -