https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103554

--- Comment #8 from Hongtao.liu <crazylht at gmail dot com> ---
> but the x86 backend chooses to not let the vectorizer compare costs with
> different vector sizes but instead asks it to pick the first working
> solution from the vector of modes to consider (and in that order).  We
> might want to reconsider that (maybe at least for BB vectorization and
> maybe with some extra special mode?).

Shouldn't the vectorizer compare costs of different vector factors and choose
the samllest one, or vectorizer already support the corresponding framework,
but the x86 backend doesn't implement the corresponding target_hook?

Reply via email to