summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dongkyun Son [Tue, 18 Aug 2015 00:25:18 +0000 (17:25 -0700)]
Merge "Additional parameters in spec file to control package build" into tizen
Dongkyun Son [Tue, 18 Aug 2015 00:24:39 +0000 (17:24 -0700)]
Merge "Fix ICE in aarch64_float_const_representable_p" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:17:26 +0000 (06:17 -0700)]
Merge "Avoid generating (plus X (const_int 0)) in plus_constant" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:17:15 +0000 (06:17 -0700)]
Merge "[Haifa Scheduler] Fix latent bug in macro-fusion/instruction grouping" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:17:10 +0000 (06:17 -0700)]
Merge "[Fusion] Check dest mode instead of src mode" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:17:01 +0000 (06:17 -0700)]
Merge "[AArch64]load store pair optimization using sched_fusion pass." into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:16:54 +0000 (06:16 -0700)]
Merge "[AArch64][4/5] Implement fusion of ARDP+LDR" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:16:45 +0000 (06:16 -0700)]
Merge "[AArch64][3/5] Implement fusion of MOVK+MOVK" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:16:40 +0000 (06:16 -0700)]
Merge "[sched-deps] Remove needless check for modified_in_p when trying to fuse two non-conditional jump insns" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:16:34 +0000 (06:16 -0700)]
Merge "[AArch64][2/5] Implement adrp+add fusion" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:16:22 +0000 (06:16 -0700)]
Merge "[AArch64][1/5] Implement TARGET_SCHED_MACRO_FUSION_PAIR_P" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:15:30 +0000 (06:15 -0700)]
Merge "New pass sched_fusion" into tizen
Dongkyun Son [Mon, 17 Aug 2015 13:14:56 +0000 (06:14 -0700)]
Merge "[sched-deps] Generalise usage of macro fusion to work on any two insns." into tizen
Nikolai Bozhenov [Thu, 11 Jun 2015 14:20:36 +0000 (17:20 +0300)]
Additional parameters in spec file to control package build
The following new rpm variables influence options passed to configure:
1) enable_checking=<flag-list> can be used to customize the value of
--enable-checking configure command line option (default=release)
2) enable_bootstrap=1 can be used to enable bootstrap (default=0)
The default configure command (without these new parameters) hasn't
changed.
Change-Id: I16389507b7f148bae02d66d772222b003a5e706b
Nikolai Bozhenov [Tue, 11 Aug 2015 15:33:09 +0000 (18:33 +0300)]
Fix libstdc++/*/constexpr.cc test failures in Tizen environment
Redundant option -save-temps was removed from the following tests:
20_util/enable_shared_from_this/cons/constexpr.cc
20_util/shared_ptr/cons/constexpr.cc
20_util/unique_ptr/cons/constexpr.cc
20_util/weak_ptr/cons/constexpr.cc
30_threads/future/cons/constexpr.cc
30_threads/shared_future/cons/constexpr.cc
Change-Id: Ie987aaae05a8b2a2a90379d05a7efbbcce469a9c
vries [Mon, 2 Jun 2014 13:13:43 +0000 (13:13 +0000)]
Fix ICE in aarch64_float_const_representable_p
2014-06-02 Tom de Vries <tom@codesourcery.com>
* config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle
case that x has VOIDmode.
Change-Id: Ia718f570977cd022e6a839e67b675b942c19a7b7
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211132
138bc75d-0d04-0410-961f-
82ee72b054a4
Nikolai Bozhenov [Fri, 15 May 2015 11:05:53 +0000 (14:05 +0300)]
Avoid generating (plus X (const_int 0)) in plus_constant
Change-Id: Ib872a95424ba479bae09061b4d4680fac24ca527
jgreenhalgh [Tue, 17 Feb 2015 09:19:33 +0000 (09:19 +0000)]
[Haifa Scheduler] Fix latent bug in macro-fusion/instruction grouping
gcc/
* haifa-sched.c (recompute_todo_spec): Treat SCHED_GROUP_P
as forcing a HARD_DEP between instructions, thereby
disallowing rewriting to break dependencies.
Change-Id: If84ff5330be96cb6c1c7ed0cf64224bd03c42418
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220751
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 13 Jan 2015 14:08:21 +0000 (14:08 +0000)]
[Fusion] Check dest mode instead of src mode
2015-01-13 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.c (fusion_load_store): Check dest mode
instead of src mode.
2015-01-13 Andrew Pinski <apinski@cavium.com>
* gcc.target/aarch64/store-pair-1.c: New testcase.
Change-Id: I829298a5f9f7dfa9af305e6145984991f32f463f
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219532
138bc75d-0d04-0410-961f-
82ee72b054a4
mshawcroft [Fri, 5 Dec 2014 17:06:33 +0000 (17:06 +0000)]
[AArch64]load store pair optimization using sched_fusion pass.
Change-Id: I79f5d1b9e882e4d88c7ce796efbf754c4399099a
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218430
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Mon, 24 Nov 2014 11:37:34 +0000 (11:37 +0000)]
[AArch64][4/5] Implement fusion of ARDP+LDR
* config/aarch64/aarch64.c (AARCH64_FUSE_ADRP_LDR): Define.
(cortexa53_tunings): Specify AARCH64_FUSE_ADRP_LDR in fuseable_ops.
(aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_ADRP_LDR.
Change-Id: I600bcfe67740630c778a54ccc099d898074e2040
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218014
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Mon, 24 Nov 2014 11:26:04 +0000 (11:26 +0000)]
[AArch64][3/5] Implement fusion of MOVK+MOVK
* config/aarch64/aarch64.c (AARCH64_FUSE_MOVK_MOVK): Define.
(cortexa53_tunings): Specify AARCH64_FUSE_MOVK_MOVK in fuseable_ops.
(cortexa57_tunings): Likewise.
(aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_MOVK_MOVK.
Change-Id: If72a2fb863da2091fed07361e4f105c32a2bf8c1
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218013
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Mon, 24 Nov 2014 11:09:59 +0000 (11:09 +0000)]
[sched-deps] Remove needless check for modified_in_p when trying to fuse two non-conditional jump insns
* sched-deps.c (sched_macro_fuse_insns): Do not check modified_in_p
in the not conditional jump case.
* doc/tm.texi (TARGET_SCHED_MACRO_FUSION_PAIR_P): Update description.
* target.def (TARGET_SCHED_MACRO_FUSION_PAIR_P): Update description.
* gcc.target/aarch64/fuse_adrp_add_1.c: New test.
Change-Id: Iabca4d52f98a2eccc388be2398e441cb33bd4997
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218012
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Mon, 24 Nov 2014 10:50:45 +0000 (10:50 +0000)]
[AArch64][2/5] Implement adrp+add fusion
* config/aarch64/aarch64.c: Include tm-constrs.h
(AARCH64_FUSE_ADRP_ADD): Define.
(cortexa57_tunings): Add AARCH64_FUSE_ADRP_ADD to fuseable_ops.
(cortexa53_tunings): Likewise.
(aarch_macro_fusion_pair_p): Handle AARCH64_FUSE_ADRP_ADD.
Change-Id: I7eb8804fa52bdfbb4c4fdc3ad72371efecdcd13c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218010
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Mon, 24 Nov 2014 10:37:30 +0000 (10:37 +0000)]
[AArch64][1/5] Implement TARGET_SCHED_MACRO_FUSION_PAIR_P
* config/aarch64/aarch64-protos.h (struct tune_params): Add
fuseable_ops field.
* config/aarch64/aarch64.c (generic_tunings): Specify fuseable_ops.
(cortexa53_tunings): Likewise.
(cortexa57_tunings): Likewise.
(thunderx_tunings): Likewise.
(aarch64_macro_fusion_p): New function.
(aarch_macro_fusion_pair_p): Likewise.
(TARGET_SCHED_MACRO_FUSION_P): Define.
(TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
(AARCH64_FUSE_MOV_MOVK): Likewise.
(AARCH64_FUSE_NOTHING): Likewise.
Change-Id: Id9ac00cac99ae192f0fdeb0e9aa906666e784778
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218007
138bc75d-0d04-0410-961f-
82ee72b054a4
amker [Fri, 14 Nov 2014 02:32:38 +0000 (02:32 +0000)]
New pass sched_fusion
* timevar.def (TV_SCHED_FUSION): New time var.
* passes.def (pass_sched_fusion): New pass.
* config/arm/arm.c (TARGET_SCHED_FUSION_PRIORITY): New.
(extract_base_offset_in_addr, fusion_load_store): New.
(arm_sched_fusion_priority): New.
(arm_option_override): Disable scheduling fusion by default
on non-armv7 processors or ldrd/strd isn't preferred.
* sched-int.h (struct _haifa_insn_data): New field.
(INSN_FUSION_PRIORITY, FUSION_MAX_PRIORITY, sched_fusion): New.
* sched-rgn.c (rest_of_handle_sched_fusion): New.
(pass_data_sched_fusion, pass_sched_fusion): New.
(make_pass_sched_fusion): New.
* haifa-sched.c (sched_fusion): New.
(insn_cost): Handle sched_fusion.
(priority): Handle sched_fusion by calling target hook.
(enum rfs_decision): New enum value.
(rfs_str): New element for RFS_FUSION.
(rank_for_schedule): Support sched_fusion.
(schedule_insn, max_issue, prune_ready_list): Handle sched_fusion.
(schedule_block, fix_tick_ready): Handle sched_fusion.
* common.opt (flag_schedule_fusion): New.
* tree-pass.h (make_pass_sched_fusion): New.
* target.def (fusion_priority): New.
* doc/tm.texi.in (TARGET_SCHED_FUSION_PRIORITY): New.
* doc/tm.texi: Regenerated.
* doc/invoke.texi (-fschedule-fusion): New.
testsuite:
* gcc.target/arm/ldrd-strd-pair-1.c: New test.
* gcc.target/arm/vfp-1.c: Improve scanning string.
Change-Id: Icbb39322a7611ecddaf7dbe24c6e8e3faac309e0
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217533
138bc75d-0d04-0410-961f-
82ee72b054a4
ktkachov [Mon, 4 Aug 2014 09:57:49 +0000 (09:57 +0000)]
[sched-deps] Generalise usage of macro fusion to work on any two insns.
* sched-deps.c (try_group_insn): Generalise macro fusion hook usage
to any two insns. Update comment. Rename to sched_macro_fuse_insns.
(sched_analyze_insn): Update use of try_group_insn to
sched_macro_fuse_insns.
* config/i386/i386.c (ix86_macro_fusion_pair_p): Reject 2nd
arguments that are not conditional jumps.
Change-Id: Ifc1491152b4d2d56a51e1d2e731c82b078ee394f
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213551
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 3 Jun 2014 22:44:39 +0000 (22:44 +0000)]
2014-06-03 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons
for OP0.
2014-06-03 Andrew Pinski <apinski@cavium.com>
* gcc.c-torture/compile/
20140528-1.c: New testcase.
Change-Id: Ic7d3edb107f5f1c98ba228addf98b58eda5421c7
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211206
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 3 Jun 2014 22:42:47 +0000 (22:42 +0000)]
2014-06-03 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function.
(aarch64_rtx_costs): Use aarch64_if_then_else_costs.
Change-Id: Ie1b96c57d4a449467cf5f139488585a81fa78b10
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211205
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Mon, 23 Jun 2014 09:04:40 +0000 (09:04 +0000)]
[AArch64] Implement ADD in vector registers for 32-bit scalar values.
git cherry-pick
8412c05c047
gcc/
* config/aarch64/aarch64.md (*addsi3_aarch64): Add alternative in
vector registers.
gcc/testsuite/
* gcc.target/aarch64/scalar_shift_1.c: Fix expected assembler.
Change-Id: Ib47b8e4a9129322e88f07f08f7fe88b5c6f29322
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211887
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:27:55 +0000 (09:27 +0000)]
[AArch64 costs 18/18] Dump a message if we are unable to cost an insn.
git cherry-pick 10e934b
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case
where we were unable to cost an RTX.
Change-Id: I396dbb81d25b393fc5c216968144c3bab6811ea9
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210510
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:25:48 +0000 (09:25 +0000)]
[AArch64 costs 17/18] Cost for SYMBOL_REF, HIGH and LO_SUM
git cherry-pick d369e66
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF,
HIGH, LO_SUM.
Change-Id: I94ed46b7c88e3c0bed08ea46f1a08bc15f49618d
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210509
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:23:28 +0000 (09:23 +0000)]
[AArch64 costs 16/18] Cost TRUNCATE
git cherry-pick 4a8f9d5
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE.
Change-Id: I1f35e96da1d7fa48ed0e61a5d58590e122390142
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210508
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:20:22 +0000 (09:20 +0000)]
[AArch64 costs 15/18] Cost more Floating point RTX.
git cherry-pick d31e8ed
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA,
FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN.
Change-Id: I80f6cdde6c41f260628938847280bd00e6ae03e4
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210507
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:16:23 +0000 (09:16 +0000)]
[AArch64 costs 14/18] Cost comparisons, flag setting operators and IF_THEN_ELSE
git cherry-pick 7105f3a
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison
operators.
Change-Id: I4529a7a17be6e1c3b0a9e6a55960877944375401
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210506
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:12:14 +0000 (09:12 +0000)]
[AArch64 costs 13/18] Improve costs for div/mod
git cherry-pick 8065e8b
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
DIV/MOD.
Change-Id: Idb71f224c1d67da03c9b74c9d1ce28a53c09f0f7
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210505
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:07:34 +0000 (09:07 +0000)]
[AArch64 costs 12/18] Improve costs for sign/zero extracts
git cherry-pick d515bbc
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
SIGN/ZERO_EXTRACT.
Change-Id: Ica7dd6d1721d38e1f8049d7be25db024ac7ed7b5
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210504
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:03:19 +0000 (09:03 +0000)]
[AArch64 costs 11/18] Improve costs for rotate and shift operations.
git cherry-pick 8982100
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for
rotates and shifts.
Change-Id: Id504035623b9bdbf61b22b807f7bf2e94bd92b89
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210503
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 09:01:28 +0000 (09:01 +0000)]
[AArch64 costs 10/18] Improve costs for sign/zero extend operations
git cherry-pick 81d1eb9
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Cost
ZERO_EXTEND and SIGN_EXTEND better.
Change-Id: Ifa42bd83302971230562416fa1e948977d824ba5
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210502
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:59:07 +0000 (08:59 +0000)]
[AArch64 costs 9/18] Better cost logical operations
git cherry-pick 69ddbb9
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for
logical operations.
Change-Id: I4e6ee9403b27621fc9f83127ff4f2c08c81b45ab
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210501
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:56:54 +0000 (08:56 +0000)]
[AArch64 costs 8/18] Cost memory accesses using address costs
git cherry-pick af27409
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Use address
costs when costing loads and stores to memory.
Change-Id: Ic64179e010a9cd643f5adc30fb6fc378cbc6a144
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210500
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:55:04 +0000 (08:55 +0000)]
[AArch64 costs 7/18] Improve SET cost.
git cherry-pick 600207d
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing
for SET RTX.
Change-Id: Ie5cbf7ddadceb105a5efb98585b069a3b4fce1a7
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210499
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:52:30 +0000 (08:52 +0000)]
[AArch64 costs 6/18] Set default costs and handle vector modes.
git cherry-pick 8c31cc6
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs.
Change-Id: I66a380a13616fa0572d2b6597f2ca5416479fd54
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210498
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:50:51 +0000 (08:50 +0000)]
[AArch64 costs 5/18] Factor out common MULT cases
git cherry-pick 2f0038b
gcc/
* config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename
to...
(aarch64_strip_extend): ...this, don't strip shifts, check RTX is
well formed.
(aarch64_rtx_mult_cost): New.
(aarch64_rtx_costs): Use it, refactor as appropriate.
Change-Id: Ic72e2d4da29ccda422685f76e965892496de2ebb
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210497
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:47:59 +0000 (08:47 +0000)]
[AArch64 costs 4/18] Better estimate cost of building a constant
git cherry-pick 3967ee6
gcc/
* config/aarch64/aarch64.c (aarch64_build_constant): Conditionally
emit instructions, return number of instructions which would
be emitted.
(aarch64_add_constant): Update call to aarch64_build_constant.
(aarch64_output_mi_thunk): Likewise.
(aarch64_rtx_costs): Estimate cost of a CONST_INT, cost
a CONST_DOUBLE.
Change-Id: I3396ecbe27c44603b350efa56021c49373da0e76
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210496
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:45:39 +0000 (08:45 +0000)]
[AArch64 costs 3/18] Wrap aarch64_rtx_costs to dump verbose output
git cherry-pick e50295b
gcc/
* config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New.
(TARGET_RTX_COSTS): Call it.
Change-Id: I64b8e288ef331266768490df2ba28f57d7015ea6
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210495
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:43:51 +0000 (08:43 +0000)]
[AArch64 costs 2/18] Add cost tables for Cortex-A57
git cherry-pick 3172ca8
gcc/
* config/aarch64/aarch64.c (cortexa57_addrcost_table): New.
(cortexa57_vector_cost): Likewise.
(cortexa57_tunings): Use them.
Change-Id: I0c4e25d92b4f7c57cc81e17d0a00034d47fad876
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210494
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Fri, 16 May 2014 08:41:46 +0000 (08:41 +0000)]
[AArch64 costs 1/18] Refactor aarch64_address_costs.
git cherry-pick 3d70178
gcc/
* config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New.
(cpu_addrcost_table): Use it.
* config/aarch64/aarch64.c (generic_addrcost_table): Initialize it.
(aarch64_address_cost): Rewrite using aarch64_classify_address,
move it.
Change-Id: I4fea98344ad105c98240d23aa2b52d372f0e7fd5
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210493
138bc75d-0d04-0410-961f-
82ee72b054a4
mshawcroft [Tue, 22 Apr 2014 16:08:33 +0000 (16:08 +0000)]
[AArch64] Define TARGET_FLAGS_REGNUM
git cherry-pick c027752
Ramana noted:
This defines TARGET_FLAGS_REGNUM for AArch64 to be CC_REGNUM. Noticed
this turns on the cmpelim pass after reload and in a few examples and
a couple of benchmarks I noticed a number of comparisons getting
deleted.
Change-Id: Ia83f2dc009ac650aaeaf47d52ce86c625bff79f5
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209643
138bc75d-0d04-0410-961f-
82ee72b054a4
Dongkyun Son [Wed, 10 Jun 2015 10:33:00 +0000 (03:33 -0700)]
Merge "Revert "gcc: gcc dir version"" into tizen
Ilya Palachev [Thu, 14 May 2015 12:41:51 +0000 (15:41 +0300)]
Revert "gcc: gcc dir version"
This patch was created long time ago. Nowadays
version of GCC cannot be fully bootstrapped & regtested
in the independent environment (i. e. outside GBS or
OBS chroot). But we need to bootstrap & regtest so that
to be sure that or new changes in compiler do not cause
new regressions. This is a requirement of open source
GCC community and we need to fulfill it if we want to
submit any patches to upstream.
This reverts commit
d2c4b00dc3a12f0563fd29933c6ff93682bd4910.
Change-Id: I61a0c30d62b1d6f0fe6dc227a5be37afcd508ec4
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
Dongkyun Son [Fri, 5 Jun 2015 00:08:43 +0000 (17:08 -0700)]
Merge "Remove ptread_cond interceptor" into tizen
Dongkyun Son [Thu, 4 Jun 2015 13:42:33 +0000 (06:42 -0700)]
Merge "Revert "rename info files"" into tizen
Dongkyun Son [Thu, 4 Jun 2015 13:41:01 +0000 (06:41 -0700)]
Merge "Revert "Enable workaround for AArch64 Cortex-A53 erratum 835769"" into tizen
Dongkyun Son [Thu, 4 Jun 2015 13:32:36 +0000 (06:32 -0700)]
Revert "Enable workaround for AArch64 Cortex-A53 erratum 835769"
This reverts commit
5333b444b9ebcddf5dd6a5cb0b2dafd886972be7.
Change-Id: I84b2122229c654d145fb0dcc8338311582be00d8
Dongkyun Son [Thu, 4 Jun 2015 13:30:39 +0000 (06:30 -0700)]
Merge "Enable workaround for AArch64 Cortex-A53 erratum 835769" into tizen
Ilya Palachev [Thu, 14 May 2015 11:53:50 +0000 (14:53 +0300)]
Revert "rename info files"
This reverts commit
d172df8002c87b7cd6a1cd91b33b106ca0c49d20.
This patch fixes the bootstrap failure.
If you perform the followinf actions:
mkdir build
cd build
../configure
make
the build will fail with the following error:
cp libgomp.info libgomp.info
make all-recursive
cp: `libgomp.info' and `libgomp.info' are the same file
Thus it seems that it would be better to revert the patch that is not
included to upstream.
Also the packagin section in spec-file was modified in order to fit
proper names of info files.
Change-Id: I1a053f7644902825e76a6ff4a2b4651830d373bb
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
Nikolai Bozhenov [Wed, 6 May 2015 13:55:05 +0000 (16:55 +0300)]
Enable workaround for AArch64 Cortex-A53 erratum 835769
Added --enable-fix-cortex-a53-835769 option to configure
because the erratum affects all produced Cortex-A53 CPUs.
Change-Id: I86308ad1fdd1bfaacb4588d44b8e846ea736b72f
Yury Usishchev [Thu, 5 Mar 2015 11:16:21 +0000 (14:16 +0300)]
Remove ptread_cond interceptor
Address sanitizer on armv7l failed with error in pthread interceptor.
GCC 5 asan works fine in this case. Asan was merged to GCC 5 branch as
one big blob, so it is not possible to find one patch that fixes the issue.
This patch fixes the fail for gcc-4.9
Change-Id: I96262a9083e45514339102a45529330450ae2cbb
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
Nikolai Bozhenov [Wed, 25 Feb 2015 07:21:47 +0000 (10:21 +0300)]
Enable LTO builds using this toolchain
1) Install LTO plugin for BFD utils
Add LTO plugins to the default BFD plugins directory so that binutils
(ar in particular) can work with LTO objects without any additional
options.
2) Add LTO binaries to icecream packages to enable LTO compilation in
qemu-accel mode.
Change-Id: Ic50d79a6453a51ca39e7dc6b251190e70304dae2
Ilya Palachev [Fri, 16 Jan 2015 11:17:55 +0000 (14:17 +0300)]
Add build conflict with binutils-gold
For unknown reason when libgcc.so is built with gold, it causes
python to make syscalls with zero-length buffers. That's why we
disable gold for gcc.
Change-Id: I12c4b9d9171980f9c3c03a08c8eaab62415fd943
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
Li Jinjing [Mon, 19 Jan 2015 11:23:58 +0000 (19:23 +0800)]
remove unused files
Currently, cross-x86_64-gcc49.spec has not been submmited to OBS for building,
for consistency of OBS and gbs, it's necessary to clean it up.
Change-Id: I455ad5b5c4de93a91beb620c828a97ff6e847d30
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Li Jinjing [Wed, 17 Dec 2014 13:55:09 +0000 (21:55 +0800)]
remove unused files
Currently, These spec files are useless and have not been submitted
to OBS for building, so it's necessary to clean them up.
Without this change, `gbs build` results will contails build error
with dependency issue, and the build result will be much cleaner after
applying this patch.
Refer to the same issue in platform/upstream/gcc48:
https://review.tizen.org/gerrit/#/c/21357
Change-Id: I9f489740127f8633fbaa38b1367052f773be4fd9
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
Chanho Park [Wed, 3 Dec 2014 05:03:45 +0000 (14:03 +0900)]
Bump to FULL-VER to 4.9.2
Actually, we use FULL-VER instead of BASE-VER because BASE-BASE
represents 4.x and FULL-VER represents 4.x.x version.
Change-Id: I1000bb65561f76c4bc4ed5b33af1b5747018e99e
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Vyacheslav Barinov [Fri, 31 Oct 2014 13:20:37 +0000 (16:20 +0300)]
Switching ExcludeArch to ExclusiveArch
Helps to avoid cross-arm -> aarch64 and cross-aarch64 -> arm builds.
Change-Id: Ia1701703e99683eca2c2d4f6c2a0ae2ee32c8a72
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Chanho Park [Fri, 31 Oct 2014 06:40:46 +0000 (15:40 +0900)]
packaging: add aarch64 in itm_arch
Change-Id: I85573d25b2794892b50a758ae52b877e493e0b9f
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Thu, 30 Oct 2014 13:56:16 +0000 (22:56 +0900)]
packaging: update to 4.9.2
Change-Id: I8605b0fb246e1b500bbe5715e9dc35c99a5c111f
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Vyacheslav Barinov [Fri, 12 Sep 2014 11:32:13 +0000 (15:32 +0400)]
Fixed packaging for cross-*-gcc49 packages
There was a conflict with filesystem package due to "/usr/bin" in %files
section.
Change-Id: I83f0ea412512f30a7fdff1affef6ddd842764e32
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Vyacheslav Barinov [Mon, 4 Aug 2014 06:43:26 +0000 (10:43 +0400)]
Restoring rpmlintrcs
Change-Id: I03f61083f165b04df98e4e0b0c22e0fff3b3b68f
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Vyacheslav Barinov [Mon, 4 Aug 2014 06:01:35 +0000 (10:01 +0400)]
Updating spec files with new scripts
Change-Id: I3213c4d0f7bceb52cad5d446f89300a8f4b70a6f
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Vyacheslav Barinov [Mon, 4 Aug 2014 05:59:27 +0000 (09:59 +0400)]
Scripts update
Change-Id: I4693a3e2973762d5751b3b78955a2b459f558c6e
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Vyacheslav Barinov [Mon, 4 Aug 2014 05:57:37 +0000 (09:57 +0400)]
libitm aarch64 fix
This static function could not be inlined for aarch64
Change-Id: If9efc9fce6f09df0c428fd4b120addee8c21199f
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Chanho Park [Thu, 24 Jul 2014 05:51:07 +0000 (14:51 +0900)]
packging: remove libffi/libgcj/testresults
Change-Id: I03edc219994630bc5ea36bd431ad5796e385bf40
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Wed, 23 Jul 2014 08:20:40 +0000 (17:20 +0900)]
packaging: enable bootstrap for x86_64
Change-Id: Iaf58cb47226007bbe1d6c36d6de252cef427b5fb
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Tue, 22 Jul 2014 13:43:49 +0000 (22:43 +0900)]
packaging: use glibc-devel-32bit instead of glibc-devel
Change-Id: I810e816f6796173fb5205105bf7aec5b093e7950
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Tue, 22 Jul 2014 13:07:30 +0000 (22:07 +0900)]
packaging: remove disable-multilibs for x86_64
Change-Id: Id98e44bbb536654ca9c566f8a0ae74c59b5a2fe1
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Tue, 22 Jul 2014 11:54:29 +0000 (20:54 +0900)]
packaging: fix typo
Change-Id: Ic3664ff81d3e124b097ae7307027a01eb463c0b9
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Tue, 22 Jul 2014 10:20:38 +0000 (19:20 +0900)]
packaging: delete -fexceptions
Change-Id: I3ec59ae807043492af60f640b3c1cee9f67aed09
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Tue, 22 Jul 2014 02:09:37 +0000 (11:09 +0900)]
gcc: add FULL-VER manually
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Vyacheslav Barinov [Mon, 21 Jul 2014 09:13:30 +0000 (13:13 +0400)]
Packaging: Fixed gcc version in baselibs.conf
Change-Id: I9d3b6dd16cf6cc1733295f80aa8aa8260e1566b6
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Chanho Park [Mon, 21 Jul 2014 08:32:35 +0000 (17:32 +0900)]
packaging: add packaging files
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 09:07:20 +0000 (18:07 +0900)]
rename info files
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 09:06:33 +0000 (18:06 +0900)]
textdomain
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 09:05:08 +0000 (18:05 +0900)]
ppc32: retaddr
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 09:00:12 +0000 (18:00 +0900)]
java: slow pthread self
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 08:59:52 +0000 (17:59 +0900)]
ia64: stack protector
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 08:59:17 +0000 (17:59 +0900)]
libstdc++ api reference
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 08:59:00 +0000 (17:59 +0900)]
no unwind tables
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 08:58:40 +0000 (17:58 +0900)]
tls no direct
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 08:58:24 +0000 (17:58 +0900)]
Wunprototyped calls
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 08:57:49 +0000 (17:57 +0900)]
gcc: add default spec
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Fri, 18 Jul 2014 08:57:00 +0000 (17:57 +0900)]
gcc: gcc dir version
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Chanho Park [Thu, 30 Oct 2014 13:34:41 +0000 (22:34 +0900)]
Imported Upstream version 4.9.2
Chanho Park [Mon, 21 Jul 2014 03:01:04 +0000 (12:01 +0900)]
Imported Upstream version 4.9.1
Chanho Park [Mon, 21 Jul 2014 02:58:29 +0000 (11:58 +0900)]
Imported Upstream version 4.9.0
Sehong Na [Fri, 18 Jul 2014 04:39:46 +0000 (21:39 -0700)]
Initial empty repository