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: Load insn register restrictions


On Apr 12, 2004, at 16:22, Paul Brook wrote:
I'm trying to add a new doubleword load instruction to the ARM backend. It has
the restriction that the index register must not be one of the destination
registers. For example ldrd r0, [r2 + r3] is valid, but ldrd r0, [r2+r0] is
not.


I can't figure out how to express this in the machine description.
Any suggestions?

Isn't this the '&' (earlyclobber) operand constraint?



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