Compare commits

...

3 Commits

Author SHA1 Message Date
Vladimir Makarov
3a8c69ecd9 Merged latest trunk changes to ira-select.
From-SVN: r279316
2019-12-12 20:46:39 +00:00
Vladimir Makarov
3fceb4462a backport: common.opt (fira-select): New.
2018-07-18  Vladimir Makarov  <vmakarov@redhat.com>

	Merge with trunk.
	* common.opt (fira-select): New.  Choose the selection algorithm
	by default.
	* ira-costs.c (struct op_info, op_infos, insn_selection): New.
	(insn_selections): New.
	(CONST_POOL_OK_P, SMALL_REGISTER_CLASS_P, general_constant_p):
	New.
	(insn_constraints, setup_insn_alt): New.
	(record_address_regs): Forward declaration.
	(define_op_cost_from_alt): New.
	(scan_one_insn): Call setup_insn_alt and define_op_cost_from_alt
	for the selection algorithm.
	(find_costs_and_classes): Release insn_constraints and
	insn_selections.  Don't reuse already calculated pseudo classes
	for the selection algorithm.

From-SVN: r262866
2018-07-18 23:21:38 +00:00
Vladimir Makarov
4dffa19c6c common.opt (fira-select): New.
2016-10-31  Vladimir Makarov  <vmakarov@redhat.com>

	* common.opt (fira-select): New.  Choose the selection algorithm
	by default.
	* ira-costs.c (struct op_info, op_infos, insn_selection): New.
	(insn_selections): New.
	(CONST_POOL_OK_P, SMALL_REGISTER_CLASS_P, general_constant_p):
	New.
	(insn_constraints, setup_insn_alt): New.
	(record_address_regs): Forward declaration.
	(define_op_cost_from_alt): New.
	(scan_one_insn): Call setup_insn_alt and define_op_cost_from_alt
	for the selection algorithm.
	(find_costs_and_classes): Release insn_constraints and
	insn_selections.  Don't reuse already calculated pseudo classes
	for the selection algorithm.

From-SVN: r241715
2016-10-31 17:28:57 +00:00
3 changed files with 990 additions and 35 deletions

View File

@@ -1,3 +1,21 @@
2018-07-18 Vladimir Makarov <vmakarov@redhat.com>
Merge with trunk.
* common.opt (fira-select): New. Choose the selection algorithm
by default.
* ira-costs.c (struct op_info, op_infos, insn_selection): New.
(insn_selections): New.
(CONST_POOL_OK_P, SMALL_REGISTER_CLASS_P, general_constant_p):
New.
(insn_constraints, setup_insn_alt): New.
(record_address_regs): Forward declaration.
(define_op_cost_from_alt): New.
(scan_one_insn): Call setup_insn_alt and define_op_cost_from_alt
for the selection algorithm.
(find_costs_and_classes): Release insn_constraints and
insn_selections. Don't reuse already calculated pseudo classes
for the selection algorithm.
2019-11-22 Jakub Jelinek <jakub@redhat.com>
PR c++/92458

View File

@@ -1836,6 +1836,10 @@ Common Report Var(flag_ira_loop_pressure) Optimization
Use IRA based register pressure calculation
in RTL loop optimizations.
fira-select
Common Report Var(flag_ira_select) Init(1)
Pseudo-register class calculations based on insn alternative selection.
fira-share-save-slots
Common Report Var(flag_ira_share_save_slots) Init(1) Optimization
Share slots for saving different hard registers.

File diff suppressed because it is too large Load Diff