Re:Going Faster by Duplicating Code
by KeplerBoy on Wednesday October 11, 2023 @07:51AM
(#37843324)
you can manually set the optimizations (and order of optimizations) you want. -O3 ist just a predefined set of optimizations.
[ Parent
| on HN ]
Re:Going Faster by Duplicating Code
by lifthrasiir on Wednesday October 11, 2023 @07:58AM
(#37843378)
But it is not portable among compilers (for example, both GCC and Clang support SLP-based autovectorization but with different flags). -O# is one of a few flags that have roughly same meaning across many compilers.