This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: documentation blur
- To: Jean-Pierre Radley <jpr at jpr dot com>
- Subject: Re: documentation blur
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Tue, 27 Feb 2001 22:22:53 +0000
- Cc: GCC Developers <gcc at gcc dot gnu dot org>
- References: <20010227165842.E5910@jpradley.jpr.com>
Jean-Pierre Radley wrote:-
> While picking a specific cpu type will schedule things
> appropriately for that particular chip, the compiler will
> not generate any code that does not run on the i386 without
> the -march=cpu type option being used. i586 is equivalent to
> pentium and i686 is equivalent to pentiumpro. k6 is the AMD
> chip as opposed to the Intel ones.
>
> The sentence starting "While picking..." contains "not", once again
> "not", and then "without". I don't find it all easy to understand.
> In fact, I'm not sure I can properly parse it at all.
It's not too bad at all; I assume your native language is French?
Anyway, what it's trying to say is that -mcpu configures instruction
scheduling but still generates i386 code. To get code with instructions
that run only on higher processors such as the Pentium, you need to use
-march.
Neil.