https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92344
--- Comment #1 from Hongtao.liu <crazylht at gmail dot com> --- It also seems when both vector size are available for vectorization, vectorizer won't compare different vector size with costs, it just use first vector size it tried, normally it will be target preferred_simd_mode.