Re: Disable gathers on zen3 for vectors with few elements

2022-03-28 Thread Richard Biener via Gcc-patches
On Mon, Mar 28, 2022 at 12:50 AM Jan Hubicka via Gcc-patches wrote: > > Hi, > as seen on TSVC, Spec2017, the Zen3 gather instruction is a win only for > vectors with 8 elements. At the time I was implementing the tuning vectorizer > did not know how to open-code gather and thus it was still a

Disable gathers on zen3 for vectors with few elements

2022-03-27 Thread Jan Hubicka via Gcc-patches
Hi, as seen on TSVC, Spec2017, the Zen3 gather instruction is a win only for vectors with 8 elements. At the time I was implementing the tuning vectorizer did not know how to open-code gather and thus it was still a win to enable it for shorter vector, but this has changed. The following are