This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/31396] Inline code performance much worse than out-of-line
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2008 16:32:55 -0000
- Subject: [Bug rtl-optimization/31396] Inline code performance much worse than out-of-line
- References: <bug-31396-14334@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from hubicka at gcc dot gnu dot org 2008-01-16 16:32 -------
Subject: Bug 31396
Author: hubicka
Date: Wed Jan 16 16:32:05 2008
New Revision: 131576
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131576
Log:
PR rtl-optimization/31396
* regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED.
* cfg.c (dump_reg_info): Print it.
* regs.h (struct reg_info_t): add freq_calls_crossed.
(REG_FREQ_CALLS_CROSSED): New macro.
* global.c (global_alloc): Compute freq_calls_crossed for allocno.
(find_reg): Update call of CALLER_SAVE_PROFITABLE.
* regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2,
regmove_optimize): Update call crossed frequencies.
* local-alloc.c (struct qty): Add freq_calls_crossed.
(alloc_qty): Copute freq_calls_crossed.
(update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED.
(find_free_reg): Update call of CALLER_SAVE_PROFITABLE.
* ra.h (struct allocno): Add freq_calls_crossed.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfg.c
trunk/gcc/global.c
trunk/gcc/local-alloc.c
trunk/gcc/ra.h
trunk/gcc/regmove.c
trunk/gcc/regs.h
trunk/gcc/regstat.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31396