(pa_adjust_cost): Use pa_cpu, not pa_cpu_attr.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 22 Oct 1995 11:45:51 +0000 (07:45 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 22 Oct 1995 11:45:51 +0000 (07:45 -0400)
From-SVN: r10505

gcc/config/pa/pa.c

index dfef30fcc3fc7343c5f064bdcf347b530c9a20f1..3bd15e1e4f6a8259b70d6b4a8a77c22f09c8b286 100644 (file)
@@ -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;