[Bug ipa/65478] [5 regression] crafty performance regression

2015-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/65478] [5 regression] crafty performance regression

2015-04-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #25 from Jan Hubicka --- Crafty perfomrance is back (with a combination of better heuristics and increase of inlining limits), eon is not, at least not in all configurations. We have separate eon PR, so I am closing this one.

[Bug ipa/65478] [5 regression] crafty performance regression

2015-04-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #24 from rguenther at suse dot de --- On Wed, 1 Apr 2015, hubicka at ucw dot cz wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 > > --- Comment #23 from Jan Hubicka --- > > Seems to be a regression with -flto only? I a

[Bug ipa/65478] [5 regression] crafty performance regression

2015-04-01 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #23 from Jan Hubicka --- > Seems to be a regression with -flto only? I also see EON regressing without > -flto. Yes, the inlining is cross file. > > http://gcc.opensuse.org/SPEC/CINT/sb-megrez-head-64/index.html Saw that one too. I

[Bug ipa/65478] [5 regression] crafty performance regression

2015-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Richard Biener changed: What|Removed |Added Status|WAITING |NEW --- Comment #22 from Richard Biener

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #21 from Richard Bi

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-31 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #20 from rguenther at suse dot de --- On Mon, 30 Mar 2015, hubicka at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 > > --- Comment #19 from Jan Hubicka --- > Actually at second thought, would BIT_FIEL

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-30 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #19 from Jan Hubicka --- Actually at second thought, would BIT_FIELD_REF allow us to avoid the actual memory store? I tought like COMPONENT_REF it takes address as parameter. What I am hoping is to fully optimize out union doub x; at

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-30 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #18 from Marc Glisse --- (In reply to Richard Biener from comment #16) > But yes, in principle we can do sth fancy for union loads, though I'd > use BIT_FIELD_REFs (hoping no issues wrt endian...) as the canonical > and "easy" way to

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-30 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #17 from Jan Hubicka --- > : > x.d = arg1_3(D); > _5 = x.i[3]; > if (_5 != 0) > goto ; > else > goto ; > ... > : > _12 = x.i[2]; > if (_12 != 0) > goto ; > else > goto ; > > to sth like > > : >

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #16 from Richard Biener --- (In reply to Jan Hubicka from comment #15) > The inline bump needed is about 23. Richard, i guess convincing early > optimizers to turn that hack into shifts (that is done by GCC but only at > RTL time), i

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #15 from Jan Hubicka --- The inline bump needed is about 23. Richard, i guess convincing early optimizers to turn that hack into shifts (that is done by GCC but only at RTL time), is out of reach for this release, right?

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #14 from Jan Hubicka --- Author: hubicka Date: Sun Mar 29 15:38:52 2015 New Revision: 221763 URL: https://gcc.gnu.org/viewcvs?rev=221763&root=gcc&view=rev Log: PR ipa/65478 * params.def (PARAM_IPA_CP_RECURSION_PENALTY) : New

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-29 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Jan Hubicka changed: What|Removed |Added CC||rguenther at suse dot de --- Comment #13 f

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #12 from Martin Jambor --- (In reply to Jan Hubicka from comment #9) > Actually, there is one detail. Cloning SCC and keeping it a SCC is cool > thing (as one avoid passing constant parameter across the recursive loop), > but clonnin

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-27 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #11 from Martin Jambor --- Created attachment 35159 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35159&action=edit Patch implementing cloning penalties (In reply to Martin Jambor from comment #8) > (In reply to Jan Hubicka fr

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-25 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-25 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #9 from Jan Hubicka --- > > This suggests that cloning of function Search and not inlining > > NextMove is only part of the story. > > > > I'm attaching output of my script that compares inlining decisions. > "File 1" is wpa inlinin

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #8 from Martin Jambor --- Created attachment 35127 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35127&action=edit Inlining decisions difference (In reply to Martin Jambor from comment #6) > This suggests that cloning of funct

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-24 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #7 from Jan Hubicka --- > > We also may consider adding bit of negative hints for cases where > > cloning would turn function called once (by noncold edge) to a > > function called twice. > > This would be much easier, although the p

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-24 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment #

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-20 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #5 from Jan Hubicka --- Thre regression seems to be visible at http://gcc.opensuse.org/SPEC/CINT/sb-frescobaldi.suse.de-ai-64/186_crafty_big.png

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-20 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 --- Comment #4 from Jan Hubicka --- > Which options (LTO?)? I can't see the regression on our testers. -Ofast -flto -funroll-loops Honza

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug ipa/65478] [5 regression] crafty performance regression

2015-03-19 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65478 Jan Hubicka changed: What|Removed |Added Component|tree-optimization |ipa Summary|crafty performance