Mail Archives: djgpp/2000/10/20/02:16:31
> From: gdemont AT my-deja DOT com
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 19 Oct 2000 20:51:12 GMT
>
> Hans-Bernhard Broeker :
>
> > *How much* slower? It's really hard to speak about optimization
> > differences if their size is not known. Is it: a percent slower?
> > Fifty? Taking 5 times as long?
>
> No no, be reassured: a few percents.
A few percents might as well be due not to the code itself, but to
code and data alignment, which have greater effect on Pentium CPUs.
Make sure you are using the latest Binutils version, which aligns code
and data in the optimal way.
Also, GCC 2.95.2 emits smart alignment directives, as per Intel's
recommendations, which are supported only by Binutils 2.9.x and later.
So by using the latest compiler and Binutils you will have the best
combination as far as alignment is concerned.
- Raw text -