aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2002-04-30 16:47:43 +0000
committerJeff Law <law@gcc.gnu.org>2002-04-30 10:47:43 -0600
commit30482eb0deaebc6d4241460e0626945816337f50 (patch)
treef85b4dfd7c82b883c4edbb346a96a7633060264e /gcc
parente6e81f1c95ed341bfb04f69fee3fc0a6aa1208e5 (diff)
downloadgcc-30482eb0deaebc6d4241460e0626945816337f50.zip
gcc-30482eb0deaebc6d4241460e0626945816337f50.tar.gz
gcc-30482eb0deaebc6d4241460e0626945816337f50.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/pa/pa.c8
-rw-r--r--gcc/doc/invoke.texi7
3 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 02c0bdd..717d17e 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 0cb46cd..71c20d5 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 6bfe7df..30271da 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