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] Make regrename call recog


Hello,

> preprocess_constraints is used to compute the register classes.
Ok I see.

> Well, there's a pretty awful way to describe it which involves one 
> constraint letter for every available register and one alternative per 
> possible starting register of the load multiple, but maybe you can 
> instead use Richard's suggestion of simply using an empty constraint string?
We have two types of lm stm instructions allowing for different address formats.
So leaving the constraint strings empty is no options here. And I still
would prefer regrename doing more checking than creating back end workarounds.
What about just invoking the insn predicates after a register is replaced?
This would not be as expensive as using recog and would fix the problems
as well.

Bye,

-Andreas-


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