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]

Re: Sigh. Inlining heuristics.


<<The way gcc currently generates code, you'll often get _worse_ code from
inlining, because it often adds register pressure when gcc decides to keep
stuff live for long stretches. Very noticeable on x86 with the few
registers - you can get into stack slot reload hell, causing much worse
code generation than if you didn't inline.
>>

That exactly corresponds to our experience with GNAT on the x86.


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