Re: Improve partitioning decisions

2018-04-30 Thread Jan Hubicka
> > FAIL: gcc.dg/lto/20081204-2 c_lto_20081204-2_0.o-c_lto_20081204-2_0.o > link, -w -flto -fPIC -r -nostdlib (internal compiler error) > FAIL: gcc.dg/lto/20090914-2 c_lto_20090914-2_0.o-c_lto_20090914-2_0.o > link, -O2 -flto -fuse-linker-plugin (internal compiler error) > FAIL: gcc.dg/lto/2009101

Re: Improve partitioning decisions

2018-04-29 Thread H.J. Lu
On Sat, Apr 28, 2018 at 11:55 AM, Jan Hubicka wrote: > Hi, > with number of cores increasing our partitioning algorithm needs some love, > because it works quite bad. > > This patch fixes few issues with ballanced partitioning algorithm: > 1) I have switched all size/boundary summaries to 64bit a

Improve partitioning decisions

2018-04-28 Thread Jan Hubicka
Hi, with number of cores increasing our partitioning algorithm needs some love, because it works quite bad. This patch fixes few issues with ballanced partitioning algorithm: 1) I have switched all size/boundary summaries to 64bit arthmetics as they may overflow for very large units 2) inter