re: a.out binaries that are 66% faster than ELF

Marc Lehmann (mlehmann@hildesheim.sgh-net.de)
Thu, 27 Feb 1997 00:06:11 +0100 (MET)


> Yes, a.out is known to be generally faster than ELF, because
> ELF requires the use of an extra register. x86 processors being
> register-starved, I'm not surprised that you get the sort of result
> you quote. Generally the speed difference is negligible though (about
> 5%).

Wrong.. elf doesnt use an extra register in non-pic code, and
-fomit-frame-pointer has the same effect on both a.out and elf.

-----==-
----==-- _
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / mlehmann@hildesheim.sgh-net.de
-=====/_/_//_/\_,_/ /_/\_\ pcg@goof.com
The choice of a GNU generation