What to do when constraint doesn't match

Jim Wilson wilson@specifix.com
Thu Mar 15 19:25:00 GMT 2007


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



More information about the Gcc mailing list