Re: znver3 tuning part 1

2021-03-31 Thread Jan Hubicka
> On 3/31/21 1:08 PM, Jan Hubicka wrote: > > > > > > 2021-03-15 Jan Hubicka > > > > > > * config/i386/i386-options.c (processor_cost_table): Add znver3_cost. > > > * config/i386/x86-tune-costs.h (znver3_cost): New gobal variable; copy > > > of znver2_cost. > > > > I have backported the

Re: znver3 tuning part 1

2021-03-31 Thread Martin Liška
On 3/31/21 1:08 PM, Jan Hubicka wrote: 2021-03-15 Jan Hubicka * config/i386/i386-options.c (processor_cost_table): Add znver3_cost. * config/i386/x86-tune-costs.h (znver3_cost): New gobal variable; copy of znver2_cost. I have backported the patch to gcc10 branch as

Re: znver3 tuning part 1

2021-03-31 Thread Jan Hubicka
> > 2021-03-15 Jan Hubicka > > * config/i386/i386-options.c (processor_cost_table): Add znver3_cost. > * config/i386/x86-tune-costs.h (znver3_cost): New gobal variable; copy > of znver2_cost. I have backported the patch to gcc10 branch as g:aa99212489545c6c970a8f91b3d37ea646

RE: znver3 tuning part 1

2021-03-23 Thread Kumar, Venkataramanan via Gcc-patches
[AMD Public Use] Hi Honza, > -Original Message- > From: Jan Hubicka > Sent: Monday, March 22, 2021 4:31 PM > To: Kumar, Venkataramanan > Cc: gcc-patches@gcc.gnu.org; mjam...@suse.cz > Subject: Re: znver3 tuning part 1 > > [CAUTION: External Email] > >

Re: znver3 tuning part 1

2021-03-22 Thread Richard Biener via Gcc-patches
On Mon, Mar 22, 2021 at 12:02 PM Jan Hubicka wrote: > > > > Hi, > > > I plan to commit some retuning of znver3 codegen that is based on real > > > hardware benchmarks. It turns out that there are not too many changes > > > necessary sinze Zen3 is quite smooth upgrade to Zen2. In summary: > > > >

Re: znver3 tuning part 1

2021-03-22 Thread Jan Hubicka
> > Hi, > > I plan to commit some retuning of znver3 codegen that is based on real > > hardware benchmarks. It turns out that there are not too many changes > > necessary sinze Zen3 is quite smooth upgrade to Zen2. In summary: > > > > - some instructions (like idiv) have shorter latencies. Adj

Re: znver3 tuning part 1

2021-03-22 Thread Martin Liška
Honza, Thank you for working on this. -Original Message- From: Gcc-patches On Behalf Of Jan Hubicka Sent: Monday, March 15, 2021 3:33 PM To: gcc-patches@gcc.gnu.org; mjam...@suse.cz Subject: znver3 tuning part 1 [CAUTION: External Email] Hi, I plan to commit some retuning of znver3

RE: znver3 tuning part 1

2021-03-22 Thread Kumar, Venkataramanan via Gcc-patches
[AMD Official Use Only - Internal Distribution Only] Hi Honza, Thank you for working on this. > -Original Message- > From: Gcc-patches On Behalf Of Jan > Hubicka > Sent: Monday, March 15, 2021 3:33 PM > To: gcc-patches@gcc.gnu.org; mjam...@suse.cz > Subject: zn

znver3 tuning part 1

2021-03-15 Thread Jan Hubicka
Hi, I plan to commit some retuning of znver3 codegen that is based on real hardware benchmarks. It turns out that there are not too many changes necessary sinze Zen3 is quite smooth upgrade to Zen2. In summary: - some instructions (like idiv) have shorter latencies. Adjusting costs reduces