Enable the vectorizer at -O2 for GCC 12

Florian Weimer fweimer@redhat.com
Mon Aug 30 13:04:36 GMT 2021

There has been a discussion, both off-list and on the gcc-help mailing
list (“Why vectorization didn't turn on by -O2”, spread across several
months), about enabling the auto-vectorizer at -O2, similar to what
Clang does.

I think the review concluded that the very cheap cost model should be
used for that.

Are there any remaining blockers?


More information about the Gcc mailing list