@LarryDave I have no explanation for what you describe. The mold
option is working.
$ readelf -p .comment /opt/pcsx2/pcsx2-qt
String dump of section '.comment':
[ 0] clang version 17.0.6
[ 15] mold 2.30.0 (c7f6a91da512ef8a2634a1bef5d4ba82104659fe; compatible with GNU ld)
[ 64] GCC: (GNU) 13.2.1 20230801
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: