pa.c (override_options): Default to PA8000 scheduling.

* pa.c (override_options): Default to PA8000 scheduling.
        * doc/invoke.texi (HP-PA options): Mention newly added 7300
        scheduling parameter.

From-SVN: r52950
This commit is contained in:
Jeffrey A Law 2002-04-30 16:47:43 +00:00 committed by Jeff Law
parent e6e81f1c95
commit 30482eb0de
3 changed files with 12 additions and 7 deletions

View File

@ -1,5 +1,9 @@
Tue Apr 30 09:31:59 2002 Jeffrey A Law (law@cygnus.com) 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 * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
handling of double precision multiplies. handling of double precision multiplies.

View File

@ -161,7 +161,7 @@ struct gcc_target targetm = TARGET_INITIALIZER;
void void
override_options () override_options ()
{ {
/* Default to 7100LC scheduling. */ /* Default to 8000 scheduling. */
if (pa_cpu_string && ! strcmp (pa_cpu_string, "7100")) if (pa_cpu_string && ! strcmp (pa_cpu_string, "7100"))
{ {
pa_cpu_string = "7100"; pa_cpu_string = "7100";
@ -172,8 +172,7 @@ override_options ()
pa_cpu_string = "700"; pa_cpu_string = "700";
pa_cpu = PROCESSOR_700; pa_cpu = PROCESSOR_700;
} }
else if (pa_cpu_string == NULL else if (pa_cpu_string && ! strcmp (pa_cpu_string, "7100LC"))
|| ! strcmp (pa_cpu_string, "7100LC"))
{ {
pa_cpu_string = "7100LC"; pa_cpu_string = "7100LC";
pa_cpu = PROCESSOR_7100LC; pa_cpu = PROCESSOR_7100LC;
@ -188,7 +187,8 @@ override_options ()
pa_cpu_string = "7300"; pa_cpu_string = "7300";
pa_cpu = PROCESSOR_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_string = "8000";
pa_cpu = PROCESSOR_8000; pa_cpu = PROCESSOR_8000;

View File

@ -7649,9 +7649,10 @@ Enable the use of assembler directives only GAS understands.
@opindex mschedule @opindex mschedule
Schedule code according to the constraints for the machine type Schedule code according to the constraints for the machine type
@var{cpu-type}. The choices for @var{cpu-type} are @samp{700} @var{cpu-type}. The choices for @var{cpu-type} are @samp{700}
@samp{7100}, @samp{7100LC}, @samp{7200}, and @samp{8000}. Refer to @samp{7100}, @samp{7100LC}, @samp{7200}, @samp{7300} and @samp{8000}. Refer
@file{/usr/lib/sched.models} on an HP-UX system to determine the to @file{/usr/lib/sched.models} on an HP-UX system to determine the
proper scheduling option for your machine. proper scheduling option for your machine. The default scheduling is
@samp{8000}.
@item -mlinker-opt @item -mlinker-opt
@opindex mlinker-opt @opindex mlinker-opt