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]
Other format: [Raw text]

Re: Optimization of conditional access to globals: thread-unsafe?


Robert Dewar wrote:

Yes, of course! unrolling loops is often an overall loss

Note also that excessive inlining often is a loss due to increase in icache pressure. In Ada it is the style to carefully mark inlinable routines with pragma Inline, and we often find in Ada that use of -O3, which activates automatic inlining, going beyond what the programmer has asked for, is often an overall loss.




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