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: Why can't CSE recognize const_int's in HIGH LO_SUM pair?


>>>>> Richard Henderson writes:

Richard> The thing I like about exposing the split early is that
Richard> gcse gets to move these expressions around.  If you expose
Richard> the split later, nothing is going to move the parts around
Richard> as aggressively.

	However, splitting the constant early inhibits other optimizations
in GCC which do not see the entire constant.  Additionally, other parts of
GCC do not try to synthesize the larger constants internally if patterns
don't accept the full constant range.

David


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