Re: PR82816: Widening multiplies of bitfields

2017-11-06 Thread Richard Biener
On Fri, Nov 3, 2017 at 4:40 PM, Richard Sandiford wrote: > In this PR we tried to create a widening multiply of two 3-bit numbers, > but that isn't a widening multiply at the optab/rtl level, since both > the input and output still have the same mode. > > We could trap this either in is_widening_m

Re: PR82816: Widening multiplies of bitfields

2017-11-04 Thread Richard Sandiford
Richard Sandiford writes: > In this PR we tried to create a widening multiply of two 3-bit numbers, > but that isn't a widening multiply at the optab/rtl level, since both > the input and output still have the same mode. > > We could trap this either in is_widening_mult_p or (as the patch does) >

PR82816: Widening multiplies of bitfields

2017-11-03 Thread Richard Sandiford
In this PR we tried to create a widening multiply of two 3-bit numbers, but that isn't a widening multiply at the optab/rtl level, since both the input and output still have the same mode. We could trap this either in is_widening_mult_p or (as the patch does) in the routines that actually ask for