; > + while (order--)
> > +*v3++ = (uint32_t) *v1++ * *v2++;
> > +}
> > +
> > +void
> > +vec_widen_smul32(int64_t* __restrict v3, int32_t *v1, int32_t *v2, int
> > order)
> > +{
> > + while (order--)
> > +*v3++ = (int64_t) *v1++ * *v2++
On Wed, Jul 28, 2021 at 10:35 AM liuhongt wrote:
>
> Hi:
> As described in PR 39821, WIDEN_MULT_EXPR should use a different cost
> model from MULT_EXPR, this patch add ix86_widen_mult_cost for that.
> Reference basis for the cost model is https://godbolt.org/z/EMjaz4Knn.
>
> Bootstrapped and r
Hi:
As described in PR 39821, WIDEN_MULT_EXPR should use a different cost
model from MULT_EXPR, this patch add ix86_widen_mult_cost for that.
Reference basis for the cost model is https://godbolt.org/z/EMjaz4Knn.
Bootstrapped and regtested on x86_64-linux-gnu{-m32,}.
gcc/ChangeLog:
*