[patch] m32c: fix pr54950

2012-10-17 Thread DJ Delorie
Fixed 16-bit widening multiplies by a constant by limiting constant matches to 16 bit constants. Applied. PR target/54950 * config/m32c/predicates.md (m32c_const_u16_operand): New. * config/m32c/muldiv.md: Use it. Index: config/m32c/predicates.md

Re: [patch] m32c: fix pr54950

2012-10-17 Thread Ramana Radhakrishnan
On 18 Oct 2012, at 02:50, DJ Delorie wrote: > > Fixed 16-bit widening multiplies by a constant by limiting constant > matches to 16 bit constants. Applied. > >PR target/54950 >* config/m32c/predicates.md (m32c_const_u16_operand): New. >* config/m32c/muldiv.md: Use it. > > Index:

Re: [patch] m32c: fix pr54950

2012-10-17 Thread DJ Delorie
> Are you sure you meant to have an fprintf in a match_test ? I definitely did not. Removed. Thanks!