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: What to do when constraint doesn't match


Mohamed Shafi wrote:
I have a define_expand with the pattern name mov<mode> and a
define_insn mov<mode>_store
I also have a pattern for register move from 'a' to 'b', call it
mov<mode>a2b.

You have to have a single mov<mode> pattern that accepts all valid constraint combinations. You can't use two separate patterns like this.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com



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