[PATCH 2/2] [i386] Adjust costing of emulated vectorized gather/scatter

2023-03-24 Thread Richard Biener via Gcc-patches
Emulated gather/scatter behave similar to strided elementwise accesses in that they need to decompose the offset vector and construct or decompose the data vector so handle them the same way, pessimizing the cases with may elements. For pr88531-2c.c instead of .L4: leaq(%r15,%rcx), %r

Re: [PATCH 2/2] [i386] Adjust costing of emulated vectorized gather/scatter

2023-03-24 Thread Jan Hubicka via Gcc-patches
> Emulated gather/scatter behave similar to strided elementwise > accesses in that they need to decompose the offset vector > and construct or decompose the data vector so handle them > the same way, pessimizing the cases with may elements. > > For pr88531-2c.c instead of > > .L4: > leaq