aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-09-22 20:37:28 +0000
committerJeff Law <law@gcc.gnu.org>1999-09-22 14:37:28 -0600
commit3e47bea8ab63b82ff000b258202959e97ce033c9 (patch)
tree9b2aac505b5c8849cee6c49690f47890f4021b7e
parentba02095155835218776905a1e7b55143cb13a349 (diff)
downloadgcc-3e47bea8ab63b82ff000b258202959e97ce033c9.zip
gcc-3e47bea8ab63b82ff000b258202959e97ce033c9.tar.gz
gcc-3e47bea8ab63b82ff000b258202959e97ce033c9.tar.bz2
* pa.h (BRANCH_COST): Define.
From-SVN: r29601
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/pa/pa.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0d60239..45ee4062 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index ffbccea..938b085 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -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) \