diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02c0bddd253..717d17eebb9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 0cb46cd05bf..71c20d5942b 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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; diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6bfe7dfe6f6..30271da384b 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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