This package targets x86-64-v3, the microarchitecture level that introduces avx/avx2 instructions. If you need support for previous levels, try aur/pcsx2-git
.
If your intent is to use this package to try PGO, you'll need to adjust variables listed at the beginning of the PKGBUILD.
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 2025-02-22 07:14 (UTC) by xiota)
By default, this package targets x86-64-v3 instructions (avx/avx2). Performance benefit over standard builds is probably minimal because of dynamic dispatch.
Other microarchitecture levels (v2, v3, v4) may also work by editing some config files.
makepkg.conf
—CARCH="x86_64_v4"
pacman.conf
—Architecture = auto x86_64 x86_64_v2 x86_64_v3 x86_64_v4
/usr/share/devtools/setarch-aliases.d/x86_64_v4
— Contents:x86_64
Problems: