Translations:GCC optimization/111/en

is an optimization option (default at  and  ), which attempts to vectorize loops using the selected ISA if possible. The reason it previously wasn't enabled at  is that it doesn't always improve code, it can make code slower as well, and usually makes the code larger; it really depends on the loop etc. As of GCC 12, it is enabled by default with a low cost model  to strike a balance between code size and speed benefits. The cost model can be specified with.