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: [RFC] Contributing tree-ssa to mainline



On Jan 17, 2004, at 9:53 AM, Florian Weimer wrote:


Daniel Berlin wrote:

As Diego stated when SRA was committed, the following limitation exists:
/* Maximum number of fields that a structure should have to be
scalarized.
FIXME This limit has been arbitrarily set to 5. Experiment to find
a
sensible setting. */
#define MAX_NFIELDS_FOR_SRA 5


This was done, IIRC, to avoid severely increased register pressure.

If you want SRA to do something on your structure, you'll need to
increase that limit

If I go down to two fields/tuples of length two, the optimization doesn't kick in, either. 8-(
Hmmm. Interesting.
Can you file a bug report with this testcase (the length 2, which *should* be taken care of already), so it can be tracked?


--Dan


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