* pa.h (BRANCH_COST): Define.
authorJeffrey A Law <law@cygnus.com>
Wed, 22 Sep 1999 20:37:28 +0000 (20:37 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 22 Sep 1999 20:37:28 +0000 (14:37 -0600)
From-SVN: r29601

gcc/ChangeLog
gcc/config/pa/pa.h

index 0d60239..45ee406 100644 (file)
@@ -37,6 +37,8 @@ Wed Sep 22 06:25:15 1999  Jim Kingdon  <http://developer.redhat.com>
 
 Wed Sep 22 06:06:57 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * pa.h (BRANCH_COST): Define.
+
        * pa.md (return, return_internal): Use bve for PA2.0.
 
        * pa.md (fused multiply): Add variants which reduce height for the
index ffbccea..938b085 100644 (file)
@@ -1807,6 +1807,9 @@ while (0)
   case LSHIFTRT:                                                       \
     return COSTS_N_INSNS (1);
 
+/* Adjust the cost of branches.  */
+#define BRANCH_COST (pa_cpu == PROCESSOR_8000 ? 2 : 1)
+
 /* Adjust the cost of dependencies.  */
 
 #define ADJUST_COST(INSN,LINK,DEP,COST) \