This is the mail archive of the gcc-patches@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: [PATCH] Fix handling of very long asm statements in inliner


> That doesn't sound enough, unless there is already code out there
> that respects this count.  1000 at 4 bytes per instruction is only
> 4k.   More that small enough for the rest of the compiler to think
> that it could jump around such blocks cheaply.
> 
> I think a limit of 1M or more might be more appropriate.

I got an overflow for 6.4M, so 1M would be dangerously near that.
100k perhaps ? 

This was not for jump shortening, but the inliner heuristics.

In the worst case we could separate the two, would be a larger
patch though.

-Andi


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