diff options
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r-- | gcc/config/pa/pa.c | 8 |
1 files changed, 7 insertions, 1 deletions
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) |