This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r181671 - in /branches/google/main/gcc: ChangeL...
- From: tejohnson at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 23 Nov 2011 14:39:02 -0000
- Subject: r181671 - in /branches/google/main/gcc: ChangeL...
Author: tejohnson
Date: Wed Nov 23 14:39:01 2011
New Revision: 181671
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181671
Log:
* loop-unroll.c (loop_has_FP_comp): New function.
(limit_code_size): New function.
(unroll_and_peel_loops): Check if unrolling and/or peeling
should be disabled due to large code size estimates.
* common.opt (fripa-peel-size-limit): New option.
(fripa-unroll-size-limit): New option.
* tree-optimize.c (compute_codesize_estimate): New function.
(execute_cleanup_cfg_post_optimizing): Invoke
compute_codesize_estimate at the end of tree optimization.
* params.def (codesize-hotness-threshold): New parameter.
(unrollpeel-codesize-threshold): New parameter.
* doc/invoke.texi: Document the new options and parameters.
Modified:
branches/google/main/gcc/ChangeLog.google-main
branches/google/main/gcc/common.opt
branches/google/main/gcc/doc/invoke.texi
branches/google/main/gcc/loop-unroll.c
branches/google/main/gcc/params.def
branches/google/main/gcc/tree-optimize.c