Commit 86001391 by Jerry Quinn Committed by Jeff Law

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
parent 0a76126b
Sun Mar 28 16:09:01 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
* 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) Sun Mar 28 15:27:26 1999 Jeffrey A Law (law@cygnus.com)
* reload1.c (reload): Remove accidental code duplication. * reload1.c (reload): Remove accidental code duplication.
......
...@@ -3315,6 +3315,10 @@ pa_adjust_cost (insn, link, dep_insn, cost) ...@@ -3315,6 +3315,10 @@ pa_adjust_cost (insn, link, dep_insn, cost)
{ {
enum attr_type attr_type; enum attr_type attr_type;
/* Don't adjust costs for a pa8000 chip. */
if (pa_cpu >= PROCESSOR_8000)
return cost;
if (! recog_memoized (insn)) if (! recog_memoized (insn))
return 0; return 0;
...@@ -6030,7 +6034,9 @@ pa_reorg (insns) ...@@ -6030,7 +6034,9 @@ pa_reorg (insns)
remove_useless_addtr_insns (insns, 1); 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. */ /* This is fairly cheap, so always run it if optimizing. */
if (optimize > 0 && !TARGET_BIG_SWITCH) if (optimize > 0 && !TARGET_BIG_SWITCH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment