* pa.c (override_options): Default to PA8000 scheduling.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2002 16:47:43 +0000 (16:47 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2002 16:47:43 +0000 (16:47 +0000)
        * doc/invoke.texi (HP-PA options): Mention newly added 7300
        scheduling parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52950 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa.c
gcc/doc/invoke.texi

index 02c0bdd..717d17e 100644 (file)
@@ -1,5 +1,9 @@
 Tue Apr 30 09:31:59 2002  Jeffrey A Law  (law@cygnus.com)
 
+       * pa.c (override_options): Default to PA8000 scheduling.
+       * doc/invoke.texi (HP-PA options): Mention newly added 7300
+       scheduling parameter.
+
        * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
        handling of double precision multiplies.
 
index 0cb46cd..71c20d5 100644 (file)
@@ -161,7 +161,7 @@ struct gcc_target targetm = TARGET_INITIALIZER;
 void
 override_options ()
 {
-  /* Default to 7100LC scheduling.  */
+  /* Default to 8000 scheduling.  */
   if (pa_cpu_string && ! strcmp (pa_cpu_string, "7100"))
     {
       pa_cpu_string = "7100";
@@ -172,8 +172,7 @@ override_options ()
       pa_cpu_string = "700";
       pa_cpu = PROCESSOR_700;
     }
-  else if (pa_cpu_string == NULL
-         || ! strcmp (pa_cpu_string, "7100LC"))
+  else if (pa_cpu_string && ! strcmp (pa_cpu_string, "7100LC"))
     {
       pa_cpu_string = "7100LC";
       pa_cpu = PROCESSOR_7100LC;
@@ -188,7 +187,8 @@ override_options ()
       pa_cpu_string = "7300";
       pa_cpu = PROCESSOR_7300;
     }
-  else if (pa_cpu_string && ! strcmp (pa_cpu_string, "8000"))
+  else if (pa_cpu_string == NULL
+          || ! strcmp (pa_cpu_string, "8000"))
     {
       pa_cpu_string = "8000";
       pa_cpu = PROCESSOR_8000;
index 6bfe7df..30271da 100644 (file)
@@ -7649,9 +7649,10 @@ Enable the use of assembler directives only GAS understands.
 @opindex mschedule
 Schedule code according to the constraints for the machine type
 @var{cpu-type}.  The choices for @var{cpu-type} are @samp{700}
-@samp{7100}, @samp{7100LC}, @samp{7200}, and @samp{8000}.  Refer to
-@file{/usr/lib/sched.models} on an HP-UX system to determine the
-proper scheduling option for your machine.
+@samp{7100}, @samp{7100LC}, @samp{7200}, @samp{7300} and @samp{8000}.  Refer
+to @file{/usr/lib/sched.models} on an HP-UX system to determine the
+proper scheduling option for your machine.  The default scheduling is
+@samp{8000}.
 
 @item -mlinker-opt
 @opindex mlinker-opt