Re: [wide-int 3/8] Add and use udiv_ceil

2014-05-02 Thread Richard Sandiford
Richard Sandiford writes: > Just a minor tweak to avoid several calculations when one would do. > Since we have a function for rounded-up division, we might as well > use it instead of the (X + Y - 1) / Y idiom. > > Tested on x86_64-linux-gnu. OK to install? I ended up reverting this. I'd assum

Re: [wide-int 3/8] Add and use udiv_ceil

2014-04-23 Thread Richard Biener
On Tue, Apr 22, 2014 at 9:51 PM, Richard Sandiford wrote: > Just a minor tweak to avoid several calculations when one would do. > Since we have a function for rounded-up division, we might as well > use it instead of the (X + Y - 1) / Y idiom. > > Tested on x86_64-linux-gnu. OK to install? Ok.

[wide-int 3/8] Add and use udiv_ceil

2014-04-22 Thread Richard Sandiford
Just a minor tweak to avoid several calculations when one would do. Since we have a function for rounded-up division, we might as well use it instead of the (X + Y - 1) / Y idiom. Tested on x86_64-linux-gnu. OK to install? Thanks, Richard Index: gcc/dwarf2out.c