From 8d53b873fdcebaf0981b10073aea4734a49a78e6 Mon Sep 17 00:00:00 2001 From: jamborm Date: Fri, 29 May 2009 16:47:31 +0000 Subject: 2009-05-29 Martin Jambor * tree-sra.c: New implementation of SRA. * params.def (PARAM_SRA_MAX_STRUCTURE_SIZE): Removed. (PARAM_SRA_MAX_STRUCTURE_COUNT): Removed. (PARAM_SRA_FIELD_STRUCTURE_RATIO): Removed. * params.h (SRA_MAX_STRUCTURE_SIZE): Removed. (SRA_MAX_STRUCTURE_COUNT): Removed. (SRA_FIELD_STRUCTURE_RATIO): Removed. * doc/invoke.texi (sra-max-structure-size): Removed. (sra-field-structure-ratio): Removed. * testsuite/gfortran.dg/pr25923.f90: XFAIL warning expectation. * testsuite/gcc.dg/tree-ssa/ssa-fre-7.c: Compile with -fno-tree-sra. * testsuite/gcc.dg/tree-ssa/ssa-fre-8.c: Likewise. * testsuite/gcc.dg/tree-ssa/ssa-fre-9.c: Likewise. * testsuite/gcc.dg/memcpy-1.c: Removed param sra-max-structure-size. * testsuite/gcc.dg/tree-ssa/sra-2.c: Likewise. * testsuite/gcc.dg/tree-ssa/sra-3.c: Likewise. * testsuite/gcc.dg/tree-ssa/sra-1.c: Likewise. * testsuite/gcc.dg/tree-ssa/sra-4.c: Changed comment. * testsuite/gcc.dg/tree-ssa/sra-5.c: New file. * testsuite/gcc.dg/tree-ssa/sra-6.c: New file. * testsuite/gcc.c-torture/compile/sra-1.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147980 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/params.def | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'gcc/params.def') diff --git a/gcc/params.def b/gcc/params.def index ccbc305a627..370d0948da9 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -38,36 +38,6 @@ along with GCC; see the file COPYING3. If not see Be sure to add an entry to invoke.texi summarizing the parameter. */ -/* The maximum structure size at which the scalar replacement of - aggregates (SRA) pass will perform block copies. The default - value, 0, implies that GCC will select the most appropriate size - itself. */ -DEFPARAM (PARAM_SRA_MAX_STRUCTURE_SIZE, - "sra-max-structure-size", - "The maximum structure size (in bytes) for which GCC will " - "use by-element copies", - 0, 0, 0) - -/* The maximum number of structure fields which the SRA pass will - instantiate to avoid block copies. The default value, 0, implies - that GCC will select the appropriate value itself. */ -DEFPARAM (PARAM_SRA_MAX_STRUCTURE_COUNT, - "sra-max-structure-count", - "The maximum number of structure fields for which GCC will " - "use by-element copies", - 0, 0, 0) - -/* The ratio between instantiated fields and the complete structure - size. We say that if the ratio of the number of bytes in - instantiated fields to the number of bytes in the complete - structure exceeds this parameter, or if the number of instantiated - fields to the total number of fields exceeds this parameter, then - block copies are not used. The default is 75%. */ -DEFPARAM (PARAM_SRA_FIELD_STRUCTURE_RATIO, - "sra-field-structure-ratio", - "The threshold ratio between instantiated fields and the total structure size", - 75, 0, 100) - /* The threshold ratio between current and hottest structure counts. We say that if the ratio of the current structure count, calculated by profiling, to the hottest structure count -- cgit v1.2.1