[Sync] Add context sensitive PGO

Sync add context sensitive PGO from openEuler/gcc
This commit is contained in:
liyancheng 2024-11-27 15:05:38 +08:00
parent 978b8a64b3
commit 06437d5be4
2 changed files with 1344 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
%global gcc_major 12 %global gcc_major 12
# Note, gcc_release must be integer, if you want to add suffixes to # Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line. # %%{release}, append them after %%{gcc_release} on Release: line.
%global gcc_release 45 %global gcc_release 46
%global _unpackaged_files_terminate_build 0 %global _unpackaged_files_terminate_build 0
%global _performance_build 1 %global _performance_build 1
@ -414,6 +414,7 @@ Patch305: 0305-Backport-varasm-Handle-private-COMDAT-function-symbo.patch
Patch306: 0306-RISC-V-Install-libstdc-libcc1-etc-to-lib64-instead-o.patch Patch306: 0306-RISC-V-Install-libstdc-libcc1-etc-to-lib64-instead-o.patch
Patch307: 0307-Set-fallback-value-for-print-multi-os-directory.patch Patch307: 0307-Set-fallback-value-for-print-multi-os-directory.patch
Patch308: 0308-Fix-enum-INPUT-MIDDLE-FINAL-aes_stage.patch Patch308: 0308-Fix-enum-INPUT-MIDDLE-FINAL-aes_stage.patch
Patch309: 0309-CSPGO-Add-context-sensitive-PGO.patch
# Part 3000 ~ 4999 # Part 3000 ~ 4999
%ifarch loongarch64 %ifarch loongarch64
@ -1486,6 +1487,7 @@ not stable, so plugins must be rebuilt any time GCC is updated.
%patch -P306 -p1 %patch -P306 -p1
%patch -P307 -p1 %patch -P307 -p1
%patch -P308 -p1 %patch -P308 -p1
%patch -P309 -p1
%ifarch loongarch64 %ifarch loongarch64
%patch -P3001 -p1 %patch -P3001 -p1
@ -4078,6 +4080,10 @@ end
%doc rpm.doc/changelogs/libcc1/ChangeLog* %doc rpm.doc/changelogs/libcc1/ChangeLog*
%changelog %changelog
* Wed Nov 27 2024 liyancheng <412998149@qq.com> - 12.3.1-46
- Type: Sync
- DESC: Add context sensitive PGO
* Mon Nov 25 2024 Peng Fan <fanpeng@loongson.cn> - 12.3.1-45 * Mon Nov 25 2024 Peng Fan <fanpeng@loongson.cn> - 12.3.1-45
- Type: BUGFIX - Type: BUGFIX
- DESC: - DESC: