Re: [PATCH] Small expand_mul_overflow improvement (PR target/82981)

2017-11-15 Thread Richard Biener
On Tue, 14 Nov 2017, Jakub Jelinek wrote: > Hi! > > For targets that don't have {,u}mulv4 insn we try 3 different > expansions of the basic signed * signed -> signed or unsigned * unsigned -> > unsigned overflow computation. The first one is done if >if (GET_MODE_2XWIDER_MODE (mode).exi

[PATCH] Small expand_mul_overflow improvement (PR target/82981)

2017-11-14 Thread Jakub Jelinek
Hi! For targets that don't have {,u}mulv4 insn we try 3 different expansions of the basic signed * signed -> signed or unsigned * unsigned -> unsigned overflow computation. The first one is done if if (GET_MODE_2XWIDER_MODE (mode).exists (&wmode) && targetm.scalar_mode_supporte