15 Commits

Author SHA1 Message Date
Chenxi Mao
55cfa61071 Fix invalid link file issue
Below link file cannot find the target after installation:
find -xtype l | xargs ls -l --color
lrwxrwxrwx. 1 root root 19 Nov 14 19:09 ./libexec/getconf/default -> POSIX_V6_LP64_OFF64
lrwxrwxrwx. 1 root root 36 Nov 14 19:09 ./lib/gcc/x86_64-suse-linux/12/libatomic.so -> ../../../../lib64/libatomic.so.1.2.0
lrwxrwxrwx. 1 root root 35 Nov 14 19:09 ./lib/gcc/x86_64-suse-linux/12/libubsan.so -> ../../../../lib64/libubsan.so.1.0.0

To fix this issue, modify spec file as below:
1. Remove libatomic.so libubsan.so to its package
2. Change the ./libexec/getconf/default target path

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2022-11-16 12:54:53 +08:00
openeuler-ci-bot
e586fcabde
!8 Backport some SPR patches to GCC-12
From: @github-27907959 
Reviewed-by: @li-yancheng, @eastb233 
Signed-off-by: @eastb233
2022-11-16 02:28:02 +00:00
Cui,Lili
4dc52e5c19 [SPR] Add attribute hot judgement for INLINE_HINT_known_hot hint.
We set up INLINE_HINT_known_hot hint only when we have profile feedback,
now add function attribute judgement for it, when both caller and callee
have __attribute__((hot)), we will also set up INLINE_HINT_known_hot hint
for it.

With this patch applied,
ADL Multi-copy:    538.imagic_r  16.7%
ICX Multi-copy:    538.imagic_r  15.2%
CLX Multi-copy:    538.imagic_r  12.7%
Znver3 Multi-copy: 538.imagic_r  10.6%
Arm Multi-copy:    538.imagic_r  13.4%

gcc/ChangeLog

	* ipa-inline-analysis.cc (do_estimate_edge_time): Add function attribute
	judgement for INLINE_HINT_known_hot hint.

gcc/testsuite/ChangeLog:

	* gcc.dg/ipa/inlinehint-6.c: New test.

url:https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1b9a5cc9ec08e9f239dd2096edcc447b7a72f64a
2022-11-16 09:35:15 +08:00
Cui,Lili
db41342444 [SPR] Remove AVX512_VP2INTERSECT from PTA_SAPPHIRERAPIDS
gcc/ChangeLog:

	* config/i386/driver-i386.cc (host_detect_local_cpu):
	Move sapphirerapids out of AVX512_VP2INTERSECT.
	* config/i386/i386.h: Remove AVX512_VP2INTERSECT from PTA_SAPPHIRERAPIDS
	* doc/invoke.texi: Remove AVX512_VP2INTERSECT from SAPPHIRERAPIDS

url: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=11c72f20d4d7ba1862a257cef05dc3a5e84a276d
2022-11-16 09:35:10 +08:00
Haochen Jiang
7954b2133e [SPR] i386: Add syscall to enable AMX for latest kernels
gcc/testsuite/ChangeLog:

	* gcc.target/i386/amx-check.h (request_perm_xtile_data):
	New function to check if AMX is usable and enable AMX.
	(main): Run test if AMX is usable.

url:https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5e377d21f1f345d8b157b9bc306e02bb9bd45e01
2022-11-16 09:34:27 +08:00
openeuler-ci-bot
96e2f15137
!7 [GCC-12] Upgrade GCC to 12.2.1 and change isl dependency from Source to BuildRequire
From: @li-yancheng 
Reviewed-by: @eastb233 
Signed-off-by: @eastb233
2022-11-11 02:20:37 +00:00
liyancheng
d9127a6b3f [RPM] Change isl dependency from Source to BuildRequire 2022-11-10 12:00:55 +08:00
liyancheng
25e20dc298 [RPM] Upgrade GCC to 12.2.1 2022-11-02 10:28:23 +08:00
openeuler-ci-bot
c0dc71ee1b
!4 [RPM] delete bundled(*) Provides in case of conflict with default gcc
From: @eastb233 
Reviewed-by: @peilin-guo 
Signed-off-by: @peilin-guo
2022-08-25 12:39:16 +00:00
eastb233
cc00d8055c [RPM] delete bundled(*) Provides in case of conflict with default gcc 2022-08-25 19:58:11 +08:00
openeuler-ci-bot
c70b57b1b4
!3 [RPM] delete the Provides of lib.* files in rpm package
From: @eastb233 
Reviewed-by: @peilin-guo 
Signed-off-by: @peilin-guo
2022-08-25 03:15:56 +00:00
eastb233
822355ee81 [RPM] delete the Provides of lib.* files in rpm package 2022-08-24 19:46:35 +08:00
openeuler-ci-bot
f7ff7656f0
!2 gcc 12 多版本支持
From: @eastb233 
Reviewed-by: @peilin-guo 
Signed-off-by: @peilin-guo
2022-08-11 01:13:22 +00:00
eastb233
9f63bc52eb [Init] Initialize with gcc toolset 12.1.1
Initialize repo with multi-version gcc toolset.
2022-08-10 18:49:39 +08:00
openeuler-ci-bot
c494c665d2
Initial commit 2022-08-01 14:28:55 +00:00