Re: Reason for extra NOPs instructions ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manoj K Sharma wrote:
Hi All,
I have recently shifted from x86 based targets to Pentium based. This
obviously resulted in shift from gcc for I80486 to gcc pentium cross
compiler.

I see some increase in my .text segment size(compare to gcc for I80486).
On investigating it, I found that it is mainly because lot of NOPs being
insterted in between. This results in bigger .text segment than what I
see in case of gcc for I80486.

Could some one please explain whats the idea behind inserting these many
NOPs ???

cache aligning jump targets -- especially in loops.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux