aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-09-05 08:30:39 +0000
committerAndreas Jaeger <aj@suse.de>2001-09-05 08:30:39 +0000
commit3e929f943b7a15c1af780075978262c418293a2b (patch)
treec446a5fa05a9058d5c1d17eb778e9577703f35ed
parent49fc6118bf8eb08073f328bfe33721dbbc1e70c6 (diff)
* doc/invoke.texi (i386 Options): -mwide-multiply is not
available anymore, remove the documentation. (i386 Options): Fix typo, cleanup index entries. * prefix.c (concat): Remove, we can use the version from liberty. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@45400 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/doc/invoke.texi16
-rw-r--r--gcc/prefix.c58
3 files changed, 14 insertions, 72 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 742e21efa99..a87f0efcd8e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2001-09-05 Andreas Jaeger <aj@suse.de>
+
+ * doc/invoke.texi (i386 Options): -mwide-multiply is not
+ available anymore, remove the documentation.
+ (i386 Options): Fix typo, cleanup index entries.
+
+ * prefix.c (concat): Remove, we can use the version from liberty.
+
2001-09-05 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
@@ -72,7 +80,7 @@ Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
* config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
references. Replace TYPE_{UNARY,BINARY,MOVE} references with
TYPE_IALU.
-
+
Simplify length insn attribute and make more judicious use
of insn attribute defaulting.
* config/sparc/sparc.md (all insns with length > one): Mark as
@@ -85,7 +93,7 @@ Tue Sep 4 11:16:35 2001 Jeffrey A Law (law@cygnus.com)
(addx): Set insn type to misc.
(mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
const_umulsidi3_sp64): Set insn type to imul.
-
+
Track SFmode vs DFmode insns according to UltraSPARC
scheduling rules.
* config/sparc/sparc.md ("fptype"): New attribute, default
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b2967728671..7991e8b42d6 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -7494,8 +7494,6 @@ produce code that runs somewhat faster on a @samp{Pentium} at the
expense of more memory.
@item -m128bit-long-double
-@itemx -m128bit-long-double
-@opindex m128bit-long-double
@opindex m128bit-long-double
Control the size of @code{long double} type. i386 application binary interface
specify the size to be 12 bytes, while modern architectures (Pentium and newer)
@@ -7508,8 +7506,6 @@ well as function calling convention for function taking @code{long double}
will be modified.
@item -m96bit-long-double
-@itemx -m96bit-long-double
-@opindex m96bit-long-double
@opindex m96bit-long-double
Set the size of @code{long double} to 96 bits as required by the i386
application binary interface. This is the default.
@@ -7522,14 +7518,6 @@ Control whether GCC places uninitialized local variables into the
@code{bss} or @code{data} segments. @option{-msvr3-shlib} places them
into @code{bss}. These options are meaningful only on System V Release 3.
-@item -mno-wide-multiply
-@itemx -mwide-multiply
-@opindex mno-wide-multiply
-@opindex mwide-multiply
-Control whether GCC uses the @code{mul} and @code{imul} that produce
-64-bit results in @code{eax:edx} from 32-bit operands to do @code{long
-long} multiplies and 32-bit division by constants.
-
@item -mrtd
@opindex mrtd
Use a different function-calling convention, in which functions that
@@ -7596,7 +7584,9 @@ may want to reduce the preferred alignment to
@option{-mpreferred-stack-boundary=2}.
@item -mpush-args
+@itemx -mno-push-args
@opindex mpush-args
+@opindex mno-push-args
Use PUSH operations to store outgoing parameters. This method is shorter
and usually equally fast as method using SUB/MOV operations and is enabled
by default. In some cases disabling it may improve performance because of
@@ -7605,7 +7595,7 @@ improved scheduling and reduced dependencies.
@item -maccumulate-outgoing-args
@opindex maccumulate-outgoing-args
If enabled, the maximum amount of space required for outgoing arguments will be
-computed in the function prologue. This in faster on most modern CPUs
+computed in the function prologue. This is faster on most modern CPUs
because of reduced dependencies, improved scheduling and reduced stack usage
when preferred stack boundary is not equal to 2. The drawback is a notable
increase in code size. This switch implies @option{-mno-push-args}.
diff --git a/gcc/prefix.c b/gcc/prefix.c
index 526754819f4..ddf50985c84 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -1,5 +1,5 @@
/* Utility to update paths from internal to external forms.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GCC.
@@ -108,62 +108,6 @@ get_key_value (key)
return prefix;
}
-/* Concatenate a sequence of strings, returning the result.
-
- This function is based on the one in libiberty. */
-
-char *
-concat VPARAMS ((const char *first, ...))
-{
- register int length;
- register char *newstr;
- register char *end;
- register const char *arg;
- va_list args;
-#ifndef ANSI_PROTOTYPES
- const char *first;
-#endif
-
- /* First compute the size of the result and get sufficient memory. */
-
- VA_START (args, first);
-#ifndef ANSI_PROTOTYPES
- first = va_arg (args, const char *);
-#endif
-
- arg = first;
- length = 0;
-
- while (arg != 0)
- {
- length += strlen (arg);
- arg = va_arg (args, const char *);
- }
-
- newstr = (char *) xmalloc (length + 1);
- va_end (args);
-
- /* Now copy the individual pieces to the result string. */
-
- VA_START (args, first);
-#ifndef ANSI_PROTOTYPES
- first = va_arg (args, char *);
-#endif
-
- end = newstr;
- arg = first;
- while (arg != 0)
- {
- while (*arg)
- *end++ = *arg++;
- arg = va_arg (args, const char *);
- }
- *end = '\000';
- va_end (args);
-
- return (newstr);
-}
-
/* Return a copy of a string that has been placed in the heap. */
static char *