On 11/20/2017 02:07 PM, Jakub Jelinek wrote:
> Hi!
> 
> Apparently ARM can do the widening SImode multiply only using a libcall,
> so the recently changed expand_mul_overflow ignores it at first, then
> sees possibility to use the HImode code, but uses expand_simple_binop
> with OPTAB_DIRECT which requires actual HImode optabs, which ARM doesn't
> have, it needs to use widening to SImode.
> 
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
> 
> 2017-11-20  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR target/82981
>       * internal-fn.c (expand_mul_overflow): Use OPTAB_WIDEN instead of
>       OPTAB_DIRECT in calls to expand_simple_binop.
OK.
jeff

Reply via email to