aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-10-22 07:45:51 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-10-22 07:45:51 -0400
commitae8b3cd83008e85b01a8300d0c37fec2eb47a188 (patch)
treec9b59fd3bab92998b5d132ea2299650edf51393b /gcc/config/pa/pa.c
parent4db7b4ce13e06dcf40320db2689003d9b6bf0b91 (diff)
downloadgcc-ae8b3cd83008e85b01a8300d0c37fec2eb47a188.zip
gcc-ae8b3cd83008e85b01a8300d0c37fec2eb47a188.tar.gz
gcc-ae8b3cd83008e85b01a8300d0c37fec2eb47a188.tar.bz2
(pa_adjust_cost): Use pa_cpu, not pa_cpu_attr.
From-SVN: r10505
Diffstat (limited to 'gcc/config/pa/pa.c')
-rw-r--r--gcc/config/pa/pa.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index dfef30f..3bd15e1 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;