huzife
c878cf09d3
[if-split] fix bugs
2024-12-07 19:31:33 +08:00
liyancheng
5ed15ff0cb
[CSPGO] fix bugs when using cspgo
2024-12-04 20:17:09 +08:00
zhenyu--zhao_admin
11f98b04e2
[SYNC] sync patch from openeuler/gcc.
2024-12-04 15:25:44 +08:00
zhenyu--zhao_admin
b57472a4a1
[Bugfix]: Use AI ability to guide optimization and set default value when tune_native is NULL.
2024-12-04 15:01:47 +08:00
zhenyu--zhao_admin
98b0c11037
[Bugfix]: Add no var recored check for ssa_name in struct reorg.
2024-12-04 14:32:46 +08:00
Mingchuan Wu
5ac68bd248
[Sync] Sync from openEuler/gcc
...
including:
Add late slp vectorization pass with additional checks
Add tracer transformation for static probabilities
Modify the hip09 tune flags
2024-12-04 10:00:55 +08:00
swcompiler
4f71836581
Sw64: Add sw64 architecture support.
2024-11-29 09:07:58 +08:00
liyancheng
c251a144a2
[Sync] Add if split optimization
2024-11-27 19:34:38 +08:00
liyancheng
7d90fa6e7c
[Bugfix] LoongArch: Allow attributes in non-gnu namespaces.
2024-11-27 19:14:03 +08:00
liyancheng
f6300b86ff
[Sync] Add cfgo-pgo optimization
2024-11-27 19:07:39 +08:00
liyancheng
06437d5be4
[Sync] Add context sensitive PGO
...
Sync add context sensitive PGO from openEuler/gcc
2024-11-27 15:05:38 +08:00
Peng Fan
3ac2bb2d9f
Fix indentation and numbering errors
...
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
2024-11-26 15:52:20 +08:00
jchzhou
1ebbd61186
Sync patch for fixing building issues with clang; replace %patchN with %patch -P N
...
Src: https://gitee.com/openeuler/gcc/pulls/239
Signed-off-by: YunQiang Su <yunqiang@isrc.iscas.ac.cn>
Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
2024-11-25 17:25:37 +08:00
jchzhou
9da81ba7a7
RISC-V: Install libstdc++/libcc1 etc to /lib64 instead of lib
...
Sync patch from
84edbc6544
Signed-off-by: YunQiang Su <yunqiang@isrc.iscas.ac.cn>
Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
2024-11-25 10:37:21 +08:00
liuf9
d732cdff91
sync backport patch of varasm COMDAT function symbol.
2024-11-21 19:26:45 +08:00
liyancheng
0c0de95dd2
[Sync] Multi-version lto symbol parse and lto units ipa-inline extension
...
Add feature multi-version lto symbol parse and lto units ipa-inline extension
2024-11-21 16:39:46 +08:00
编译小伙
b334128bc9
Add missing header file for x86
...
Add missing header file for x86, including amxfp16intrin.h
amxcomplexintrin.h and prfchiintrin.h
Signed-off-by: 编译小伙 <412998149@qq.com>
2024-11-21 07:58:15 +00:00
huangzifeng
407b086b9e
Sync patches from openeuler/gcc
2024-11-21 11:46:51 +08:00
huangzifeng
845ea89e1a
Sync patches from branch openEuler-24.09
2024-11-21 11:35:14 +08:00
Hu, Lin1
746f76a8d3
[Sync] Sync some x86 patch from src-openEuler/gcc's openEuler-24.09
2024-11-21 09:31:06 +08:00
eastb233
a251391da9
Recover CVE-2023-4039
2024-11-19 14:13:00 +08:00
eastb233
57e4b61ee6
[SME] Apply SME patches
2024-11-18 20:14:52 +08:00
eastb233
0795cf6283
Revert "GCC Stack Protector Vulnerability AArch64"
...
This reverts commit 1a31ac72ce22f77eeac65520c6483ccb456c72df.
2024-11-18 19:34:05 +08:00
Peng Fan
f653243538
LoongArch: Sync to upstream
...
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
2024-11-12 08:44:01 +08:00
fly_fzc
1a31ac72ce
GCC Stack Protector Vulnerability AArch64
2024-10-23 11:47:16 +08:00
h30032433
222a7e3e04
disable isl
2024-07-11 19:50:39 +08:00
zhenyu--zhao_admin
f8ddbe66f8
[Sync] Sync patch from openeuler/gcc
2024-05-19 09:42:14 +08:00
tiancheng-bao
7ff15217b0
Sync bug fix patch from openeuler/gcc
2024-05-11 15:06:31 +08:00
huang-xiaoquan
cae11fd7cf
[BUGFIX] StructReorderFields-Fix-gimple-call-not-rewritten.
2024-04-29 14:53:18 +08:00
zhenyu--zhao_admin
7dd679d56c
[BUGFIX] Update the configure file for BOLT.
2024-04-27 21:13:32 +08:00
郑晨卉
34c4e5913a
Revert Intel patches.
2024-04-26 09:43:50 +08:00
wangding16
1e2398a6a8
[Sync] Sync patch from openeuler/gcc
2024-04-24 12:57:04 +08:00
laokz
32ffb36ccb
riscv64: enable libasan, libusan package
2024-04-23 18:00:20 +08:00
ticat_fp
eaea42573e
LoongArch: add 3a6000 support
...
Signed-off-by: ticat_fp <fanpeng@loongson.cn>
2024-04-23 09:07:30 +08:00
郑晨卉
a9c5574f8f
[Sync] Sync patch from openeuler/gcc
2024-04-12 15:10:59 +08:00
郑晨卉
3ee8545fc2
[Sync] Sync patch from openeuler/gcc
2024-04-11 19:37:37 +08:00
zhenyu--zhao_admin
cda59b581e
[SYNC] Sync patch from openeuler/gcc
2024-04-11 16:47:29 +08:00
ticat_fp
0232b24327
SPEC: fix libcc1 file path for LoongArch
...
Signed-off-by: ticat_fp <fanpeng@loongson.cn>
2024-04-01 10:40:11 +08:00
ticat_fp
7e7be47bfd
LoongArch: Sync patch from gcc upstream
...
Signed-off-by: ticat_fp <fanpeng@loongson.cn>
2024-03-27 09:22:13 +08:00
laokz
a3c64818f2
riscv64: -march default to rv64gc
2024-01-15 14:16:10 +08:00
dingguangya
80f4718498
[Sync] Sync patch from openeuler/gcc
...
Sync patch from openeuler/gcc
(cherry picked from commit b9aefd9d9cd4b10ae4b7939f6fd37da432b02116)
2023-09-11 15:22:25 +08:00
zhenyu--zhao
1ec7783640
!334[SPEC] Enable Sirp on aarch64 and x86
...
(cherry picked from commit 21298a720abe9d312129532f995fa3c943b71f59)
2023-09-07 11:40:38 +08:00
eastb233
f3d7c8e424
[SPEC] Package simdmath.h and simdmath_f.h
2023-09-06 17:13:23 +08:00
liyancheng
956e2880a6
[SPEC] Remove installed but unpacked files
...
Remove installed but unpacked files
(cherry picked from commit 9172a0f24153c8ce1d31974aaf39cabe7c8647e7)
2023-09-06 09:28:20 +08:00
zhenyu--zhao
05db73e18a
[SPEC] Enable strip on gcc and %{_target_platform}-gcc
...
Enable strip on gcc and %{_target_platform}-gcc
(cherry picked from commit da577ebd493da6751eb3f870cafc9425c52181c9)
2023-09-05 23:06:23 +08:00
h00564365
a52b07486c
[Sync] Sync patch from openeuler/gcc
...
Sync patch from openeuler/gcc - 20230905
(cherry picked from commit 6aadb648e6a0b7aef781fd4ea47c92c34e75d3c1)
2023-09-05 20:03:39 +08:00
dingguangya
124654232c
[Sync] Sync patch from openeuler/gcc
...
Sync patch from openeuler/gcc
(cherry picked from commit 95427adf7d16bbb61ae3ced9c64aacbaf53dce72)
2023-09-05 11:04:21 +08:00
huang-xiaoquan
24601f9e37
[Sync] Sync patch from openeuler/gcc
...
Sync patch from openeuler/gcc - 20230829 part 2
(cherry picked from commit 609cef8ac6ca4de64bed245700975082853ad49a)
2023-08-30 09:22:08 +08:00
h00564365
adacc909ea
[Sync] Sync patch from openeuler/gcc
...
Sync patch from openeuler/gcc - 20230829
(cherry picked from commit 5e9724992d967ef598d70c92c5c936ebbf828946)
2023-08-29 20:59:41 +08:00
Hongyu Wang
ad4ee2e6e9
[Sync] i386: Only enable small loop unrolling in backend [PR
...
107692]
Followed by the discussion in pr107692, -munroll-only-small-loops
Does not turns on/off -funroll-loops, and current check in
pass_rtl_unroll_loops::gate would cause -fno-unroll-loops do not take
effect. Revert the change about targetm.loop_unroll_adjust and apply
the backend option change to strictly follow the rule that
-funroll-loops takes full control of loop unrolling, and
munroll-only-small-loops just change its behavior to unroll small size
loops.
gcc/ChangeLog:
PR target/107692
* common/config/i386/i386-common.cc (ix86_optimization_table):
Enable loop unroll O2, disable -fweb and -frename-registers
by default.
* config/i386/i386-options.cc
(ix86_override_options_after_change):
Disable small loop unroll when funroll-loops enabled, reset
cunroll_grow_size when it is not explicitly enabled.
(ix86_option_override_internal): Call
ix86_override_options_after_change instead of calling
ix86_recompute_optlev_based_flags and ix86_default_align
separately.
* config/i386/i386.cc (ix86_loop_unroll_adjust): Adjust unroll
factor if -munroll-only-small-loops enabled.
* loop-init.cc (pass_rtl_unroll_loops::gate): Do not enable
loop unrolling for -O2-speed.
(pass_rtl_unroll_loops::execute): Rmove
targetm.loop_unroll_adjust check.
gcc/testsuite/ChangeLog:
PR target/107692
* gcc.dg/guality/loop-1.c: Remove additional option for ia32.
* gcc.target/i386/pr86270.c: Add -fno-unroll-loops.
* gcc.target/i386/pr93002.c: Likewise.
2023-08-11 11:25:43 +08:00