Re: [RFC] Cse reducing performance of register allocation with -O2

2015-11-23 Thread Dominik Vogt
On Tue, Oct 13, 2015 at 11:06:48AM -0600, Jeff Law wrote: > On 10/13/2015 07:12 AM, Dominik Vogt wrote: > >In some cases, the work of the cse1 pass is counterproductive, as > >we noticed on s390x. The effect described below is present since > >at least 4.8.0. Note that this may not become manifes

Re: [RFC] Cse reducing performance of register allocation with -O2

2015-10-22 Thread Jeff Law
On 10/22/2015 09:08 AM, Vladimir Makarov wrote: On 10/22/2015 06:05 AM, Dominik Vogt wrote: On Tue, Oct 13, 2015 at 05:03:36PM -0400, Vladimir Makarov wrote: [snip] I checked my article ftp://ftp.uvsq.fr/pub/gcc/summit/2004/Fighting%20Register%20Pressure.pdf and GVN gave mostly 0.2% on eon on

Re: [RFC] Cse reducing performance of register allocation with -O2

2015-10-22 Thread Vladimir Makarov
On 10/22/2015 06:05 AM, Dominik Vogt wrote: On Tue, Oct 13, 2015 at 05:03:36PM -0400, Vladimir Makarov wrote: [snip] I checked my article ftp://ftp.uvsq.fr/pub/gcc/summit/2004/Fighting%20Register%20Pressure.pdf and GVN gave mostly 0.2% on eon only. The current environment is quite different (

Re: [RFC] Cse reducing performance of register allocation with -O2

2015-10-22 Thread Dominik Vogt
On Tue, Oct 13, 2015 at 05:03:36PM -0400, Vladimir Makarov wrote: [snip] > I checked my article > > ftp://ftp.uvsq.fr/pub/gcc/summit/2004/Fighting%20Register%20Pressure.pdf > > and GVN gave mostly 0.2% on eon only. The current environment is > quite different (IRA, LRA) so the results might be d

Re: [RFC] Cse reducing performance of register allocation with -O2

2015-10-14 Thread Jeff Law
On 10/13/2015 03:03 PM, Vladimir Makarov wrote: I checked my article ftp://ftp.uvsq.fr/pub/gcc/summit/2004/Fighting%20Register%20Pressure.pdf and GVN gave mostly 0.2% on eon only. The current environment is quite different (IRA, LRA) so the results might be different too. Yea, but if anyth

Re: [RFC] Cse reducing performance of register allocation with -O2

2015-10-13 Thread Vladimir Makarov
On 10/13/2015 01:06 PM, Jeff Law wrote: On 10/13/2015 07:12 AM, Dominik Vogt wrote: In some cases, the work of the cse1 pass is counterproductive, as we noticed on s390x. The effect described below is present since at least 4.8.0. Note that this may not become manifest in a performance issue p

Re: [RFC] Cse reducing performance of register allocation with -O2

2015-10-13 Thread Jeff Law
On 10/13/2015 07:12 AM, Dominik Vogt wrote: In some cases, the work of the cse1 pass is counterproductive, as we noticed on s390x. The effect described below is present since at least 4.8.0. Note that this may not become manifest in a performance issue problem on all platforms. Also note that

[RFC] Cse reducing performance of register allocation with -O2

2015-10-13 Thread Dominik Vogt
In some cases, the work of the cse1 pass is counterproductive, as we noticed on s390x. The effect described below is present since at least 4.8.0. Note that this may not become manifest in a performance issue problem on all platforms. Also note that -O1 does not show this behaviour because the r