https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108346
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Sadly the win/loss cases does not seem to suggest a simple cost scheme. We currently compute gather/scatter costs as static startup cost + cost per lane and they are set to approximately match actual latencies. I am not sure how much better we can do.