This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Increase MAX_ALIASED_VOPS for fortran

Richard Guenther wrote on 12/14/06 10:30:
To get back pre-mem-ssa merge performance on Polyhedron.

Diego, would you mind doing the testing and committing?

I moved the setting of MAX_ALIASED_VOPS from gfc_post_options to
gfc_init_options, so that it can still be overridden by --params

Bootstrapped and tested x86 and x86_64. Committed.

2006-12-14 Richard Guenther <> Diego Novillo <>

	* (fortran/options.o): Add $(PARAMS_H) dependency.
	* options.c (params.h): Include.
	(gfc_post_options): Set MAX_ALIASED_VOPS to 50.

Index: fortran/
--- fortran/	(revision 119857)
+++ fortran/	(working copy)
@@ -299,4 +299,4 @@ fortran/trans-intrinsic.o: $(GFORTRAN_TR
fortran/dependency.o: $(GFORTRAN_TRANS_DEPS) fortran/dependency.h
fortran/trans-common.o: $(GFORTRAN_TRANS_DEPS) $(TARGET_H) $(RTL_H)
fortran/resolve.o: fortran/dependency.h
-fortran/options.o: $(TARGET_H)
+fortran/options.o: $(PARAMS_H) $(TARGET_H)
Index: fortran/options.c
--- fortran/options.c	(revision 119857)
+++ fortran/options.c	(working copy)
@@ -29,6 +29,7 @@ Software Foundation, 51 Franklin Street,
#include "intl.h"
#include "opts.h"
#include "options.h"
+#include "params.h"
#include "tree-inline.h"

#include "gfortran.h"
@@ -107,6 +108,10 @@ gfc_init_options (unsigned int argc ATTR
  /* -fshort-enums can be default on some targets.  */
  gfc_option.fshort_enums = targetm.default_short_enums ();

+  /* Increase MAX_ALIASED_VOPS to account for different characteristics
+     of fortran regarding VOPs.  */
  return CL_Fortran;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]