arm.c (arm_override_options): Use arm_tune_xscale for XScale optimizations not arm_ar...
authorNicolas Pitre <nico@cam.org>
Sun, 19 Oct 2003 01:01:46 +0000 (01:01 +0000)
committerNicolas Pitre <nico@gcc.gnu.org>
Sun, 19 Oct 2003 01:01:46 +0000 (01:01 +0000)
* 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

gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h

index 7810f95d336a7132127692c318cf0ffd2f6d22db..e116fdebe92bda81bb6014921e3fa0f3ba462c7b 100644 (file)
@@ -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.
index 70ea4cda89a8adaab09fb13a0f3b184f9cc64799..dbdde4ad30a279f97071a889d51640fa6f89613b 100644 (file)
@@ -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
index bfdfb3b8e20912148a320b265c032e47177cf866..7f64d872de3dc95e59067a83278d69ad42bdcf84 100644 (file)
@@ -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.  */