diff options
author | Nicolas Pitre <nico@cam.org> | 2003-10-19 01:01:46 +0000 |
---|---|---|
committer | Nicolas Pitre <nico@gcc.gnu.org> | 2003-10-19 01:01:46 +0000 |
commit | 591af2189d5e35009e51d3835f4c513928231da6 (patch) | |
tree | 58079e4bcdc8c43d2fad3868a2cf3c00ab23017f /gcc | |
parent | 72f1978f428c323029748a5bdd88be0d4655d41d (diff) | |
download | gcc-591af2189d5e35009e51d3835f4c513928231da6.zip gcc-591af2189d5e35009e51d3835f4c513928231da6.tar.gz gcc-591af2189d5e35009e51d3835f4c513928231da6.tar.bz2 |
arm.c (arm_override_options): Use arm_tune_xscale for XScale optimizations not arm_arch_xscale.
* config/arm/arm.c (arm_override_options): Use arm_tune_xscale for
XScale optimizations not arm_arch_xscale.
* config/arm/arm.h (CONSTANT_ALIGNMENT_FACTOR, MOVE_RATIO): Likewise.
From-SVN: r72667
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7810f95..e116fde 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-10-18 Nicolas Pitre <nico@cam.org> + + * config/arm/arm.c (arm_override_options): Use arm_tune_xscale for + XScale optimizations not arm_arch_xscale. + * config/arm/arm.h (CONSTANT_ALIGNMENT_FACTOR, MOVE_RATIO): Likewise. + 2003-10-18 Ulrich Weigand <uweigand@de.ibm.com> * config/s390/s390-protos.h (shift_count_operand): Add prototype. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 70ea4cd..dbdde4a 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -837,7 +837,7 @@ arm_override_options (void) if (optimize_size || (tune_flags & FL_LDSCHED)) arm_constant_limit = 1; - if (arm_arch_xscale) + if (arm_tune_xscale) arm_constant_limit = 2; /* If optimizing for size, bump the number of instructions that we diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index bfdfb3b..7f64d87 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -799,7 +799,7 @@ extern int arm_is_6_or_7; (TYPE_NEEDS_IWMMXT_ALIGNMENT (TYPE) ? IWMMXT_ALIGNMENT : ALIGN) /* Make strings word-aligned so strcpy from constants will be faster. */ -#define CONSTANT_ALIGNMENT_FACTOR (TARGET_THUMB || ! arm_arch_xscale ? 1 : 2) +#define CONSTANT_ALIGNMENT_FACTOR (TARGET_THUMB || ! arm_tune_xscale ? 1 : 2) #define CONSTANT_ALIGNMENT(EXP, ALIGN) \ ((TARGET_REALLY_IWMMXT && TREE_CODE (EXP) == VECTOR_TYPE) ? IWMMXT_ALIGNMENT : \ @@ -2283,7 +2283,7 @@ do { \ #define MOVE_MAX 4 #undef MOVE_RATIO -#define MOVE_RATIO (arm_arch_xscale ? 4 : 2) +#define MOVE_RATIO (arm_tune_xscale ? 4 : 2) /* Define if operations between registers always perform the operation on the full register even if a narrower mode is specified. */ |