From 86001391bb89364ed2115c50b70dba40a1b9b7f2 Mon Sep 17 00:00:00 2001 From: Jerry Quinn Date: Sun, 28 Mar 1999 08:10:10 -0700 Subject: [PATCH] pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000. * pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000. (pa_reorg): Don't call pa_combine_instructions on pa8000. From-SVN: r26043 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.c | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 26679f2e10b..d8abc2370db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 28 16:09:01 1999 "Jerry Quinn" + + * pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000. + (pa_reorg): Don't call pa_combine_instructions on pa8000. + Sun Mar 28 15:27:26 1999 Jeffrey A Law (law@cygnus.com) * reload1.c (reload): Remove accidental code duplication. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 6eb4ea7b789..ed1e43ed6e5 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -3315,6 +3315,10 @@ pa_adjust_cost (insn, link, dep_insn, cost) { enum attr_type attr_type; + /* Don't adjust costs for a pa8000 chip. */ + if (pa_cpu >= PROCESSOR_8000) + return cost; + if (! recog_memoized (insn)) return 0; @@ -6030,7 +6034,9 @@ pa_reorg (insns) remove_useless_addtr_insns (insns, 1); - pa_combine_instructions (get_insns ()); + if (pa_cpu < PROCESSOR_8000) + pa_combine_instructions (get_insns ()); + /* This is fairly cheap, so always run it if optimizing. */ if (optimize > 0 && !TARGET_BIG_SWITCH)