From: Richard Kenner Date: Sun, 22 Oct 1995 11:45:51 +0000 (-0400) Subject: (pa_adjust_cost): Use pa_cpu, not pa_cpu_attr. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae8b3cd83008e85b01a8300d0c37fec2eb47a188;p=gcc.git (pa_adjust_cost): Use pa_cpu, not pa_cpu_attr. From-SVN: r10505 --- diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index dfef30fcc3f..3bd15e1e4f6 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -2621,7 +2621,7 @@ pa_adjust_cost (insn, link, dep_insn, cost) case TYPE_FPLOAD: /* This cost 3 cycles, not 2 as the md says for the 700 and 7100. Note scaling of cost for 7100. */ - return cost + (pa_cpu_attr == PROCESSOR_700) ? 1 : 2; + return cost + (pa_cpu == PROCESSOR_700) ? 1 : 2; case TYPE_FPALU: case TYPE_FPMULSGL: @@ -2632,7 +2632,7 @@ pa_adjust_cost (insn, link, dep_insn, cost) case TYPE_FPSQRTDBL: /* In these important cases, we save one cycle compared to when flop instruction feed each other. */ - return cost - (pa_cpu_attr == PROCESSOR_700) ? 1 : 2; + return cost - (pa_cpu == PROCESSOR_700) ? 1 : 2; default: return cost; @@ -2680,7 +2680,7 @@ pa_adjust_cost (insn, link, dep_insn, cost) preceding arithmetic operation has finished if the target of the fpload is any of the sources (or destination) of the arithmetic operation. */ - return cost - (pa_cpu_attr == PROCESSOR_700) ? 1 : 2; + return cost - (pa_cpu == PROCESSOR_700) ? 1 : 2; default: return 0; @@ -2715,7 +2715,7 @@ pa_adjust_cost (insn, link, dep_insn, cost) preceding divide or sqrt operation has finished if the target of the ALU flop is any of the sources (or destination) of the divide or sqrt operation. */ - return cost - (pa_cpu_attr == PROCESSOR_700) ? 2 : 4; + return cost - (pa_cpu == PROCESSOR_700) ? 2 : 4; default: return 0; @@ -2761,7 +2761,7 @@ pa_adjust_cost (insn, link, dep_insn, cost) preceding arithmetic operation has finished if the target of the fpload is the destination of the arithmetic operation. */ - return cost - (pa_cpu_attr == PROCESSOR_700) ? 1 : 2; + return cost - (pa_cpu == PROCESSOR_700) ? 1 : 2; default: return 0; @@ -2796,7 +2796,7 @@ pa_adjust_cost (insn, link, dep_insn, cost) preceding divide or sqrt operation has finished if the target of the ALU flop is also the target of of the divide or sqrt operation. */ - return cost - (pa_cpu_attr == PROCESSOR_700) ? 2 : 4; + return cost - (pa_cpu == PROCESSOR_700) ? 2 : 4; default: return 0;