Re: [committed] Fix expand_mult (PR middle-end/56420)

2013-08-19 Thread Mike Stump
On Feb 21, 2013, at 1:35 PM, Jakub Jelinek wrote: > I've committed the following fix for the following testcase. > When scalar_op1 is 0x8000 with 64-bit HWI, > it matches EXACT_POWER_OF_2_OR_ZERO_P, but we should expand it as > negation of the << 63 shift rather than th

[committed] Fix expand_mult (PR middle-end/56420)

2013-02-21 Thread Jakub Jelinek
Hi! I've committed the following fix for the following testcase. When scalar_op1 is 0x8000 with 64-bit HWI, it matches EXACT_POWER_OF_2_OR_ZERO_P, but we should expand it as negation of the << 63 shift rather than the << 63 shift alone. The patch also improves multipli