Re:Bubble sort slower with -O3 than -O2 with GCC
by gnufx on Monday October 18, 2021 @05:08PM
(#28911779)
I don't know what exactly is required, but the basic business is
gcc -fprofile-generate ...
./a.out ...
gcc -fprofile-use ...
I don't know the current state of https://gcc.gnu.org/wiki/AutoFDO
Edit: It is possible that I just don't understand how to actually implement PGO