This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

alignment


On x86, both gcc 2.7.2.3 and "2.96 19991116" are inserting `.align 4'
ops after `jmp' instructions and also prior to `__asm__ __volatile__'.

This causes a ~5% code size increase in the one Linux kernel file I
looked at.

Why does the compiler do this, and what would be the downside of turning
it off?

Thanks.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]