https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118551

--- Comment #10 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #9)
> I am happy it helps.  I wonder if you can share details of your SPEC config.
> I.e. how you call perf (do you specify count etc) and how you handle merging
> of profiles.

We haven't gone that far yet, just collecting a fixed profile data based on
gcc14.2(or gcc15.1) -O2 -march=x86-64-v3 -g and feeding it to GCC and run
autofdo.

Regarding perf, yes we specify the count as 1000003(also see others use 400009,
i was told it's better to be a prime number)

 perf record -c 10000003 -b -e br_inst_retired.near_taken:pp


Not sure if zen5 supports LBR and what's the events of that?

Reply via email to