Re: [PATCH 2/2] Add a tune option to control the length of the chain with FMA

2023-05-11 Thread Richard Biener via Gcc-patches
On Thu, May 11, 2023 at 12:13 PM Cui, Lili via Gcc-patches wrote: > > From: Lili Cui > > Set the length of the chain with FMA to 5 for icelake_cost. > > With this patch applied, > SPR multi-copy: 508.namd_r increased by 3% > ICX multi-copy: 508.namd_r increased by 3.5%, > 507.cact

[PATCH 2/2] Add a tune option to control the length of the chain with FMA

2023-05-11 Thread Cui, Lili via Gcc-patches
From: Lili Cui Set the length of the chain with FMA to 5 for icelake_cost. With this patch applied, SPR multi-copy: 508.namd_r increased by 3% ICX multi-copy: 508.namd_r increased by 3.5%, 507.cactuBSSN_r increased by 3.7% Using FMA instead of mult + add reduces register pressur