On Sat, May 11, 2013 at 4:19 AM, Jan Hubicka <hubi...@ucw.cz> wrote: >> > >> > BTW2: We badly need to figure out a way to create test cases for FDO... :-( >> >> Yes. I had tried testing awhile back with the gcc regression tests and >> enabling -freorder-blocks-and-partition, but none of the issues I was >> having with larger benchmarks fired. I think there just aren't enough >> (or large/complex enough?) FDO tests in gcc.dg/tree-prof and elsewhere >> to trigger this. I was able to trigger many of the issues when >> compiling cpu2006 with fdo and partitioning enabled, but it will take >> some work to cut them down. > > Yep, we do not have that many testcases in tree-prof and modifying i.e. > gcc.c-torture/execute to run with -fprofile-generate/-fprofile-use by default > is probly bit of overkill. Having easy way to do that optionally may be > interesting though. > > Once -freorder-blocks-and-partition actually works, we should enable it by > default with -fprofile-generate (I recall I was trying to do that once, but > I am not sure what was outcome back then and why it did not happen). > That should get it tested with profiledbootstrap, too.
I don't remember if I tried enabling splitting with a profiledbootstrap - that sounds like a great stress test. I can try enabling it locally with my patch and running that as a test. Teresa > > Honza >> >> Thanks, >> Teresa >> >> > >> > Ciao! >> > Steven >> >> >> >> -- >> Teresa Johnson | Software Engineer | tejohn...@google.com | 408-460-2413 -- Teresa Johnson | Software Engineer | tejohn...@google.com | 408-460-2413