aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1993-03-02 19:21:13 +0000
committerTorbjorn Granlund <tege@gnu.org>1993-03-02 19:21:13 +0000
commit1150aa7087ef10eaceb12009c4177c4056997e8b (patch)
treea436cb1579830c44f36f23e370114ddf7b350c85 /gcc
parent66c432a7eed45367b05c3982ded2bbd15dcaf0d5 (diff)
downloadgcc-1150aa7087ef10eaceb12009c4177c4056997e8b.zip
gcc-1150aa7087ef10eaceb12009c4177c4056997e8b.tar.gz
gcc-1150aa7087ef10eaceb12009c4177c4056997e8b.tar.bz2
(ADJUST_COST): Add new definition.
From-SVN: r3596
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 6a9e504..8431f3a 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -1404,6 +1404,11 @@ while (0)
case PLUS: /* this includes shNadd insns */ \
return COSTS_N_INSNS (1) + 2;
+/* Adjust the cost of dependencies. */
+
+#define ADJUST_COST(INSN,LINK,DEP,COST) \
+ (COST) = pa_adjust_cost (INSN, LINK, DEP, COST)
+
/* Conditional branches with empty delay slots have a length of two. */
#define ADJUST_INSN_LENGTH(INSN, LENGTH) \
if (GET_CODE (INSN) == CALL_INSN \