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: register class constraints question


Joern Rennecke <joernr@arc.com> writes:
> I'm not sure if this changed with IRA,

Acts the same with 4.3 and 4.4.

> reload will look for the alternative with the cheapest total cost of
> alternative and reloads.

This was the key.  Disparaging the smaller class's alternative with
'?'  works - it avoids the regalloc problem, yet that alternative ends
up being used anyway (coincidence).

Thanks!


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