Re: Widening multiplication limitations

2013-03-27 Thread Frederic Riss
On 27 March 2013 10:05, Richard Biener wrote: > On Tue, Mar 26, 2013 at 6:30 PM, Frederic Riss > wrote: >> Here, the code trying to expand a signed by unsigned widening multiply >> explicitly checks that the operand isn't a constant. Why is that? I >> removed that condition to try to find the fa

Re: Widening multiplication limitations

2013-03-27 Thread Richard Biener
On Tue, Mar 26, 2013 at 6:30 PM, Frederic Riss wrote: > I was playing with adding support of the various modes of widening > multiplies on my backend, and hit some restrictions in the expansion > code that I couldn't explain to myself. These restrictions only impact > the signed by unsigned versio

Widening multiplication limitations

2013-03-26 Thread Frederic Riss
I was playing with adding support of the various modes of widening multiplies on my backend, and hit some restrictions in the expansion code that I couldn't explain to myself. These restrictions only impact the signed by unsigned version. The first limitation was about the detection of widening mu