This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r211759 - in /branches/google/gcc-4_8/gcc: conf...
- From: wmi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jun 2014 23:45:14 -0000
- Subject: r211759 - in /branches/google/gcc-4_8/gcc: conf...
Author: wmi
Date: Tue Jun 17 23:45:14 2014
New Revision: 211759
URL: https://gcc.gnu.org/viewcvs?rev=211759&root=gcc&view=rev
Log:
1. Solve the code size problem1 of fp shrinkwrapping -- use fp as cfa_reg
when no fp is defined in func body before frame pointer shrinkwrapping.
2. Solve the code size problem2 of fp shrinkwrapping -- promote fp setting
insns more aggresively.
2014-06-17 Wei Mi <wmi@google.com>
* gcc/config/i386/i386.c (ix86_expand_prologue): Use fp as cfa_reg
when possible to reduce .eh_frame size.
(ix86_expand_epilogue): Relax the check to allow m->fs.fp_valid
in certain case when frame_pointer_partially_needed is true.
* gcc/function.c (bb_fpset_local_init): Set any_fp_def.
(evaluate_promote_fpset_to_bb): Use promote_fraction to control
promotion aggressiveness.
* gcc/function.h (struct rtl_data): Add any_fp_def.
* gcc/params.def (PARAM_FPSET_PROMOTE_FRACTION):
Change lower bound value to 0.
Modified:
branches/google/gcc-4_8/gcc/config/i386/i386.c
branches/google/gcc-4_8/gcc/function.c
branches/google/gcc-4_8/gcc/function.h
branches/google/gcc-4_8/gcc/params.def