Re: [PATCH] Fix expand_divmod (PR middle-end/86627)

2018-07-24 Thread Richard Biener
On Tue, 24 Jul 2018, Jakub Jelinek wrote: > Hi! > > As the following testcase shows, expand_divmod stopped emitting int128 > signed divisions by positive small (fitting into hwi) power of two constants > in my r242690 aka PR78416 fix, where I've added next to > EXACT_POWER_OF_2_OR_ZERO_P uses a c

[PATCH] Fix expand_divmod (PR middle-end/86627)

2018-07-24 Thread Jakub Jelinek
Hi! As the following testcase shows, expand_divmod stopped emitting int128 signed divisions by positive small (fitting into hwi) power of two constants in my r242690 aka PR78416 fix, where I've added next to EXACT_POWER_OF_2_OR_ZERO_P uses a check that either the bitsize is smaller or equal to hwi