Re: [PATCH] Improve add/sub double word splitters (PR rtl-optimization/70467)

2016-04-01 Thread Uros Bizjak
On Fri, Apr 1, 2016 at 3:18 PM, Jakub Jelinek wrote: > Hi! > > As the testcase below shows, we generate awful code for double word > additions/subtractions if the last argument is a constant that has the > whole low word 0 (and only nonzero some of the upper bits). > In that case, there is no poin

[PATCH] Improve add/sub double word splitters (PR rtl-optimization/70467)

2016-04-01 Thread Jakub Jelinek
Hi! As the testcase below shows, we generate awful code for double word additions/subtractions if the last argument is a constant that has the whole low word 0 (and only nonzero some of the upper bits). In that case, there is no point doing useless addl $0, ... followed by adcl $something, ... bec