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: [rfc] slightly better reload constant rematerialization



First, we havn't collected reg_equiv_constant at the time we run
regclass.

How hard would it be to fix that? Maybe we can move update_equiv_regs before regclass, then look for registers that are equivalent to a constant, and use that information to determine register class preferences.


Addressing this in reload has the drawback that a register will be wasted to hold the constant which could be better used for something else.


Bernd



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