This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: where did -minline-all-stringops go?
- From: "Rupert Wood" <me at rupey dot net>
- To: "'Jim Marshall'" <jim dot marshall at wbemsolutions dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 8 Jun 2007 17:06:16 +0100
- Subject: RE: where did -minline-all-stringops go?
- References: <f4boct$pa1$1@sea.gmane.org>
Jim Marshall wrote:
> We compile our code on Linux using 3.2.2 on red hat 9. That version
> of the compiler has the option "-minline-all-stringops".
:
> I'm just curious about this particular flag and why it was removed.
It wasn't - it's an ix86/x86_64 switch and not supported on sparc. e.g. from the GCC 4.2 manual:
http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/i386-and-x86_002d64-Options.html
minline-all-stringops
By default GCC inlines string operations only when destination is
known to be aligned at least to 4 byte boundary. This enables more
inlining, increase code size, but may improve performance of code
that depends on fast memcpy, strlen and memset for short lengths.
In general '-m' switches are target-specific.
Rup.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________