Nevermind, I guess I get it now. Passed to the linker as you said. Put it at the beginning before -W1, O1
and it worked now.
Btw, what is there reason for preventing -march=native? I replaced the x86-64-v3 mentions with rocketlake as that is what my CPU family is. Just wondering.
Pinned Comments
xiota commented on 2024-01-24 03:02 (UTC) (edited on 2024-02-13 12:57 (UTC) by xiota)
Those interested in profile-guided optimization may try a time-consuming process.
_build_instrumented=true
pcsx2-instrumented-avx-git
LLVM_PROFILE_FILE="default_%9m.profraw" pcsx2-qt
llvm-profdata merge -output=pcsx2-avx-git.profdata *.profraw
pcsx2-avx-git.profdata
in same folder with PKGBUILD.pcsx2-avx-git
xiota commented on 2023-12-13 14:29 (UTC) (edited on 2024-01-24 02:57 (UTC) by xiota)
This package targets x86-64-v3 instructions. Performance benefit over standard builds is minimal because of dynamic dispatch.
Binaries available at aur.chaotic.cx
Avoid flagging and commenting at the same time for the same issue.